diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-08 20:49:57 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-08 20:49:57 +0100 |
commit | 10752d2f35b729b1e84219b4075c9e77727ab1b4 (patch) | |
tree | 7d72b9c260a876ecda99bb458d0a75d34858beb4 /source/cChunk.h | |
parent | Added total chunk count to webadmin (diff) | |
download | cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.tar cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.tar.gz cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.tar.bz2 cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.tar.lz cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.tar.xz cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.tar.zst cuberite-10752d2f35b729b1e84219b4075c9e77727ab1b4.zip |
Diffstat (limited to 'source/cChunk.h')
-rw-r--r-- | source/cChunk.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/cChunk.h b/source/cChunk.h index cd1122922..d18f09160 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -77,7 +77,6 @@ public: inline void RecalculateHeightmap() { m_bCalculateHeightmap = true; } // Recalculate heightmap next tick
void SpreadLight(char* a_LightBuffer);
- bool SaveToDisk();
bool LoadFromDisk();
// Broadcasts to all clients that have loaded this chunk
@@ -121,8 +120,6 @@ private: void LoadFromJson( const Json::Value & a_Value );
void SaveToJson( Json::Value & a_Value );
- void GenerateTerrain();
- void GenerateFoliage();
void CalculateLighting(); // Recalculate right now
void CalculateHeightmap();
void SpreadLightOfBlock(char* a_LightBuffer, int a_X, int a_Y, int a_Z, char a_Falloff);
@@ -152,6 +149,11 @@ private: cCriticalSection* m_EntitiesCriticalSection;
};
+
+
+
+
+
#if C_CHUNK_USE_INLINE
# include "cChunk.inl.h"
#endif
\ No newline at end of file |