summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 22:47:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 22:47:58 +0200
commitd95756c5ccedb9371685356ec0af1ff955b425c7 (patch)
tree40a2508d627089e7ad03c899f269a8faba86e40e /source/World.h
parentUpdated the stacking (Patch contributed by Stephen304) (diff)
downloadcuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.gz
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.bz2
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.lz
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.xz
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.zst
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/World.h b/source/World.h
index 6bc6cb4c7..46894bbbf 100644
--- a/source/World.h
+++ b/source/World.h
@@ -348,6 +348,13 @@ public:
double GetSpawnX(void) const { return m_SpawnX; }
double GetSpawnY(void) const { return m_SpawnY; }
double GetSpawnZ(void) const { return m_SpawnZ; }
+
+ /// Wakes up the simulators for the specified block
+ void WakeUpSimulators(int a_BlockX, int a_BlockY, int a_BlockZ);
+
+ /// Wakes up the simulators for the specified area of blocks
+ void WakeUpSimulatorsInArea(int a_MinBlockX, int a_MaxBlockX, int a_MinBlockY, int a_MaxBlockY, int a_MinBlockZ, int a_MaxBlockZ);
+
// tolua_end
inline cSimulatorManager * GetSimulatorManager(void) { return m_SimulatorManager; }
@@ -355,9 +362,6 @@ public:
inline cFluidSimulator * GetWaterSimulator(void) { return m_WaterSimulator; }
inline cFluidSimulator * GetLavaSimulator (void) { return m_LavaSimulator; }
- /// Wakes up the simulators for the specified block
- void WakeUpSimulators(int a_BlockX, int a_BlockY, int a_BlockZ);
-
/// Calls the callback for each chest in the specified chunk; returns true if all chests processed, false if the callback aborted by returning true
bool ForEachChestInChunk (int a_ChunkX, int a_ChunkZ, cChestCallback & a_Callback); // Exported in ManualBindings.cpp