Removed unused forward declarations (#3888)
This commit is contained in:
parent
2ef8a62339
commit
0397535fa7
@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
// fwd:
|
||||
class cPluginLua;
|
||||
class cChunkMap;
|
||||
|
||||
|
||||
|
@ -45,7 +45,6 @@ extern "C"
|
||||
class cLuaServerHandle;
|
||||
class cLuaTCPLink;
|
||||
class cLuaUDPEndpoint;
|
||||
class cPluginLua;
|
||||
class cDeadlockDetect;
|
||||
|
||||
|
||||
|
@ -19,12 +19,6 @@
|
||||
|
||||
|
||||
|
||||
// fwd: "UI/Window.h"
|
||||
class cWindow;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// tolua_begin
|
||||
class cPluginLua :
|
||||
|
@ -9,7 +9,6 @@ class cItems;
|
||||
typedef cItemCallback<cBlockEntity> cBlockEntityCallback;
|
||||
|
||||
|
||||
class cMonster;
|
||||
class cPlayer;
|
||||
|
||||
|
||||
|
11
src/Chunk.h
11
src/Chunk.h
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -6,12 +6,6 @@
|
||||
|
||||
|
||||
|
||||
class cPlayer;
|
||||
class cItem;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// tolua_begin
|
||||
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
|
||||
// fwd:
|
||||
class cHTTPMessage;
|
||||
class cHTTPRequestParser;
|
||||
class cHTTPIncomingRequest;
|
||||
class cHTTPServerConnection;
|
||||
|
||||
|
@ -12,7 +12,6 @@ namespace Json
|
||||
class Value;
|
||||
};
|
||||
|
||||
class cClientHandle;
|
||||
class cPlayer;
|
||||
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
class cClientHandle;
|
||||
class cWorld;
|
||||
class cPlayer;
|
||||
class cItemFrame;
|
||||
class cMap;
|
||||
|
||||
|
||||
|
@ -9,12 +9,6 @@
|
||||
|
||||
|
||||
|
||||
// fwd:
|
||||
class cChunk;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/** This class is used to collect the list of mobs for each family
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
class cClientHandle;
|
||||
class cWorld;
|
||||
|
||||
|
||||
|
||||
// tolua_begin
|
||||
|
@ -18,8 +18,7 @@ class cSettingsRepositoryInterface;
|
||||
|
||||
|
||||
|
||||
// fwd: "cRoot.h"
|
||||
class cRoot;
|
||||
|
||||
|
||||
namespace Json
|
||||
{
|
||||
|
@ -26,8 +26,6 @@ class cExpOrb;
|
||||
class cPlayer;
|
||||
class cEntity;
|
||||
class cWindow;
|
||||
class cInventory;
|
||||
class cPawn;
|
||||
class cPickup;
|
||||
class cPainting;
|
||||
class cWorld;
|
||||
|
@ -36,16 +36,6 @@ Declares the 1.8 protocol classes:
|
||||
|
||||
|
||||
|
||||
// fwd:
|
||||
namespace Json
|
||||
{
|
||||
class Value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class cProtocol_1_8_0 :
|
||||
public cProtocol
|
||||
{
|
||||
|
@ -42,16 +42,6 @@ Declares the 1.9 protocol classes:
|
||||
|
||||
|
||||
|
||||
// fwd:
|
||||
namespace Json
|
||||
{
|
||||
class Value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class cProtocol_1_9_0 :
|
||||
public cProtocol
|
||||
{
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
|
||||
// fwd:
|
||||
class cThread;
|
||||
class cMonsterConfig;
|
||||
class cBrewingRecipes;
|
||||
class cCraftingRecipes;
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
|
||||
// fwd:
|
||||
class cPlayer;
|
||||
class cClientHandle;
|
||||
typedef std::shared_ptr<cClientHandle> cClientHandlePtr;
|
||||
typedef std::list<cClientHandlePtr> cClientHandlePtrs;
|
||||
|
@ -16,13 +16,6 @@
|
||||
|
||||
|
||||
|
||||
// fwd:
|
||||
class cBlockArea;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class cFloodyFluidSimulator :
|
||||
public cDelayedFluidSimulator
|
||||
{
|
||||
|
@ -4,7 +4,6 @@
|
||||
#include "Simulator.h"
|
||||
|
||||
|
||||
class cChunk;
|
||||
class cWorld;
|
||||
|
||||
|
||||
|
@ -13,13 +13,6 @@
|
||||
|
||||
|
||||
|
||||
// fwd:
|
||||
class cBlockArea;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class cVanillaFluidSimulator :
|
||||
public cFloodyFluidSimulator
|
||||
{
|
||||
|
@ -24,14 +24,6 @@
|
||||
|
||||
|
||||
|
||||
// fwd:
|
||||
class cEvent;
|
||||
class cWebPlugin;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// tolua_begin
|
||||
struct HTTPFormData
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
@ -21,8 +21,6 @@ class cItemGrid;
|
||||
|
||||
class cProjectileEntity;
|
||||
class cHangingEntity;
|
||||
class cWolf;
|
||||
class cOcelot;
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user