diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 13:53:27 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 13:53:27 +0000 |
commit | 749df22c85b83c86ec68ebc74829287e54498e26 (patch) | |
tree | 8e3635f80673c0b8d4505de3d363aa7742a2d430 /ui/editNetwork.h | |
parent | Expose network base width and surface (diff) | |
download | ilt-749df22c85b83c86ec68ebc74829287e54498e26.tar.bz2 ilt-749df22c85b83c86ec68ebc74829287e54498e26.tar.xz ilt-749df22c85b83c86ec68ebc74829287e54498e26.zip |
Set terrain heights when creating new network linksterrain-for-networks
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r-- | ui/editNetwork.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/editNetwork.h b/ui/editNetwork.h index ec06fa7..2ae467d 100644 --- a/ui/editNetwork.h +++ b/ui/editNetwork.h @@ -1,5 +1,6 @@ #pragma once +#include "game/geoData.h" #include "gameMainSelector.h" #include "modeHelper.h" #include "toolbar.h" @@ -30,6 +31,8 @@ public: virtual void click(Network *, const GeoData *, const SDL_MouseButtonEvent &, const Ray<GlobalPosition3D> &) = 0; virtual void move(Network *, const GeoData *, const SDL_MouseMotionEvent &, const Ray<GlobalPosition3D> &) = 0; + static void setHeightsFor(Network *, const Link::CCollection &, GeoData::SetHeightsOpts = {}); + using Ptr = std::unique_ptr<Builder>; protected: |