Revision 311
multiplayer initial
proj_func.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
#include "ent.h" |
5 | 5 |
#include "font.h" |
6 |
#include "proj_structures.h" |
|
6 | 7 |
|
7 | 8 |
#include <stdint.h> |
8 | 9 |
|
... | ... | |
13 | 14 |
*/ |
14 | 15 |
int cleanup(void); |
15 | 16 |
|
16 |
typedef struct keys { |
|
17 |
uint8_t w_pressed : 1; |
|
18 |
uint8_t a_pressed : 1; |
|
19 |
uint8_t s_pressed : 1; |
|
20 |
uint8_t d_pressed : 1; |
|
21 |
uint8_t ctrl_pressed : 1; |
|
22 |
uint8_t plus_pressed : 1; |
|
23 |
uint8_t minus_pressed : 1; |
|
24 |
uint8_t lb_pressed : 1; |
|
25 |
} keys_t; |
|
26 |
|
|
27 | 17 |
void update_key_presses(void); |
28 | 18 |
|
29 | 19 |
/** |
Also available in: Unified diff