16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 20:19:18 +02:00

Add ECS world registry

This commit is contained in:
2026-03-08 11:12:39 +01:00
parent b813dac79f
commit 5453182d28
2 changed files with 6 additions and 0 deletions

View File

@@ -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) {

View File

@@ -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>