summaryrefslogtreecommitdiff
path: root/src/constants.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-30 01:44:54 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-30 01:44:54 +0200
commitbe851871cd43316d12fd9a5f2cc6dec98a1c9ce0 (patch)
tree3f03a82db7c4449bcfebe499ab2843f1fc20b0c4 /src/constants.h
parent8788fffec0faf99702e5a84eaadbabc671a023c8 (diff)
downloadminetest-be851871cd43316d12fd9a5f2cc6dec98a1c9ce0.tar.gz
minetest-be851871cd43316d12fd9a5f2cc6dec98a1c9ce0.tar.bz2
minetest-be851871cd43316d12fd9a5f2cc6dec98a1c9ce0.zip
map generation framework under development... not quite operational at this point.
Diffstat (limited to 'src/constants.h')
-rw-r--r--src/constants.h12
1 files changed, 4 insertions, 8 deletions
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
/*