Project

General

Profile

Statistics
| Revision:

root / proj / include / proj_macros.h @ 298

History | View | Annotate | Download (1.13 KB)

1 148 up20180655
#ifndef PROJ_MACROS_H_INCLUDED
2
#define PROJ_MACROS_H_INCLUDED
3
4 167 up20180655
// 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 231 up20180655
// Movement Constants
12
#define SHOOTER_SPEED   5   /** @brief Shooter speed */
13
#define BULLET_SPEED    8   /** @brief Bullet speet */
14
15 149 up20180655
// Refresh Rate
16
#define REFRESH_RATE    60      /** @brief Screen refresh rate */
17
18 151 up20180642
//Graphics mode
19 212 up20180642
#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 214 up20180642
#define MAX_SCALE       10.0                 /** @brief Maximum zoom */
23 151 up20180642
24 251 up20180655
// Colors
25 293 up20180642
#define TEXT_COLOR              0xFFFFFF
26
#define HIGHLIGHT_COLOR         0x404040
27 251 up20180655
#define DELIMITER_COLOR         0x404040
28
29 148 up20180655
#endif /* end of include guard: PROJ_MACROS_H_INCLUDED */