mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Removed compile warnings
This commit is contained in:
parent
d5b1c93598
commit
9b0b0eb98d
|
@ -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)
|
||||
|
|
|
@ -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() {};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -54,6 +54,7 @@ public:
|
|||
bool is_teamplay() const;
|
||||
|
||||
GAMECONTROLLER();
|
||||
virtual ~GAMECONTROLLER();
|
||||
|
||||
void do_team_score_wincheck();
|
||||
void do_player_score_wincheck();
|
||||
|
|
Loading…
Reference in a new issue