mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 17:29:18 +02:00
network-aware obstacles, other changes
This commit is contained in:
@@ -46,6 +46,7 @@ class obstacle_insert_window : public popup
|
||||
{
|
||||
glm::dvec3 m_position;
|
||||
std::vector<std::pair<std::string, std::string>> m_obstacles;
|
||||
command_relay m_relay;
|
||||
|
||||
public:
|
||||
obstacle_insert_window(ui_panel &panel, glm::dvec3 const &pos);
|
||||
@@ -56,6 +57,7 @@ class obstacle_insert_window : public popup
|
||||
class obstacle_remove_window : public popup
|
||||
{
|
||||
std::shared_ptr<map::obstacle> m_obstacle;
|
||||
command_relay m_relay;
|
||||
|
||||
public:
|
||||
obstacle_remove_window(ui_panel &panel, std::shared_ptr<map::obstacle> &&obstacle);
|
||||
|
||||
Reference in New Issue
Block a user