1
0

Removed a few unnessicary includes

This commit is contained in:
Tycho 2014-09-26 16:26:03 +01:00
parent 157cad9007
commit 6ffb7835e7
10 changed files with 18 additions and 23 deletions

View File

@ -5,11 +5,6 @@
#undef TOLUA_TEMPLATE_BIND #undef TOLUA_TEMPLATE_BIND
#include "tolua++/include/tolua++.h" #include "tolua++/include/tolua++.h"
#include "Plugin.h"
#include "PluginLua.h"
#include "PluginManager.h"
#include "LuaWindow.h"
#include "LuaChunkStay.h"
#include "../BlockInfo.h" #include "../BlockInfo.h"

View File

@ -6,7 +6,6 @@
#include "Globals.h" #include "Globals.h"
#include "LuaChunkStay.h" #include "LuaChunkStay.h"
#include "PluginLua.h" #include "PluginLua.h"
#include "../World.h"

View File

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

View File

@ -56,7 +56,6 @@ struct HTTPRequest;
class cWebAdmin; class cWebAdmin;
struct HTTPTemplateRequest; struct HTTPTemplateRequest;
class cTNTEntity; class cTNTEntity;
class cCreeper;
class cHopperEntity; class cHopperEntity;
class cBlockEntity; class cBlockEntity;
class cBoundingBox; class cBoundingBox;

View File

@ -6,7 +6,6 @@
#include "LuaWindow.h" #include "LuaWindow.h"
#include "../UI/SlotArea.h" #include "../UI/SlotArea.h"
#include "PluginLua.h" #include "PluginLua.h"
#include "../Entities/Player.h"
#include "lua/src/lauxlib.h" // Needed for LUA_REFNIL #include "lua/src/lauxlib.h" // Needed for LUA_REFNIL

View File

@ -5,7 +5,6 @@
#undef TOLUA_TEMPLATE_BIND #undef TOLUA_TEMPLATE_BIND
#include "tolua++/include/tolua++.h" #include "tolua++/include/tolua++.h"
#include "polarssl/md5.h" #include "polarssl/md5.h"
#include "Plugin.h"
#include "PluginLua.h" #include "PluginLua.h"
#include "PluginManager.h" #include "PluginManager.h"
#include "LuaWindow.h" #include "LuaWindow.h"
@ -27,7 +26,6 @@
#include "../BlockEntities/MobHeadEntity.h" #include "../BlockEntities/MobHeadEntity.h"
#include "../BlockEntities/FlowerPotEntity.h" #include "../BlockEntities/FlowerPotEntity.h"
#include "../LineBlockTracer.h" #include "../LineBlockTracer.h"
#include "../Protocol/Authenticator.h"
#include "../WorldStorage/SchematicFileSerializer.h" #include "../WorldStorage/SchematicFileSerializer.h"
#include "../CompositeChat.h" #include "../CompositeChat.h"

View File

@ -1,23 +1,27 @@
#pragma once #pragma once
#include "PluginManager.h" //#include "PluginManager.h"
#include "Defines.h"
class cCommandOutputCallback;
class cItems;
class cHopperEntity;
class cBlockEntityWithItems;
class cClientHandle; class cClientHandle;
class cPlayer;
class cPickup; class cPickup;
class cItem; class cPlayer;
class cProjectileEntity;
class cEntity; class cEntity;
class cMonster;
class cWorld; class cWorld;
class cChunkDesc; class cChunkDesc;
struct TakeDamageInfo; struct TakeDamageInfo;
// fwd: cPlayer.h
class cPlayer;
// fwd: CraftingRecipes.h // fwd: CraftingRecipes.h
class cCraftingGrid; class cCraftingGrid;

View File

@ -12,10 +12,12 @@
#endif #endif
#include "PluginLua.h" #include "PluginLua.h"
#include "../CommandOutput.h" #include "../CommandOutput.h"
#include "PluginManager.h"
#include "../Item.h"
extern "C" extern "C"
{ {
#include "lua/src/lualib.h" #include "lua/src/lauxlib.h"
} }
#undef TOLUA_TEMPLATE_BIND #undef TOLUA_TEMPLATE_BIND

View File

@ -4,12 +4,10 @@
#include "PluginManager.h" #include "PluginManager.h"
#include "Plugin.h" #include "Plugin.h"
#include "PluginLua.h" #include "PluginLua.h"
#include "../WebAdmin.h"
#include "../Item.h" #include "../Item.h"
#include "../Root.h" #include "../Root.h"
#include "../Server.h" #include "../Server.h"
#include "../CommandOutput.h" #include "../CommandOutput.h"
#include "../ChatColor.h"
#include "inifile/iniFile.h" #include "inifile/iniFile.h"
#include "../Entities/Player.h" #include "../Entities/Player.h"

View File

@ -1,9 +1,8 @@
#pragma once #pragma once
#include "../Item.h"
#include "Defines.h"
@ -36,7 +35,6 @@ class cPickup;
// fwd: Pawn.h // fwd: Pawn.h
struct TakeDamageInfo; struct TakeDamageInfo;
class cPawn;
// fwd: CommandOutput.h // fwd: CommandOutput.h
class cCommandOutputCallback; class cCommandOutputCallback;
@ -49,6 +47,8 @@ class cBlockEntityWithItems;
class cItems;
// tolua_begin // tolua_begin