diff options
Diffstat (limited to 'src/game/game.h')
-rw-r--r-- | src/game/game.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/game.h b/src/game/game.h index bceb62d..abe0c0d 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -33,6 +33,9 @@ public: /// execute one game grame void frame(float seconds); + /// a player joins the game + void event_join(core::Player *player); + /// sectors in space std::vector<Sector*> sectors; @@ -47,6 +50,13 @@ private: std::string author; }; +// entity type constants +const unsigned int ship_enttype = 256; +const unsigned int star_enttype = 257; +const unsigned int cube_enttype = 258; +const unsigned int sphere_enttype = 259; +const unsigned int axis_enttype = 260; + } #endif // __INCLUDED_GAME_H__ |