diff options
Diffstat (limited to 'src/game/base/game.h')
-rw-r--r-- | src/game/base/game.h | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/src/game/base/game.h b/src/game/base/game.h index bd8d402..81d5339 100644 --- a/src/game/base/game.h +++ b/src/game/base/game.h @@ -11,39 +11,47 @@ #include <string> #include "base/ship.h" -#include "base/shipmodel.h" -#include "base/star.h" +#include "base/faction.h" + #include "core/module.h" +#include "core/range.h" #include "core/application.h" #include "core/gameinterface.h" + #include "filesystem/inifile.h" + #include "sys/sys.h" -/// the base game module -/** the base game module contains the game-specific code for Project::OSiRiON - */ +/** + * @brief the base game module + * the base game module contains the game-specific code for Project::OSiRiON + **/ namespace game { -// entity type constants -const unsigned int ship_enttype = 256; -const unsigned int star_enttype = 257; -const unsigned int planet_enttype = 258; -const unsigned int navpoint_enttype = 259; -const unsigned int jumppoint_enttype = 260; -const unsigned int jumpgate_enttype = 261; -const unsigned int station_enttype = 262; -const unsigned int cargopod_enttype = 263; -const unsigned int spacemine_enttype = 264; -const unsigned int race_enttype = 280; -const unsigned int patrol_enttype = 512; +// entity module type constants +const unsigned int star_enttype = 100; +const unsigned int planet_enttype = 101; + +const unsigned int platform_enttype = 200; +const unsigned int station_enttype = 201; + +const unsigned int navpoint_enttype = 302; +const unsigned int jumppoint_enttype = 303; +const unsigned int jumpgate_enttype = 304; +const unsigned int race_enttype = 305; + +const unsigned int patrol_enttype = 500; +const unsigned int ship_enttype = 501; + +const unsigned int cargopod_enttype = 600; +const unsigned int spacemine_enttype = 601; // ship engine delay times const float jump_timer_delay = 5.0f; const float jump_cooldown_delay = 2.0f; const float impulse_timer_delay = 3.0f; - /// default player settings class Default { |