Removed unused forward declarations (#3888)
This commit is contained in:
parent
2ef8a62339
commit
0397535fa7
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
// fwd:
|
// fwd:
|
||||||
class cPluginLua;
|
|
||||||
class cChunkMap;
|
class cChunkMap;
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ extern "C"
|
|||||||
class cLuaServerHandle;
|
class cLuaServerHandle;
|
||||||
class cLuaTCPLink;
|
class cLuaTCPLink;
|
||||||
class cLuaUDPEndpoint;
|
class cLuaUDPEndpoint;
|
||||||
class cPluginLua;
|
|
||||||
class cDeadlockDetect;
|
class cDeadlockDetect;
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,12 +19,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd: "UI/Window.h"
|
|
||||||
class cWindow;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// tolua_begin
|
// tolua_begin
|
||||||
class cPluginLua :
|
class cPluginLua :
|
||||||
|
@ -9,7 +9,6 @@ class cItems;
|
|||||||
typedef cItemCallback<cBlockEntity> cBlockEntityCallback;
|
typedef cItemCallback<cBlockEntity> cBlockEntityCallback;
|
||||||
|
|
||||||
|
|
||||||
class cMonster;
|
|
||||||
class cPlayer;
|
class cPlayer;
|
||||||
|
|
||||||
|
|
||||||
|
11
src/Chunk.h
11
src/Chunk.h
@ -15,18 +15,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace Json
|
|
||||||
{
|
|
||||||
class Value;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cWorld;
|
class cWorld;
|
||||||
class cClientHandle;
|
class cClientHandle;
|
||||||
class cServer;
|
|
||||||
class cPlayer;
|
class cPlayer;
|
||||||
class cChunkMap;
|
class cChunkMap;
|
||||||
class cBeaconEntity;
|
class cBeaconEntity;
|
||||||
@ -42,9 +34,6 @@ class cNoteEntity;
|
|||||||
class cMobHeadEntity;
|
class cMobHeadEntity;
|
||||||
class cFlowerPotEntity;
|
class cFlowerPotEntity;
|
||||||
class cBlockArea;
|
class cBlockArea;
|
||||||
class cPawn;
|
|
||||||
class cPickup;
|
|
||||||
class cChunkDataSerializer;
|
|
||||||
class cBlockArea;
|
class cBlockArea;
|
||||||
class cFluidSimulatorData;
|
class cFluidSimulatorData;
|
||||||
class cMobCensus;
|
class cMobCensus;
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
|
|
||||||
class cWorld;
|
class cWorld;
|
||||||
class cWorldInterface;
|
|
||||||
class cItem;
|
class cItem;
|
||||||
class cChunkStay;
|
class cChunkStay;
|
||||||
class cChunk;
|
class cChunk;
|
||||||
@ -30,9 +29,6 @@ class cNoteEntity;
|
|||||||
class cCommandBlockEntity;
|
class cCommandBlockEntity;
|
||||||
class cMobHeadEntity;
|
class cMobHeadEntity;
|
||||||
class cFlowerPotEntity;
|
class cFlowerPotEntity;
|
||||||
class cPawn;
|
|
||||||
class cPickup;
|
|
||||||
class cChunkDataSerializer;
|
|
||||||
class cBlockArea;
|
class cBlockArea;
|
||||||
class cMobCensus;
|
class cMobCensus;
|
||||||
class cMobSpawner;
|
class cMobSpawner;
|
||||||
|
@ -29,9 +29,7 @@
|
|||||||
|
|
||||||
// fwd:
|
// fwd:
|
||||||
class cChunkDataSerializer;
|
class cChunkDataSerializer;
|
||||||
class cInventory;
|
|
||||||
class cMonster;
|
class cMonster;
|
||||||
class cPawn;
|
|
||||||
class cExpOrb;
|
class cExpOrb;
|
||||||
class cPainting;
|
class cPainting;
|
||||||
class cPickup;
|
class cPickup;
|
||||||
@ -39,8 +37,6 @@ class cPlayer;
|
|||||||
class cProtocol;
|
class cProtocol;
|
||||||
class cWindow;
|
class cWindow;
|
||||||
class cFallingBlock;
|
class cFallingBlock;
|
||||||
class cItemHandler;
|
|
||||||
class cWorld;
|
|
||||||
class cCompositeChat;
|
class cCompositeChat;
|
||||||
class cStatManager;
|
class cStatManager;
|
||||||
class cClientHandle;
|
class cClientHandle;
|
||||||
|
@ -6,12 +6,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cPlayer;
|
|
||||||
class cItem;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// tolua_begin
|
// tolua_begin
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
|
|
||||||
|
|
||||||
// fwd:
|
// fwd:
|
||||||
class cHTTPMessage;
|
|
||||||
class cHTTPRequestParser;
|
|
||||||
class cHTTPIncomingRequest;
|
class cHTTPIncomingRequest;
|
||||||
class cHTTPServerConnection;
|
class cHTTPServerConnection;
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@ namespace Json
|
|||||||
class Value;
|
class Value;
|
||||||
};
|
};
|
||||||
|
|
||||||
class cClientHandle;
|
|
||||||
class cPlayer;
|
class cPlayer;
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
class cClientHandle;
|
class cClientHandle;
|
||||||
class cWorld;
|
class cWorld;
|
||||||
class cPlayer;
|
class cPlayer;
|
||||||
class cItemFrame;
|
|
||||||
class cMap;
|
class cMap;
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,12 +9,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd:
|
|
||||||
class cChunk;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** This class is used to collect the list of mobs for each family
|
/** This class is used to collect the list of mobs for each family
|
||||||
*/
|
*/
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class cClientHandle;
|
class cClientHandle;
|
||||||
class cWorld;
|
|
||||||
|
|
||||||
|
|
||||||
// tolua_begin
|
// tolua_begin
|
||||||
|
@ -18,8 +18,7 @@ class cSettingsRepositoryInterface;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd: "cRoot.h"
|
|
||||||
class cRoot;
|
|
||||||
|
|
||||||
namespace Json
|
namespace Json
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@ class cExpOrb;
|
|||||||
class cPlayer;
|
class cPlayer;
|
||||||
class cEntity;
|
class cEntity;
|
||||||
class cWindow;
|
class cWindow;
|
||||||
class cInventory;
|
|
||||||
class cPawn;
|
|
||||||
class cPickup;
|
class cPickup;
|
||||||
class cPainting;
|
class cPainting;
|
||||||
class cWorld;
|
class cWorld;
|
||||||
|
@ -36,16 +36,6 @@ Declares the 1.8 protocol classes:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd:
|
|
||||||
namespace Json
|
|
||||||
{
|
|
||||||
class Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cProtocol_1_8_0 :
|
class cProtocol_1_8_0 :
|
||||||
public cProtocol
|
public cProtocol
|
||||||
{
|
{
|
||||||
|
@ -42,16 +42,6 @@ Declares the 1.9 protocol classes:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd:
|
|
||||||
namespace Json
|
|
||||||
{
|
|
||||||
class Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cProtocol_1_9_0 :
|
class cProtocol_1_9_0 :
|
||||||
public cProtocol
|
public cProtocol
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
|
|
||||||
|
|
||||||
// fwd:
|
// fwd:
|
||||||
class cThread;
|
|
||||||
class cMonsterConfig;
|
class cMonsterConfig;
|
||||||
class cBrewingRecipes;
|
class cBrewingRecipes;
|
||||||
class cCraftingRecipes;
|
class cCraftingRecipes;
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
|
|
||||||
// fwd:
|
// fwd:
|
||||||
class cPlayer;
|
|
||||||
class cClientHandle;
|
class cClientHandle;
|
||||||
typedef std::shared_ptr<cClientHandle> cClientHandlePtr;
|
typedef std::shared_ptr<cClientHandle> cClientHandlePtr;
|
||||||
typedef std::list<cClientHandlePtr> cClientHandlePtrs;
|
typedef std::list<cClientHandlePtr> cClientHandlePtrs;
|
||||||
|
@ -16,13 +16,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd:
|
|
||||||
class cBlockArea;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cFloodyFluidSimulator :
|
class cFloodyFluidSimulator :
|
||||||
public cDelayedFluidSimulator
|
public cDelayedFluidSimulator
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include "Simulator.h"
|
#include "Simulator.h"
|
||||||
|
|
||||||
|
|
||||||
class cChunk;
|
|
||||||
class cWorld;
|
class cWorld;
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,13 +13,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd:
|
|
||||||
class cBlockArea;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class cVanillaFluidSimulator :
|
class cVanillaFluidSimulator :
|
||||||
public cFloodyFluidSimulator
|
public cFloodyFluidSimulator
|
||||||
{
|
{
|
||||||
|
@ -24,14 +24,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// fwd:
|
|
||||||
class cEvent;
|
|
||||||
class cWebPlugin;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// tolua_begin
|
// tolua_begin
|
||||||
struct HTTPFormData
|
struct HTTPFormData
|
||||||
{
|
{
|
||||||
|
@ -43,8 +43,6 @@ typedef std::shared_ptr<cClientHandle> cClientHandlePtr;
|
|||||||
typedef std::list<cClientHandlePtr> cClientHandlePtrs;
|
typedef std::list<cClientHandlePtr> cClientHandlePtrs;
|
||||||
typedef std::list<cClientHandle *> cClientHandles;
|
typedef std::list<cClientHandle *> cClientHandles;
|
||||||
class cEntity;
|
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 cChunkGenerator; // The thread responsible for generating chunks
|
||||||
class cBeaconEntity;
|
class cBeaconEntity;
|
||||||
class cBrewingstandEntity;
|
class cBrewingstandEntity;
|
||||||
|
@ -39,9 +39,6 @@ class cFlowerPotEntity;
|
|||||||
class cFallingBlock;
|
class cFallingBlock;
|
||||||
class cMinecart;
|
class cMinecart;
|
||||||
class cMinecartWithChest;
|
class cMinecartWithChest;
|
||||||
class cMinecartWithFurnace;
|
|
||||||
class cMinecartWithTNT;
|
|
||||||
class cMinecartWithHopper;
|
|
||||||
class cMonster;
|
class cMonster;
|
||||||
class cPickup;
|
class cPickup;
|
||||||
class cItemGrid;
|
class cItemGrid;
|
||||||
@ -51,7 +48,6 @@ class cExpOrb;
|
|||||||
class cHangingEntity;
|
class cHangingEntity;
|
||||||
class cItemFrame;
|
class cItemFrame;
|
||||||
class cPainting;
|
class cPainting;
|
||||||
class cEntityEffect;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,8 +21,6 @@ class cItemGrid;
|
|||||||
|
|
||||||
class cProjectileEntity;
|
class cProjectileEntity;
|
||||||
class cHangingEntity;
|
class cHangingEntity;
|
||||||
class cWolf;
|
|
||||||
class cOcelot;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user