summaryrefslogtreecommitdiffstats
path: root/src/Simulator/Simulator.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:11:34 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:11:34 +0100
commit15a980a6169ff975628bf1d4ecd16168fe609bf4 (patch)
treea7bc776991e20a21206f2198d1f702a6800bec6f /src/Simulator/Simulator.h
parentremoved lua makefile (diff)
downloadcuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.gz
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.bz2
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.lz
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.xz
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.tar.zst
cuberite-15a980a6169ff975628bf1d4ecd16168fe609bf4.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);