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