diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-29 20:28:19 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-29 20:28:19 +0100 |
commit | 89afb970d88e3efa8ddb2f1eafff10cd6525f2b7 (patch) | |
tree | 206b3ba15c0fc87b3bf9ad7371f73887280945c4 /source/cChunk.cpp | |
parent | VC2008 compilation with new lua webplugin (diff) | |
download | cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.tar cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.tar.gz cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.tar.bz2 cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.tar.lz cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.tar.xz cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.tar.zst cuberite-89afb970d88e3efa8ddb2f1eafff10cd6525f2b7.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunk.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/source/cChunk.cpp b/source/cChunk.cpp index 04f7cc979..8d93b34ec 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -1,8 +1,9 @@ +#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
#ifndef _WIN32
#include <cstring>
#include <cstdlib>
-#include <stdio.h>
#include <sys/stat.h> // for mkdir
#include <sys/types.h>
#endif
@@ -16,11 +17,9 @@ #include "cServer.h"
#include "zlib.h"
#include "Defines.h"
-#include <string> // memset
#include "cChestEntity.h"
#include "cFurnaceEntity.h"
#include "cSignEntity.h"
-#include "cMCLogger.h"
#include "cTorch.h"
#include "cLadder.h"
#include "cPickup.h"
@@ -28,7 +27,6 @@ #include "cItem.h"
#include "cNoise.h"
#include "cRoot.h"
-#include "cCriticalSection.h"
#include "cWorldGenerator.h"
#include "cBlockToPickup.h"
#include "MersenneTwister.h"
@@ -41,13 +39,9 @@ #include <json/json.h>
-#include <list>
-#include <vector>
-#include <map>
-#ifndef _WIN32
-#define sprintf_s(dst, size, format, ...) sprintf(dst, format, __VA_ARGS__ )
-#endif
+
+
extern bool g_bWaterPhysics;
@@ -57,6 +51,7 @@ typedef std::list< cFurnaceEntity* > FurnaceEntityList; typedef std::list< cClientHandle* > ClientHandleList;
typedef std::list< cBlockEntity* > BlockEntityList;
typedef std::list< cEntity* > EntityList;
+
struct cChunk::sChunkState
{
sChunkState()
|