16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 16:59:19 +02:00
Files
maszyna/widgets/map_objects.h

23 lines
435 B
C++

#include "simulation.h"
#include "event.h"
#include "scene.h"
namespace map {
// semaphore description (only for minimap purposes)
struct semaphore {
std::string name;
glm::vec3 location;
std::vector<basic_event *> events;
};
// switch description (only for minimap purposes)
struct track_switch {
glm::vec3 location;
};
extern std::vector<semaphore> Semaphores;
extern std::vector<track_switch> Switches;
}