summaryrefslogtreecommitdiff
path: root/intensemarcus.h
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2010-12-21 18:00:21 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-12-21 18:00:21 +0000
commitc04ccc9cc3aa91c634880cbfd2d77b58d68189ad (patch)
treeadf3565be9fa62b6c1092e53a621c69e756ad77b /intensemarcus.h
parent610c22ab2bf4ac2c6abbce7991436a910dafe5f6 (diff)
Implement crouching
Diffstat (limited to 'intensemarcus.h')
-rw-r--r--intensemarcus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intensemarcus.h b/intensemarcus.h
index 3e98220..4724e85 100644
--- a/intensemarcus.h
+++ b/intensemarcus.h
@@ -15,6 +15,7 @@ const int ORIENT_FRONT = 0;
const int ORIENT_BACK = 1;
const int ORIENT_RIGHT = 2;
const int ORIENT_LEFT = 3;
+const int ORIENT_CROUCH = 4;
const int GRAVITY = 3;
const int JUMP_STRENGTH = 40;
const int MOVE_AMOUNT = 10;
@@ -22,6 +23,7 @@ const float SPRINT_MULTIPLYER = 1.5;
const int MAP_X = 48;
const int MAP_Y = 12;
const int TILE_SIZE = 50;
+const int CROUCH_HEIGHT = 30;
SDL_Surface *loadImage(std::string filename);