diff options
author | Stijn Buys <ingar@osirion.org> | 2009-07-07 09:32:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-07-07 09:32:38 +0000 |
commit | fb1d166768e516a8493c16064640c98b1efa6707 (patch) | |
tree | e5d1827028fc6a5fa527c9293f6ae2fde42b3991 /src/core/gameinterface.h | |
parent | e66f56ea71f466cc2b261e04d7348e36baff71e1 (diff) |
Moved vertexarray from render to core
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 |