From 3e45e8c0bdb2218bde1c861d14df7216316bbc05 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 26 Nov 2010 13:36:32 +0000 Subject: Implement player jumping --- intensemarcus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intensemarcus.h') diff --git a/intensemarcus.h b/intensemarcus.h index 8386411..8a4dd5a 100644 --- a/intensemarcus.h +++ b/intensemarcus.h @@ -16,6 +16,7 @@ const int ORIENT_BACK = 1; const int ORIENT_RIGHT = 2; const int ORIENT_LEFT = 3; const int GRAVITY = 3; +const int JUMP_STRENGTH = 40; SDL_Surface *loadImage(std::string filename); -- cgit v1.2.3