diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
commit | 09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch) | |
tree | e73cb54e56cad1845559f493a861447d8cded0e3 /src/Simulator/Simulator.h | |
parent | Merge remote-tracking branch 'upstream/master' into threadsafequeue (diff) | |
parent | converted commneted paramater names to the unused macro (diff) | |
download | cuberite-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.h | 9 |
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); |