mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Cleanup unused or not defined functions
This commit is contained in:
parent
686b2657ee
commit
bb5f0f8894
|
@ -533,7 +533,6 @@ public:
|
|||
virtual int WindowOpen() = 0;
|
||||
};
|
||||
|
||||
extern IEngineGraphics *CreateEngineGraphics();
|
||||
extern IEngineGraphics *CreateEngineGraphicsThreaded();
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3868,27 +3868,6 @@ const char *CGameContext::NetVersion() const { return GAME_NETVERSION; }
|
|||
|
||||
IGameServer *CreateGameServer() { return new CGameContext; }
|
||||
|
||||
bool CGameContext::PlayerCollision()
|
||||
{
|
||||
float Temp;
|
||||
m_Tuning.Get("player_collision", &Temp);
|
||||
return Temp != 0.0f;
|
||||
}
|
||||
|
||||
bool CGameContext::PlayerHooking()
|
||||
{
|
||||
float Temp;
|
||||
m_Tuning.Get("player_hooking", &Temp);
|
||||
return Temp != 0.0f;
|
||||
}
|
||||
|
||||
float CGameContext::PlayerJetpack()
|
||||
{
|
||||
float Temp;
|
||||
m_Tuning.Get("player_jetpack", &Temp);
|
||||
return Temp;
|
||||
}
|
||||
|
||||
void CGameContext::OnSetAuthed(int ClientID, int Level)
|
||||
{
|
||||
if(m_apPlayers[ClientID])
|
||||
|
|
|
@ -514,9 +514,6 @@ public:
|
|||
|
||||
void SendRecord(int ClientID);
|
||||
void OnSetAuthed(int ClientID, int Level) override;
|
||||
virtual bool PlayerCollision();
|
||||
virtual bool PlayerHooking();
|
||||
virtual float PlayerJetpack();
|
||||
|
||||
void ResetTuning();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue