diff options
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r-- | src/core/gameinterface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h index 8dc401b..7d3e086 100644 --- a/src/core/gameinterface.h +++ b/src/core/gameinterface.h @@ -9,6 +9,7 @@ #include "core/player.h" #include "core/info.h" +#include "model/vertexarray.h" namespace core { @@ -32,6 +33,8 @@ public: inline Player *localplayer() { return &game_localplayer; } inline Players & players() { return game_players; } + + inline model::VertexArray *vertexarray() { return game_vertexarray; } /// find the first player who's id or name matches the search string Player *find_player(const std::string &search); @@ -74,6 +77,8 @@ protected: /// all the players Players game_players; + + model::VertexArray *game_vertexarray; }; /// global local player instance |