Revision 231
shooting things, bit laggy, cause mostly known, to be fixed
proj_func.h | ||
---|---|---|
27 | 27 |
uint8_t ctrl_pressed : 1; |
28 | 28 |
uint8_t plus_pressed : 1; |
29 | 29 |
uint8_t minus_pressed : 1; |
30 |
uint8_t lb_pressed : 1; |
|
30 | 31 |
} keys_t; |
31 | 32 |
|
32 |
void update_mouse_position(struct packet *p);
|
|
33 |
void update_mouse(struct packet *p); |
|
33 | 34 |
|
35 |
keys_t* (get_key_presses)(void); |
|
36 |
|
|
37 |
void (shoot_bullet)(const gunner_t *shooter, list_t *bullet_list); |
|
38 |
|
|
39 |
void (update_game_state)(const map_t *map, gunner_t *shooter, list_t *bullet_list); |
|
40 |
|
|
34 | 41 |
void update_scale(void); |
35 | 42 |
|
36 | 43 |
int32_t get_mouse_X(void); |
Also available in: Unified diff