summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/network/rail.h1
-rw-r--r--game/terrain.h1
-rw-r--r--game/vehicles/train.h2
-rw-r--r--game/vehicles/vehicle.h1
-rw-r--r--game/worldobject.h4
5 files changed, 5 insertions, 4 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index bfbb928..47969d6 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -1,6 +1,7 @@
#ifndef RAILLINKS_H
#define RAILLINKS_H
+#include "chronology.hpp"
#include "game/worldobject.h"
#include "gfx/models/mesh.h"
#include "gfx/renderable.h"
diff --git a/game/terrain.h b/game/terrain.h
index 979a8e0..c32f092 100644
--- a/game/terrain.h
+++ b/game/terrain.h
@@ -1,6 +1,7 @@
#ifndef TERRAIN_H
#define TERRAIN_H
+#include "chronology.hpp"
#include "collection.hpp"
#include "game/worldobject.h"
#include <gfx/models/mesh.h>
diff --git a/game/vehicles/train.h b/game/vehicles/train.h
index e3dad73..ef49209 100644
--- a/game/vehicles/train.h
+++ b/game/vehicles/train.h
@@ -1,11 +1,11 @@
#ifndef TRAIN_H
#define TRAIN_H
+#include "chronology.hpp"
#include "game/activities/go.h" // IWYU pragma: keep
#include "game/activities/idle.h" // IWYU pragma: keep
#include "game/activity.h"
#include "game/network/link.h"
-#include "game/worldobject.h"
#include "railVehicle.h"
#include "vehicle.h"
#include <collection.hpp>
diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h
index 1fc8365..07bd492 100644
--- a/game/vehicles/vehicle.h
+++ b/game/vehicles/vehicle.h
@@ -1,6 +1,7 @@
#ifndef VEHICLE_H
#define VEHICLE_H
+#include "chronology.hpp"
#include "linkHistory.h"
#include <game/activity.h>
#include <game/network/link.h>
diff --git a/game/worldobject.h b/game/worldobject.h
index 0340ac4..ba77cd0 100644
--- a/game/worldobject.h
+++ b/game/worldobject.h
@@ -1,11 +1,9 @@
#ifndef WORLDOBJECT_H
#define WORLDOBJECT_H
-#include <chrono>
+#include "chronology.hpp"
#include <special_members.hpp>
-using TickDuration = std::chrono::duration<float, std::chrono::seconds::period>;
-
class WorldObject {
public:
WorldObject() = default;