root / proj / include / proj_macros.h @ 317
History | View | Annotate | Download (1.21 KB)
1 |
#ifndef PROJ_MACROS_H_INCLUDED
|
---|---|
2 |
#define PROJ_MACROS_H_INCLUDED
|
3 |
|
4 |
// Movement Directions
|
5 |
#define UP -1 /** @brief Moving to the top side of screen */ |
6 |
#define DOWN 1 /** @brief Moving to the bottom side of screen */ |
7 |
#define LEFT -1 /** @brief Moving to the left side of screen */ |
8 |
#define RIGHT 1 /** @brief Moving to the right side of screen */ |
9 |
#define REST 0 /** @brief Not moving */ |
10 |
|
11 |
// Movement Constants
|
12 |
#define SHOOTER_SPEED 5 /** @brief Shooter speed */ |
13 |
#define BULLET_SPEED 8 /** @brief Bullet speet */ |
14 |
|
15 |
// Refresh Rate
|
16 |
#define REFRESH_RATE 60 /** @brief Screen refresh rate */ |
17 |
|
18 |
//Graphics mode
|
19 |
#define GRAPH_MODE DIRECT_1024_768_888 /** @brief Graphic mode used */ |
20 |
#define MIN_SCALE 0.2 /** @brief Minimum zoom */ |
21 |
#define DEFAULT_SCALE 0.5 /** @brief Default zoom */ |
22 |
#define MAX_SCALE 10.0 /** @brief Maximum zoom */ |
23 |
|
24 |
// Colors
|
25 |
#define TEXT_COLOR 0xFFFFFF |
26 |
#define HIGHLIGHT_COLOR 0x404040 |
27 |
#define DELIMITER_COLOR 0x404040 |
28 |
|
29 |
#define MELEE_RANGE 80 |
30 |
#define MELEE_DAMAGE 1 |
31 |
|
32 |
#define ZOMBIE_SPEED 1.0 |
33 |
|
34 |
#endif /* end of include guard: PROJ_MACROS_H_INCLUDED */ |