diff options
author | Stijn Buys <ingar@osirion.org> | 2008-12-26 12:21:48 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-12-26 12:21:48 +0000 |
commit | b875124824794a7762414db76ed9f953b8ba320f (patch) | |
tree | 86f27d64e4a9e91a93cb4b30752f27eeec6526ac /src/game/base/game.h | |
parent | bfa10f9990a8a045b03474d11af75984c12a856a (diff) |
default player settings in player.ini,
palette text colors,
cleanups
Diffstat (limited to 'src/game/base/game.h')
-rw-r--r-- | src/game/base/game.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/game/base/game.h b/src/game/base/game.h index caeb50a..9f31f4f 100644 --- a/src/game/base/game.h +++ b/src/game/base/game.h @@ -32,6 +32,17 @@ const unsigned int jumppoint_enttype = 260; const unsigned int jumpgate_enttype = 261; const unsigned int station_enttype = 262; +/// default player settings +class Default { +public: + static core::Zone *zone; + static core::Entity *view; + static ShipModel *shipmodel; + static long credits; + + static void clear(); +}; + /// the base Project::OSiRiON game model class Game : public core::Module { public: @@ -72,9 +83,8 @@ private: bool load_menus(core::Entity *entity, const std::string &menufilename); bool load_ships(); - - static core::Zone *default_zone; - static ShipModel *default_shipmodel; + + bool load_player(); /* ---- engine functions ----------------------------------- */ |