From c707e00195f1035ae535f3fc8697af42e73190c0 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 29 Nov 2010 10:52:07 +0200 Subject: sitä sun tätä tekeillä, toimii kivasti MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constants.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/constants.h') 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 -- cgit v1.2.3