17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 19:49:15 +01:00

Catenary editor: keep catenary parts out of node editing, pick and drag anchor poles

This commit is contained in:
2026-10-26 19:51:15 +01:00
parent 5f93c7c20d
commit d794b1e736
10 changed files with 142 additions and 7 deletions

View File

@@ -364,6 +364,8 @@ struct catenary_editor
void catenary_choose_page(int const Page);
void draw_catenary_overlay() const;
std::string catenary_intent_label(catenary_spot const &Spot) const;
// a part picked as a node: what it belongs to selected in the tool
bool catenary_pick_part(void const *Node);
// the hooks of editor_mode
bool catenary_intent(track_intent &Intent);
std::string catenary_mode_name() const;