aboutsummaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/constants.h b/src/constants.h
index f7ff0aef1..8cc4ee473 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -28,19 +28,20 @@
// The absolute working limit is (2^15 - viewing_range).
#define MAP_GENERATION_LIMIT (31000)
-#define MAX_SIMULTANEOUS_BLOCK_SENDS 2
+//#define MAX_SIMULTANEOUS_BLOCK_SENDS 2
#define FULL_BLOCK_SEND_ENABLE_MIN_TIME_FROM_BUILDING 2.0
-#define LIMITED_MAX_SIMULTANEOUS_BLOCK_SENDS 1
+//#define LIMITED_MAX_SIMULTANEOUS_BLOCK_SENDS 1
+#define LIMITED_MAX_SIMULTANEOUS_BLOCK_SENDS 0
-#define MAX_SIMULTANEOUS_BLOCK_SENDS_SERVER_TOTAL 4
+// Override for the previous one when distance is low
+#define BLOCK_SEND_DISABLE_LIMITS_MAX_D 1
-// Viewing range stuff
+//#define MAX_SIMULTANEOUS_BLOCK_SENDS_SERVER_TOTAL 4
-#define FPS_DEFAULT_WANTED 30
-#define FPS_DEFAULT_MAX 60
+// Viewing range stuff
-#define HEIGHTMAP_RANGE_NODES 300
+//#define HEIGHTMAP_RANGE_NODES 300
//#define FREETIME_RATIO 0.2
#define FREETIME_RATIO 0.15
@@ -56,7 +57,7 @@
//#define ACTIVE_OBJECT_D_BLOCKS 2
// Wether to catch all std::exceptions
-#define CATCH_UNJANDLED_EXCEPTIONS 1
+#define CATCH_UNHANDLED_EXCEPTIONS 0
/*
Collecting active blocks is stopped after object data