player.h: Remove unused character.h include

See the upstream commit 24bda2faa0
This commit is contained in:
Alexander Akulich 2021-01-09 17:18:52 +03:00
parent 8ee8351b68
commit 164cb9907a
17 changed files with 24 additions and 1 deletions

View file

@ -7,6 +7,8 @@
#include <game/server/teams.h>
#include <game/version.h>
#include "entities/character.h"
bool CheckClientID(int ClientID);
void CGameContext::ConCredits(IConsole::IResult *pResult, void *pUserData)

View file

@ -1,6 +1,7 @@
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
#include "gamecontext.h"
#include <engine/shared/config.h>
#include <game/server/entities/character.h>
#include <game/server/gamemodes/DDRace.h>
#include <game/server/save.h>
#include <game/server/teams.h>

View file

@ -4,6 +4,7 @@
#include <game/server/gamecontext.h>
#include <game/server/gamemodes/DDRace.h>
#include "character.h"
#include "door.h"
CDoor::CDoor(CGameWorld *pGameWorld, vec2 Pos, float Rotation, int Length,

View file

@ -8,6 +8,8 @@
#include <game/server/gamemodes/DDRace.h>
#include <game/server/teams.h>
#include "character.h"
CDragger::CDragger(CGameWorld *pGameWorld, vec2 Pos, float Strength, bool NW,
int CaughtTeam, int Layer, int Number) :
CEntity(pGameWorld, CGameWorld::ENTTYPE_LASER)

View file

@ -5,6 +5,7 @@
#include <game/server/gamecontext.h>
#include <game/server/teams.h>
#include "character.h"
#include "gun.h"
#include "plasma.h"

View file

@ -8,6 +8,8 @@
#include <engine/shared/config.h>
#include <game/server/teams.h>
#include "character.h"
CLaser::CLaser(CGameWorld *pGameWorld, vec2 Pos, vec2 Direction, float StartEnergy, int Owner, int Type) :
CEntity(pGameWorld, CGameWorld::ENTTYPE_LASER)
{

View file

@ -6,6 +6,8 @@
#include <game/mapitems.h>
#include <game/server/gamecontext.h>
#include "character.h"
CLight::CLight(CGameWorld *pGameWorld, vec2 Pos, float Rotation, int Length,
int Layer, int Number) :
CEntity(pGameWorld, CGameWorld::ENTTYPE_LASER)

View file

@ -6,6 +6,8 @@
#include <game/server/teams.h>
#include "character.h"
CPickup::CPickup(CGameWorld *pGameWorld, int Type, int SubType, int Layer, int Number) :
CEntity(pGameWorld, CGameWorld::ENTTYPE_PICKUP)
{

View file

@ -7,6 +7,8 @@
#include <game/server/gamemodes/DDRace.h>
#include <game/server/teams.h>
#include "character.h"
const float PLASMA_ACCEL = 1.1f;
CPlasma::CPlasma(CGameWorld *pGameWorld, vec2 Pos, vec2 Dir, bool Freeze,

View file

@ -8,6 +8,8 @@
#include <engine/shared/config.h>
#include <game/server/teams.h>
#include "character.h"
CProjectile::CProjectile(
CGameWorld *pGameWorld,
int Type,

View file

@ -23,6 +23,7 @@
#include <game/generated/protocol7.h>
#include <game/generated/protocolglue.h>
#include "entities/character.h"
#include "gamemodes/DDRace.h"
#include "score.h"

View file

@ -5,6 +5,7 @@
#include <game/generated/protocol.h>
#include "entities/character.h"
#include "entities/pickup.h"
#include "gamecontext.h"
#include "gamecontroller.h"

View file

@ -2,6 +2,7 @@
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include "gameworld.h"
#include "entities/character.h"
#include "entity.h"
#include "gamecontext.h"
#include <algorithm>

View file

@ -4,6 +4,7 @@
#include <engine/shared/config.h>
#include <new>
#include "entities/character.h"
#include "gamecontext.h"
#include "gamemodes/DDRace.h"
#include <engine/server.h>

View file

@ -4,7 +4,6 @@
#define GAME_SERVER_PLAYER_H
// this include should perhaps be removed
#include "entities/character.h"
#include "gamecontext.h"
#include "score.h"
#include "teeinfo.h"

View file

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

View file

@ -4,6 +4,8 @@
#include "teehistorian.h"
#include <engine/shared/config.h>
#include "entities/character.h"
CGameTeams::CGameTeams(CGameContext *pGameContext) :
m_pGameContext(pGameContext)
{