-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.h
More file actions
40 lines (30 loc) · 762 Bytes
/
Copy pathConstants.h
File metadata and controls
40 lines (30 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef CONSTANTS_H
#define CONSTANTS_H
#define FPS 60.0
#define DEBUG_MODE false
#define SCREEN_WIDTH 900
#define SCREEN_HEIGHT 450
#define BACKGROUND_WIDTH 1200
#define BACKGROUND_HEIGHT 600
#define MISSILE_SRC_WIDTH 25
#define MISSILE_SRC_HEIGHT 25
#define MISSILE_DST_WIDTH 35
#define MISSILE_DST_HEIGHT 35
#define LAUNCHER_SRC_WIDTH 152
#define LAUNCHER_SRC_HEIGHT 214
#define LAUNCHER_DST_WIDTH 114
#define LAUNCHER_DST_HEIGHT 161
#define MAX_HIGHSCORES 4
#define MISSILES 4
#define LEVEL_SIZE 8
//Fysics
#define LAUNCH_STRENGTH 8
#define GRAVITYCONSTANT 15
#define FRICTION 50
#define VELOCITYPRESCALER 100
//Animation constants
#define HITDURATION 15
#define TARGETANIMTIMING 50
#define MISSILE2ANIMTIMING 3
#define EXPLOSIONANIMTIMING 5
#endif