Cleanup includes

See the upstream commit 24bda2faa0
This commit is contained in:
Alexander Akulich 2021-01-09 16:40:30 +03:00
parent f16937b361
commit 476c2c60d7
6 changed files with 8 additions and 11 deletions

View file

@ -2,6 +2,7 @@
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include <antibot/antibot_data.h>
#include <engine/shared/config.h>
#include <game/generated/server_data.h>
#include <game/mapitems.h>
#include <game/server/gamecontext.h>
#include <game/server/player.h>

View file

@ -4,13 +4,9 @@
#define GAME_SERVER_ENTITIES_CHARACTER_H
#include <engine/antibot.h>
#include <game/generated/protocol.h>
#include <game/generated/server_data.h>
#include <game/server/entity.h>
#include <game/server/save.h>
#include <game/gamecore.h>
class CAntibot;
class CGameTeams;
struct CAntibotCharacterData;

View file

@ -13,11 +13,11 @@
#include <engine/shared/config.h>
#include <engine/shared/datafile.h>
#include <engine/shared/linereader.h>
#include <engine/shared/memheap.h>
#include <engine/storage.h>
#include <game/collision.h>
#include <game/gamecore.h>
#include <game/version.h>
#include <new>
#include <string.h>
#include <game/generated/protocol7.h>

View file

@ -6,7 +6,6 @@
#include <engine/antibot.h>
#include <engine/console.h>
#include <engine/server.h>
#include <engine/shared/memheap.h>
#include <game/layers.h>
#include <game/mapbugs.h>
@ -16,7 +15,7 @@
#include <base/tl/string.h>
#include "eventhandler.h"
#include "gamecontroller.h"
//#include "gamecontroller.h"
#include "gameworld.h"
#include "teehistorian.h"
@ -57,8 +56,11 @@ enum
NUM_TUNEZONES = 256
};
class CHeap;
class CPlayer;
class CScore;
class IConsole;
class IGameController;
class IEngine;
class IStorage;
struct CAntibotData;

View file

@ -2,7 +2,6 @@
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include "player.h"
#include <engine/shared/config.h>
#include <new>
#include "entities/character.h"
#include "gamecontext.h"
@ -11,7 +10,6 @@
#include <game/gamecore.h>
#include <game/server/teams.h>
#include <game/version.h>
#include <time.h>
MACRO_ALLOC_POOL_ID_IMPL(CPlayer, MAX_CLIENTS)

View file

@ -3,11 +3,11 @@
#ifndef GAME_SERVER_PLAYER_H
#define GAME_SERVER_PLAYER_H
#include "alloc.h"
// this include should perhaps be removed
#include "gamecontext.h"
#include "score.h"
#include "teeinfo.h"
#include <memory>
enum
{