cBlockArea object added (with only minimal testing so far)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -50,8 +50,6 @@
|
||||
|
||||
#include "Vector3d.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "tolua++.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
@@ -1819,6 +1817,15 @@ bool cWorld::IsChunkLighted(int a_ChunkX, int a_ChunkZ)
|
||||
|
||||
|
||||
|
||||
bool cWorld::ForEachChunkInRect(int a_MinChunkX, int a_MaxChunkX, int a_MinChunkZ, int a_MaxChunkZ, cChunkDataCallback & a_Callback)
|
||||
{
|
||||
return m_ChunkMap->ForEachChunkInRect(a_MinChunkX, a_MaxChunkX, a_MinChunkZ, a_MaxChunkZ, a_Callback);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cWorld::SaveAllChunks(void)
|
||||
{
|
||||
LOG("Saving all chunks...");
|
||||
|
||||
Reference in New Issue
Block a user