diff options
Diffstat (limited to 'game/vehicles/railloco.h')
-rw-r--r-- | game/vehicles/railloco.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/game/vehicles/railloco.h b/game/vehicles/railloco.h index 0d0425a..df5f970 100644 --- a/game/vehicles/railloco.h +++ b/game/vehicles/railloco.h @@ -1,11 +1,14 @@ #include "game/network/link.h" #include "game/vehicles/vehicle.h" #include "game/worldobject.h" +#include "gfx/gl/transform.h" #include "gfx/models/mesh.h" +#include <array> #include <memory> -#include <string> #include <vector> +class Shader; + class Texture; class RailVehicle : public Vehicle { public: @@ -42,7 +45,7 @@ public: private: void move(TickDuration dur); - Transform getBogeyPosition(float linkDist, float dist) const; + [[nodiscard]] Transform getBogeyPosition(float linkDist, float dist) const; void updateRailVehiclePosition(RailVehicle *, float trailBy) const; void updateWagons() const; }; |