incoporated patches from Duong-Khang (stereo sound!) and Ricardo Cruz <rick2@aeiou...
[supertux.git] / src / defines.h
1 /*
2   defines.h
3   
4   Super Tux
5   
6   by Bill Kendrick
7   bill@newbreedsoftware.com
8   http://www.newbreedsoftware.com/supertux/
9
10   April 11, 2000 - December 28, 2003
11 */
12
13
14 #if !defined( SUPERTUX_DEFINES_H )
15
16         #define SUPERTUX_DEFINES_H
17         /* Version: */
18
19         #define VERSION "0.0.5"
20
21
22         /* Frames per second: */
23
24         #define FPS (1000 / 25)
25
26
27         /* Joystick buttons and axes: */
28
29         #define JOY_A 0
30         #define JOY_B 1
31
32         #define JOY_X 0
33         #define JOY_Y 1
34
35
36         /* Booleans: */
37
38         #define NO 0
39         #define YES 1
40
41         /* Debugging */
42
43         #ifdef DEBUG
44                 #define DEBUG_MSG( msg ) { \
45                         printf( msg ); printf("\n"); \
46                 }
47         #else
48                 #define DEBUG_MSG( msg ) {}
49         #endif
50
51 #endif
52