summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-13 23:47:30 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-13 23:47:30 +0000
commit1686a01b6ae7467e71eac247078248de4a3b3423 (patch)
tree53716ce767b1b775dc06f658a41a647bddbbeac1 /game
parentMove TickDuration to its own files (diff)
downloadilt-1686a01b6ae7467e71eac247078248de4a3b3423.tar.bz2
ilt-1686a01b6ae7467e71eac247078248de4a3b3423.tar.xz
ilt-1686a01b6ae7467e71eac247078248de4a3b3423.zip
Refactor to start splitting out UI components
Diffstat (limited to 'game')
-rw-r--r--game/network/rail.cpp1
-rw-r--r--game/vehicles/railVehicleClass.cpp1
-rw-r--r--game/vehicles/vehicle.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/game/network/rail.cpp b/game/network/rail.cpp
index d7f95a8..73ab3bf 100644
--- a/game/network/rail.cpp
+++ b/game/network/rail.cpp
@@ -2,6 +2,7 @@
#include "network.h"
#include <GL/glew.h>
#include <array>
+#include <cmath>
#include <collection.hpp>
#include <cstddef>
#include <game/network/link.h>
diff --git a/game/vehicles/railVehicleClass.cpp b/game/vehicles/railVehicleClass.cpp
index 8fd504f..689e1e6 100644
--- a/game/vehicles/railVehicleClass.cpp
+++ b/game/vehicles/railVehicleClass.cpp
@@ -6,6 +6,7 @@
#include <algorithm>
#include <array>
#include <cache.h>
+#include <cmath>
#include <cstddef>
#include <filesystem>
#include <glm/glm.hpp>
diff --git a/game/vehicles/vehicle.cpp b/game/vehicles/vehicle.cpp
index 8730d6d..53450f6 100644
--- a/game/vehicles/vehicle.cpp
+++ b/game/vehicles/vehicle.cpp
@@ -7,7 +7,7 @@
#include "game/vehicles/linkHistory.h"
#include <algorithm>
#include <array>
-#include <game/worldobject.h>
+#include <cmath>
#include <glm/glm.hpp>
#include <iterator>
#include <location.hpp>