Removed unused constants.
DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.
This commit is contained in:
parent
37778e5f82
commit
9032ff96c7
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user