Removed compile warnings

This commit is contained in:
Joel de Vahl 2008-10-02 14:44:35 +00:00
parent d5b1c93598
commit 9b0b0eb98d
4 changed files with 9 additions and 4 deletions

View file

@ -337,9 +337,9 @@ function build(settings)
masterserver_exe = Link(server_settings, "mastersrv", masterserver,
engine, zlib)
if platform == "macosx" then
osxlaunch_exe = Link(client_settings, "TeeLaunch", osxlaunch)
end
--if platform == "macosx" then
-- osxlaunch_exe = Link(client_settings, "TeeLaunch", osxlaunch)
--end
-- make targets
c = PseudoTarget("client".."_"..settings.config_name, client_exe)

View file

@ -10,7 +10,7 @@ class COMPONENT
protected:
GAMECLIENT *client;
public:
~COMPONENT() {}
virtual ~COMPONENT() {}
virtual void on_statechange(int new_state, int old_state) {};
virtual void on_console_init() {};

View file

@ -34,6 +34,10 @@ GAMECONTROLLER::GAMECONTROLLER()
num_spawn_points[2] = 0;
}
GAMECONTROLLER::~GAMECONTROLLER()
{
}
float GAMECONTROLLER::evaluate_spawn_pos(SPAWNEVAL *eval, vec2 pos)
{
float score = 0.0f;

View file

@ -54,6 +54,7 @@ public:
bool is_teamplay() const;
GAMECONTROLLER();
virtual ~GAMECONTROLLER();
void do_team_score_wincheck();
void do_player_score_wincheck();