mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
player.h: Remove unused character.h include
See the upstream commit 24bda2faa0
This commit is contained in:
parent
8ee8351b68
commit
164cb9907a
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <game/server/gamecontext.h>
|
||||
#include <game/server/teams.h>
|
||||
|
||||
#include "character.h"
|
||||
#include "gun.h"
|
||||
#include "plasma.h"
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#include <engine/shared/config.h>
|
||||
#include <game/server/teams.h>
|
||||
|
||||
#include "character.h"
|
||||
|
||||
CProjectile::CProjectile(
|
||||
CGameWorld *pGameWorld,
|
||||
int Type,
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <game/generated/protocol.h>
|
||||
|
||||
#include "entities/character.h"
|
||||
#include "entities/pickup.h"
|
||||
#include "gamecontext.h"
|
||||
#include "gamecontroller.h"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <cstdio>
|
||||
#include <new>
|
||||
|
||||
#include "entities/character.h"
|
||||
#include "gamemodes/DDRace.h"
|
||||
#include "teams.h"
|
||||
#include <engine/shared/config.h>
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include "teehistorian.h"
|
||||
#include <engine/shared/config.h>
|
||||
|
||||
#include "entities/character.h"
|
||||
|
||||
CGameTeams::CGameTeams(CGameContext *pGameContext) :
|
||||
m_pGameContext(pGameContext)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue