Revision 200
zoom controls
proj_macros.h | ||
---|---|---|
4 | 4 |
#include "graph_macros.h" |
5 | 5 |
|
6 | 6 |
// WASD Movement Keys |
7 |
#define W_MAKE_CODE 0x11 /** @brief W Make Code */ |
|
8 |
#define W_BREAK_CODE 0x91 /** @brief W Break Code */ |
|
9 |
#define A_MAKE_CODE 0x1E /** @brief A Make Code */ |
|
10 |
#define A_BREAK_CODE 0x9E /** @brief A Break Code */ |
|
11 |
#define S_MAKE_CODE 0x1F /** @brief S Make Code */ |
|
12 |
#define S_BREAK_CODE 0x9F /** @brief S Break Code */ |
|
13 |
#define D_MAKE_CODE 0x20 /** @brief D Make Code */ |
|
14 |
#define D_BREAK_CODE 0xA0 /** @brief D Break Code */ |
|
7 |
#define W_MAKE_CODE 0x11 /** @brief W Make Code */ |
|
8 |
#define W_BREAK_CODE 0x91 /** @brief W Break Code */ |
|
9 |
#define A_MAKE_CODE 0x1E /** @brief A Make Code */ |
|
10 |
#define A_BREAK_CODE 0x9E /** @brief A Break Code */ |
|
11 |
#define S_MAKE_CODE 0x1F /** @brief S Make Code */ |
|
12 |
#define S_BREAK_CODE 0x9F /** @brief S Break Code */ |
|
13 |
#define D_MAKE_CODE 0x20 /** @brief D Make Code */ |
|
14 |
#define D_BREAK_CODE 0xA0 /** @brief D Break Code */ |
|
15 |
#define CTRL_MAKE_CODE 0x1D /** @brief CTRL Make Code */ |
|
16 |
#define CTRL_BREAK_CODE 0x9D /** @brief CTRL Break Code */ |
|
17 |
#define PLUS_MAKE_CODE 0x1A /** @brief Plus (+) Make Code */ |
|
18 |
#define PLUS_BREAK_CODE 0x9A /** @brief Plus (+) Break Code */ |
|
19 |
#define MINUS_MAKE_CODE 0x35 /** @brief Minus (-) Make Code */ |
|
20 |
#define MINUS_BREAK_CODE 0xB5 /** @brief Minus (-) Break Code */ |
|
15 | 21 |
|
16 | 22 |
// Movement Directions |
17 | 23 |
#define UP -1 /** @brief Moving to the top side of screen */ |
... | ... | |
29 | 35 |
|
30 | 36 |
//Graphics mode |
31 | 37 |
#define GRAPH_MODE DIRECT_1280_1024_888 /** @brief Graphic mode used */ |
38 |
#define MIN_SCALE 0.3 /** @brief Minimum zoom */ |
|
39 |
#define DEFAULT_SCALE 1.0 /** @brief Default zoom */ |
|
40 |
#define MAX_SCALE 10.0 /** @brief Maximum zoom */ |
|
32 | 41 |
|
33 | 42 |
#endif /* end of include guard: PROJ_MACROS_H_INCLUDED */ |
Also available in: Unified diff