summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-12-22 13:29:15 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-12-22 13:29:15 +0000
commit8b388c4ee59961f4d307c7f9f87641beffb76a53 (patch)
tree208b2fc38be7b8853fb6b746322301d786eddfe1 /game/network/rail.h
parentSetHeightOptions surface changed to defaulted pointer (diff)
downloadilt-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.h3
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;
};