diff options
author | Joe Robinson <joe@lc8n.com> | 2010-12-21 18:00:21 +0000 |
---|---|---|
committer | Luke Bratch <l_bratch@yahoo.co.uk> | 2010-12-21 18:00:21 +0000 |
commit | c04ccc9cc3aa91c634880cbfd2d77b58d68189ad (patch) | |
tree | adf3565be9fa62b6c1092e53a621c69e756ad77b /intensemarcus.h | |
parent | 610c22ab2bf4ac2c6abbce7991436a910dafe5f6 (diff) |
Implement crouching
Diffstat (limited to 'intensemarcus.h')
-rw-r--r-- | intensemarcus.h | 2 |
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); |