gamecontext.h: Remove unused player.h include

See the upstream commit 24bda2faa0
This commit is contained in:
Alexander Akulich 2021-01-09 17:37:02 +03:00
parent 164cb9907a
commit f16937b361
20 changed files with 19 additions and 1 deletions

View file

@ -8,6 +8,7 @@
#include <game/version.h> #include <game/version.h>
#include "entities/character.h" #include "entities/character.h"
#include "player.h"
bool CheckClientID(int ClientID); bool CheckClientID(int ClientID);

View file

@ -3,6 +3,7 @@
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include <game/server/entities/character.h> #include <game/server/entities/character.h>
#include <game/server/gamemodes/DDRace.h> #include <game/server/gamemodes/DDRace.h>
#include <game/server/player.h>
#include <game/server/save.h> #include <game/server/save.h>
#include <game/server/teams.h> #include <game/server/teams.h>
#include <game/version.h> #include <game/version.h>

View file

@ -4,6 +4,7 @@
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include <game/mapitems.h> #include <game/mapitems.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/player.h>
#include <new> #include <new>
#include "character.h" #include "character.h"

View file

@ -3,6 +3,7 @@
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/gamemodes/DDRace.h> #include <game/server/gamemodes/DDRace.h>
#include <game/server/player.h>
#include "character.h" #include "character.h"
#include "door.h" #include "door.h"

View file

@ -6,6 +6,7 @@
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/gamemodes/DDRace.h> #include <game/server/gamemodes/DDRace.h>
#include <game/server/player.h>
#include <game/server/teams.h> #include <game/server/teams.h>
#include "character.h" #include "character.h"

View file

@ -3,6 +3,7 @@
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/player.h>
#include <game/server/teams.h> #include <game/server/teams.h>
#include "character.h" #include "character.h"

View file

@ -5,6 +5,7 @@
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/mapitems.h> #include <game/mapitems.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/player.h>
#include "character.h" #include "character.h"

View file

@ -3,6 +3,7 @@
#include "pickup.h" #include "pickup.h"
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/player.h>
#include <game/server/teams.h> #include <game/server/teams.h>

View file

@ -5,6 +5,7 @@
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/gamemodes/DDRace.h> #include <game/server/gamemodes/DDRace.h>
#include <game/server/player.h>
#include <game/server/teams.h> #include <game/server/teams.h>
#include "character.h" #include "character.h"

View file

@ -4,6 +4,7 @@
#include <game/generated/protocol.h> #include <game/generated/protocol.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/gamemodes/DDRace.h> #include <game/server/gamemodes/DDRace.h>
#include <game/server/player.h>
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include <game/server/teams.h> #include <game/server/teams.h>

View file

@ -3,6 +3,7 @@
#include "entity.h" #include "entity.h"
#include "gamecontext.h" #include "gamecontext.h"
#include "player.h"
////////////////////////////////////////////////// //////////////////////////////////////////////////
// Entity // Entity

View file

@ -2,6 +2,7 @@
/* If you are missing that file, acquire a complete release at teeworlds.com. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */
#include "eventhandler.h" #include "eventhandler.h"
#include "gamecontext.h" #include "gamecontext.h"
#include "player.h"
////////////////////////////////////////////////// //////////////////////////////////////////////////
// Event handler // Event handler

View file

@ -25,6 +25,7 @@
#include "entities/character.h" #include "entities/character.h"
#include "gamemodes/DDRace.h" #include "gamemodes/DDRace.h"
#include "player.h"
#include "score.h" #include "score.h"
enum enum

View file

@ -18,7 +18,6 @@
#include "eventhandler.h" #include "eventhandler.h"
#include "gamecontroller.h" #include "gamecontroller.h"
#include "gameworld.h" #include "gameworld.h"
#include "player.h"
#include "teehistorian.h" #include "teehistorian.h"
#include <memory> #include <memory>

View file

@ -9,6 +9,7 @@
#include "entities/pickup.h" #include "entities/pickup.h"
#include "gamecontext.h" #include "gamecontext.h"
#include "gamecontroller.h" #include "gamecontroller.h"
#include "player.h"
#include "entities/door.h" #include "entities/door.h"
#include "entities/dragger.h" #include "entities/dragger.h"

View file

@ -5,6 +5,7 @@
#include "entities/character.h" #include "entities/character.h"
#include "entity.h" #include "entity.h"
#include "gamecontext.h" #include "gamecontext.h"
#include "player.h"
#include <algorithm> #include <algorithm>
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include <utility> #include <utility>

View file

@ -5,6 +5,7 @@
#include "entities/character.h" #include "entities/character.h"
#include "gamemodes/DDRace.h" #include "gamemodes/DDRace.h"
#include "player.h"
#include "teams.h" #include "teams.h"
#include <engine/shared/config.h> #include <engine/shared/config.h>

View file

@ -1,6 +1,7 @@
#include "score.h" #include "score.h"
#include "entities/character.h" #include "entities/character.h"
#include "gamemodes/DDRace.h" #include "gamemodes/DDRace.h"
#include "player.h"
#include "save.h" #include "save.h"
#include <base/system.h> #include <base/system.h>

View file

@ -5,6 +5,7 @@
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include "entities/character.h" #include "entities/character.h"
#include "player.h"
CGameTeams::CGameTeams(CGameContext *pGameContext) : CGameTeams::CGameTeams(CGameContext *pGameContext) :
m_pGameContext(pGameContext) m_pGameContext(pGameContext)

View file

@ -4,6 +4,7 @@
#include <engine/shared/config.h> #include <engine/shared/config.h>
#include <game/server/gamecontext.h> #include <game/server/gamecontext.h>
#include <game/server/score.h>
#include <game/teamscore.h> #include <game/teamscore.h>
#include <utility> #include <utility>