1
0

Removed unused forward declarations (#3888)

This commit is contained in:
Lukas Pioch 2017-08-03 15:10:29 +02:00 committed by Mattes D
parent 2ef8a62339
commit 0397535fa7
26 changed files with 2 additions and 102 deletions

View File

@ -17,7 +17,6 @@
// fwd:
class cPluginLua;
class cChunkMap;

View File

@ -45,7 +45,6 @@ extern "C"
class cLuaServerHandle;
class cLuaTCPLink;
class cLuaUDPEndpoint;
class cPluginLua;
class cDeadlockDetect;

View File

@ -19,12 +19,6 @@
// fwd: "UI/Window.h"
class cWindow;
// tolua_begin
class cPluginLua :

View File

@ -9,7 +9,6 @@ class cItems;
typedef cItemCallback<cBlockEntity> cBlockEntityCallback;
class cMonster;
class cPlayer;

View File

@ -15,18 +15,10 @@
namespace Json
{
class Value;
};
class cWorld;
class cClientHandle;
class cServer;
class cPlayer;
class cChunkMap;
class cBeaconEntity;
@ -42,9 +34,6 @@ class cNoteEntity;
class cMobHeadEntity;
class cFlowerPotEntity;
class cBlockArea;
class cPawn;
class cPickup;
class cChunkDataSerializer;
class cBlockArea;
class cFluidSimulatorData;
class cMobCensus;

View File

@ -13,7 +13,6 @@
class cWorld;
class cWorldInterface;
class cItem;
class cChunkStay;
class cChunk;
@ -30,9 +29,6 @@ class cNoteEntity;
class cCommandBlockEntity;
class cMobHeadEntity;
class cFlowerPotEntity;
class cPawn;
class cPickup;
class cChunkDataSerializer;
class cBlockArea;
class cMobCensus;
class cMobSpawner;

View File

@ -29,9 +29,7 @@
// fwd:
class cChunkDataSerializer;
class cInventory;
class cMonster;
class cPawn;
class cExpOrb;
class cPainting;
class cPickup;
@ -39,8 +37,6 @@ class cPlayer;
class cProtocol;
class cWindow;
class cFallingBlock;
class cItemHandler;
class cWorld;
class cCompositeChat;
class cStatManager;
class cClientHandle;

View File

@ -6,12 +6,6 @@
class cPlayer;
class cItem;
// tolua_begin

View File

@ -20,8 +20,6 @@
// fwd:
class cHTTPMessage;
class cHTTPRequestParser;
class cHTTPIncomingRequest;
class cHTTPServerConnection;

View File

@ -12,7 +12,6 @@ namespace Json
class Value;
};
class cClientHandle;
class cPlayer;

View File

@ -22,7 +22,6 @@
class cClientHandle;
class cWorld;
class cPlayer;
class cItemFrame;
class cMap;

View File

@ -9,12 +9,6 @@
// fwd:
class cChunk;
/** This class is used to collect the list of mobs for each family
*/

View File

@ -11,7 +11,7 @@
class cClientHandle;
class cWorld;
// tolua_begin

View File

@ -18,8 +18,7 @@ class cSettingsRepositoryInterface;
// fwd: "cRoot.h"
class cRoot;
namespace Json
{

View File

@ -26,8 +26,6 @@ class cExpOrb;
class cPlayer;
class cEntity;
class cWindow;
class cInventory;
class cPawn;
class cPickup;
class cPainting;
class cWorld;

View File

@ -36,16 +36,6 @@ Declares the 1.8 protocol classes:
// fwd:
namespace Json
{
class Value;
}
class cProtocol_1_8_0 :
public cProtocol
{

View File

@ -42,16 +42,6 @@ Declares the 1.9 protocol classes:
// fwd:
namespace Json
{
class Value;
}
class cProtocol_1_9_0 :
public cProtocol
{

View File

@ -14,7 +14,6 @@
// fwd:
class cThread;
class cMonsterConfig;
class cBrewingRecipes;
class cCraftingRecipes;

View File

@ -33,7 +33,6 @@
// fwd:
class cPlayer;
class cClientHandle;
typedef std::shared_ptr<cClientHandle> cClientHandlePtr;
typedef std::list<cClientHandlePtr> cClientHandlePtrs;

View File

@ -16,13 +16,6 @@
// fwd:
class cBlockArea;
class cFloodyFluidSimulator :
public cDelayedFluidSimulator
{

View File

@ -4,7 +4,6 @@
#include "Simulator.h"
class cChunk;
class cWorld;

View File

@ -13,13 +13,6 @@
// fwd:
class cBlockArea;
class cVanillaFluidSimulator :
public cFloodyFluidSimulator
{

View File

@ -24,14 +24,6 @@
// fwd:
class cEvent;
class cWebPlugin;
// tolua_begin
struct HTTPFormData
{

View File

@ -43,8 +43,6 @@ typedef std::shared_ptr<cClientHandle> cClientHandlePtr;
typedef std::list<cClientHandlePtr> cClientHandlePtrs;
typedef std::list<cClientHandle *> cClientHandles;
class cEntity;
class cBlockEntity;
class cWorldGenerator; // The generator that actually generates the chunks for a single world
class cChunkGenerator; // The thread responsible for generating chunks
class cBeaconEntity;
class cBrewingstandEntity;

View File

@ -39,9 +39,6 @@ class cFlowerPotEntity;
class cFallingBlock;
class cMinecart;
class cMinecartWithChest;
class cMinecartWithFurnace;
class cMinecartWithTNT;
class cMinecartWithHopper;
class cMonster;
class cPickup;
class cItemGrid;
@ -51,7 +48,6 @@ class cExpOrb;
class cHangingEntity;
class cItemFrame;
class cPainting;
class cEntityEffect;

View File

@ -21,8 +21,6 @@ class cItemGrid;
class cProjectileEntity;
class cHangingEntity;
class cWolf;
class cOcelot;