mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
25 lines
483 B
C++
25 lines
483 B
C++
#pragma once
|
|
|
|
#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<std::shared_ptr<semaphore>> Semaphores;
|
|
extern std::vector<std::shared_ptr<track_switch>> Switches;
|
|
}
|