1
0

Removed unused constants.

DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.
This commit is contained in:
madmaxoft 2014-03-25 23:35:50 +01:00
parent 37778e5f82
commit 9032ff96c7
2 changed files with 1 additions and 7 deletions

View File

@ -7,7 +7,7 @@
#include "DeadlockDetect.h" #include "DeadlockDetect.h"
#include "Root.h" #include "Root.h"
#include "World.h" #include "World.h"
# include <cstdlib> #include <cstdlib>
@ -16,9 +16,6 @@
/// Number of milliseconds per cycle /// Number of milliseconds per cycle
const int CYCLE_MILLISECONDS = 100; const int CYCLE_MILLISECONDS = 100;
/// When the number of cycles for the same world age hits this value, it is considered a deadlock
const int NUM_CYCLES_LIMIT = 200; // 200 = twenty seconds

View File

@ -60,9 +60,6 @@
/// Up to this many m_SpreadQueue elements are handled each world tick
const int MAX_LIGHTING_SPREAD_PER_TICK = 10;
const int TIME_SUNSET = 12000; const int TIME_SUNSET = 12000;
const int TIME_NIGHT_START = 13187; const int TIME_NIGHT_START = 13187;
const int TIME_NIGHT_END = 22812; const int TIME_NIGHT_END = 22812;