diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-02 18:04:00 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-01-02 18:04:00 +0000 |
commit | c2421c3ac2018faf5d47205ee979acec181d9672 (patch) | |
tree | 53651bfd3e5839c8334862f311466041da5f4d91 /game/gamestate.h | |
parent | Use Cache system to persist font rendering for Text (diff) | |
download | ilt-c2421c3ac2018faf5d47205ee979acec181d9672.tar.bz2 ilt-c2421c3ac2018faf5d47205ee979acec181d9672.tar.xz ilt-c2421c3ac2018faf5d47205ee979acec181d9672.zip |
Separate geographic data (GeoData) from its visual representation(s) (Terrain)
Diffstat (limited to 'game/gamestate.h')
-rw-r--r-- | game/gamestate.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <collection.hpp> +#include <memory> #include <special_members.hpp> class WorldObject; +class GeoData; class GameState { public: @@ -14,6 +16,7 @@ public: NO_COPY(GameState); Collection<WorldObject> world; + std::shared_ptr<GeoData> geoData; }; extern GameState * gameState; |