From 03d5bc014c0e815c6aaeec16d81e225e08732ab0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 10 Nov 2008 18:02:13 +0000 Subject: adds jumpgate, station, ship dealer --- src/game/base/game.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/game/base/game.h') diff --git a/src/game/base/game.h b/src/game/base/game.h index bc9d1f7..d4f0743 100644 --- a/src/game/base/game.h +++ b/src/game/base/game.h @@ -36,7 +36,7 @@ const unsigned int station_enttype = 262; class Game : public core::Module { public: Game(); - ~Game(); + virtual ~Game(); /// run one time frame void frame(float seconds); @@ -66,10 +66,10 @@ public: protected: /// initialize the game - void init(); + virtual void init(); /// shutdown the game - void shutdown(); + virtual void shutdown(); private: @@ -79,6 +79,8 @@ private: bool validate_zone(core::Zone *zone); + bool load_menus(core::Entity *entity, const std::string &menufilename); + bool load_ships(); static core::Zone *default_zone; @@ -89,7 +91,6 @@ private: static void func_list_ship(std::string const &args); static void func_join(core::Player *player, std::string const &args); static void func_spectate(core::Player *player, std::string const &args); - static void func_buy(core::Player *player, std::string const &args); static void func_hail(core::Player *player, std::string const &args); static void func_jump(core::Player *player, std::string const &args); static void func_impulse(core::Player *player, std::string const &args); -- cgit v1.2.3