From 2588f5a605d135bc01996f3a685444dfb37978f8 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 28 Feb 2013 07:42:45 +0000 Subject: Simulators now have direct access to the cChunk object in the WakeUp() call git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Simulator/SimulatorManager.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source/Simulator/SimulatorManager.h') diff --git a/source/Simulator/SimulatorManager.h b/source/Simulator/SimulatorManager.h index fbd97b8fa..989831b03 100644 --- a/source/Simulator/SimulatorManager.h +++ b/source/Simulator/SimulatorManager.h @@ -15,6 +15,13 @@ +// fwd: Chunk.h +class cChunk; + + + + + class cSimulatorManager { public: @@ -22,7 +29,7 @@ public: ~cSimulatorManager(); void Simulate(float a_Dt); - void WakeUp(int a_BlockX, int a_BlockY, int a_BlockZ); + void WakeUp(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk); void RegisterSimulator(cSimulator * a_Simulator, int a_Rate); // Takes ownership of the simulator object! -- cgit v1.2.3