6 by Bill Kendrick & Tobias Glaesser <tobi.web@gmx.de>
7 bill@newbreedsoftware.com
8 http://www.newbreedsoftware.com/supertux/
10 April 11, 2000 - March 15, 2004
14 #if !defined( SUPERTUX_DEFINES_H )
16 #define SUPERTUX_DEFINES_H
20 #define VERSION "0.0.5-0.0.6-CVS"
23 /* Frames per second: */
25 #define FPS (1000 / 25)
28 /* Joystick buttons and axes: */
36 /* Direction (keyboard/joystick) states: */
65 /* Speed constraints: */
67 #define MAX_WALK_XM 2.3
68 #define MAX_RUN_XM 3.2
70 #define MAX_JUMP_TIME 375
73 #define WALK_SPEED 1.0
75 #define JUMP_SPEED 1.2
78 #define YM_FOR_JUMP 6.0
79 #define KILL_BOUNCE_YM 8.0
84 /* Size constraints: */
86 #define OFFSCREEN_DISTANCE 256
88 #define LEVEL_WIDTH 375
94 #define DEBUG_MSG( msg ) { \
95 printf( msg ); printf("\n"); \
98 #define DEBUG_MSG( msg ) {}