From c2421c3ac2018faf5d47205ee979acec181d9672 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 2 Jan 2022 18:04:00 +0000 Subject: Separate geographic data (GeoData) from its visual representation(s) (Terrain) --- game/gamestate.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/gamestate.h') diff --git a/game/gamestate.h b/game/gamestate.h index b8dfa61..536c420 100644 --- a/game/gamestate.h +++ b/game/gamestate.h @@ -2,9 +2,11 @@ #define GAMESTATE_H #include +#include #include class WorldObject; +class GeoData; class GameState { public: @@ -14,6 +16,7 @@ public: NO_COPY(GameState); Collection world; + std::shared_ptr geoData; }; extern GameState * gameState; -- cgit v1.2.3