summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:14:34 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:14:34 +0100
commit09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch)
treee73cb54e56cad1845559f493a861447d8cded0e3 /src/Simulator/Simulator.h
parentMerge remote-tracking branch 'upstream/master' into threadsafequeue (diff)
parentconverted commneted paramater names to the unused macro (diff)
downloadcuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.gz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.bz2
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.lz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.xz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.zst
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.zip
Diffstat (limited to 'src/Simulator/Simulator.h')
-rw-r--r--src/Simulator/Simulator.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Simulator/Simulator.h b/src/Simulator/Simulator.h
index 5cd0e8657..a25b7f1b6 100644
--- a/src/Simulator/Simulator.h
+++ b/src/Simulator/Simulator.h
@@ -25,7 +25,14 @@ public:
virtual void Simulate(float a_Dt) = 0;
/// Called in each tick for each chunk, a_Dt is the time passed since the last tick, in msec; direct access to chunk data available
- virtual void SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk) {};
+ virtual void SimulateChunk(float a_Dt, int a_ChunkX,
+ int a_ChunkZ, cChunk * a_Chunk)
+ {
+ UNUSED(a_Dt);
+ UNUSED(a_ChunkX);
+ UNUSED(a_ChunkZ);
+ UNUSED(a_Chunk);
+ };
/// Called when a block changes
virtual void WakeUp(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk);