mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
Add ECS world registry
This commit is contained in:
@@ -22,6 +22,7 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "PyInt.h"
|
#include "PyInt.h"
|
||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include "vao.h"
|
#include "vao.h"
|
||||||
|
#include <entt/entt.hpp>
|
||||||
|
|
||||||
void
|
void
|
||||||
global_settings::LoadIniFile(std::string asFileName) {
|
global_settings::LoadIniFile(std::string asFileName) {
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#include "light.h"
|
#include "light.h"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
#include "motiontelemetry.h"
|
#include "motiontelemetry.h"
|
||||||
|
#include "entt/entity/registry.hpp"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
#ifdef WITH_UART
|
#ifdef WITH_UART
|
||||||
@@ -32,6 +34,9 @@ struct global_settings {
|
|||||||
|
|
||||||
std::chrono::steady_clock::time_point startTimestamp;
|
std::chrono::steady_clock::time_point startTimestamp;
|
||||||
|
|
||||||
|
/// EnTT variables
|
||||||
|
entt::registry world;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Mapa z watkami w formacie <std::string nazwa, std::thread watek>
|
/// Mapa z watkami w formacie <std::string nazwa, std::thread watek>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user