Style: Normalized to no spaces before closing parenthesis.
This commit is contained in:
@@ -28,7 +28,7 @@ public:
|
||||
UNUSED(a_ChunkZ);
|
||||
UNUSED(a_Chunk);
|
||||
}
|
||||
virtual bool IsAllowedBlock( BLOCKTYPE a_BlockType ) override { return false; }
|
||||
virtual bool IsAllowedBlock( BLOCKTYPE a_BlockType) override { return false; }
|
||||
virtual void AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk) override
|
||||
{
|
||||
UNUSED(a_BlockX);
|
||||
|
||||
@@ -29,7 +29,7 @@ cSimulatorManager::~cSimulatorManager()
|
||||
void cSimulatorManager::Simulate(float a_Dt)
|
||||
{
|
||||
m_Ticks++;
|
||||
for (cSimulators::iterator itr = m_Simulators.begin(); itr != m_Simulators.end(); ++itr )
|
||||
for (cSimulators::iterator itr = m_Simulators.begin(); itr != m_Simulators.end(); ++itr)
|
||||
{
|
||||
if ((m_Ticks % itr->second) == 0)
|
||||
{
|
||||
@@ -45,7 +45,7 @@ void cSimulatorManager::Simulate(float a_Dt)
|
||||
void cSimulatorManager::SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk)
|
||||
{
|
||||
// m_Ticks has already been increased in Simulate()
|
||||
for (cSimulators::iterator itr = m_Simulators.begin(); itr != m_Simulators.end(); ++itr )
|
||||
for (cSimulators::iterator itr = m_Simulators.begin(); itr != m_Simulators.end(); ++itr)
|
||||
{
|
||||
if ((m_Ticks % itr->second) == 0)
|
||||
{
|
||||
@@ -60,7 +60,7 @@ void cSimulatorManager::SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cC
|
||||
|
||||
void cSimulatorManager::WakeUp(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk)
|
||||
{
|
||||
for (cSimulators::iterator itr = m_Simulators.begin(); itr != m_Simulators.end(); ++itr )
|
||||
for (cSimulators::iterator itr = m_Simulators.begin(); itr != m_Simulators.end(); ++itr)
|
||||
{
|
||||
itr->first->WakeUp(a_BlockX, a_BlockY, a_BlockZ, a_Chunk);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user