diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 13:29:15 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 13:29:15 +0000 |
commit | 8b388c4ee59961f4d307c7f9f87641beffb76a53 (patch) | |
tree | 208b2fc38be7b8853fb6b746322301d786eddfe1 /game/network/rail.h | |
parent | SetHeightOptions surface changed to defaulted pointer (diff) | |
download | ilt-8b388c4ee59961f4d307c7f9f87641beffb76a53.tar.bz2 ilt-8b388c4ee59961f4d307c7f9f87641beffb76a53.tar.xz ilt-8b388c4ee59961f4d307c7f9f87641beffb76a53.zip |
Expose network base width and surface
Diffstat (limited to 'game/network/rail.h')
-rw-r--r-- | game/network/rail.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/game/network/rail.h b/game/network/rail.h index 0aae718..fa64eda 100644 --- a/game/network/rail.h +++ b/game/network/rail.h @@ -77,6 +77,9 @@ public: std::shared_ptr<RailLink> addLinksBetween(GlobalPosition3D start, GlobalPosition3D end); void render(const SceneShader &) const override; + [[nodiscard]] const Surface * getBaseSurface() const override; + [[nodiscard]] RelativeDistance getBaseWidth() const override; + private: void tick(TickDuration elapsed) override; }; |