From be851871cd43316d12fd9a5f2cc6dec98a1c9ce0 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 30 Jan 2011 01:44:54 +0200 Subject: map generation framework under development... not quite operational at this point. --- src/constants.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/constants.h') diff --git a/src/constants.h b/src/constants.h index f90b278d2..c8c210b13 100644 --- a/src/constants.h +++ b/src/constants.h @@ -76,21 +76,17 @@ with this program; if not, write to the Free Software Foundation, Inc., // is very low #define BLOCK_SEND_DISABLE_LIMITS_MAX_D 1 -// The fps limiter will leave this much free time -//#define FREETIME_RATIO 0.15 -//#define FREETIME_RATIO 0.0 -#define FREETIME_RATIO 0.05 - #define PLAYER_INVENTORY_SIZE (8*4) #define SIGN_TEXT_MAX_LENGTH 50 // Whether to catch all std::exceptions. // Assert will be called on such an event. -#ifdef DEBUG - #define CATCH_UNHANDLED_EXCEPTIONS 0 -#else +// In debug mode, leave these for the debugger and don't catch them. +#ifdef NDEBUG #define CATCH_UNHANDLED_EXCEPTIONS 1 +#else + #define CATCH_UNHANDLED_EXCEPTIONS 0 #endif /* -- cgit v1.2.3