Files
maszyna/widgets/map_objects.h
2019-02-26 22:07:04 +01:00

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;
}