Project

General

Profile

Revision 298

implemented chat. changed place of some macros

View differences:

proj_macros.h
1 1
#ifndef PROJ_MACROS_H_INCLUDED
2 2
#define PROJ_MACROS_H_INCLUDED
3 3

  
4
// WASD Movement Keys
5
#define W_MAKE_CODE         0x11    /** @brief W Make Code */
6
#define W_BREAK_CODE        0x91    /** @brief W Break Code */
7
#define A_MAKE_CODE         0x1E    /** @brief A Make Code */
8
#define A_BREAK_CODE        0x9E    /** @brief A Break Code */
9
#define S_MAKE_CODE         0x1F    /** @brief S Make Code */
10
#define S_BREAK_CODE        0x9F    /** @brief S Break Code */
11
#define D_MAKE_CODE         0x20    /** @brief D Make Code */
12
#define D_BREAK_CODE        0xA0    /** @brief D Break Code */
13
#define CTRL_MAKE_CODE      0x1D    /** @brief CTRL Make Code */
14
#define CTRL_BREAK_CODE     0x9D    /** @brief CTRL Break Code */
15
#define PLUS_MAKE_CODE      0x1A    /** @brief Plus (+) Make Code */
16
#define PLUS_BREAK_CODE     0x9A    /** @brief Plus (+) Break Code */
17
#define MINUS_MAKE_CODE     0x35    /** @brief Minus (-) Make Code */
18
#define MINUS_BREAK_CODE    0xB5    /** @brief Minus (-) Break Code */
19
#define ENTER_MAKE_CODE     0x1C
20
#define ENTER_BREAK_CODE    0x9C
21

  
22 4
// Movement Directions
23 5
#define UP      -1  /** @brief Moving to the top side of screen */
24 6
#define DOWN    1   /** @brief Moving to the bottom side of screen */
......
30 12
#define SHOOTER_SPEED   5   /** @brief Shooter speed */
31 13
#define BULLET_SPEED    8   /** @brief Bullet speet */
32 14

  
33
// Game States
34
#define MENU            0
35
#define GAME            1
36
#define TEST            2
37
#define EXIT            3
38

  
39
// Extra Keys
40
#define ESC_MAKE_CODE   0x01    /** @brief ESC Make Code */
41
#define ESC_BREAK_CODE  0x81    /** @brief ESC Break Code */
42

  
43 15
// Refresh Rate
44 16
#define REFRESH_RATE    60      /** @brief Screen refresh rate */
45 17

  

Also available in: Unified diff