Adjust the CGameControllerDDRace header file

- Reorder the methods as they're in the source file
- Move the member variables to the end (to later apply a special access-control)
- Mark Tick() override (we use C++11 and this is our own code)
This commit is contained in:
Alexander Akulich 2021-01-12 23:51:06 +03:00
parent cba66d96f2
commit 39938b6b2f

View file

@ -15,14 +15,15 @@ public:
CGameControllerDDRace(class CGameContext *pGameServer);
~CGameControllerDDRace();
void Tick() override;
void InitTeleporter();
CGameTeams m_Teams;
std::map<int, std::vector<vec2>> m_TeleOuts;
std::map<int, std::vector<vec2>> m_TeleCheckOuts;
void InitTeleporter();
virtual void Tick();
std::shared_ptr<CScoreInitResult> m_pInitResult;
};
#endif // GAME_SERVER_GAMEMODES_DDRACE_H