summaryrefslogtreecommitdiff
path: root/src/game/tremulous.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/tremulous.h')
-rw-r--r--src/game/tremulous.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index 6c356203..5977a7b6 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -484,3 +484,10 @@
#define STAMINA_SPRINT_TAKE 10
#define STAMINA_LARMOUR_TAKE 5
+/*
+ * Misc
+ */
+
+#define MIN_FALL_DISTANCE 30.0f //the fall distance at which fall damage kicks in
+#define MAX_FALL_DISTANCE 120.0f //the fall distance at which maximum damage is dealt
+#define AVG_FALL_DISTANCE ((MIN_FALL_DISTANCE+MAX_FALL_DISTANCE)/2.0f)