To The Flag by ML (mlefebvre.fr)
constants.h
Go to the documentation of this file.
1 
9 #ifndef H_CONSTANTS
10 #define H_CONSTANTS
11 
12  #define GAME_SPEED 12
13  #define WINDOW_WIDTH 640
14  #define WINDOW_HEIGHT 480
15  #define MARGIN 7
16  #define FONT_SIZE 26
17  #define X_START 0
18  #define Y_START 253
19  #define GROUND_DIFF 133
20  #define RAD_START 45
21  #define SPEED_START 50
22  #define FLAG_START 200
23  #define FLAG_HEIGHT 2
24  #define LINE_SIZE 50
25  #define G 9.81
26  #define PI 3.14159
27 
31  enum{FAIL, SUCCESS};
32 
33 #endif // H_CONSTANTS