Revision 231
shooting things, bit laggy, cause mostly known, to be fixed
ent.h | ||
---|---|---|
2 | 2 |
#define ENT_H_INCLUDED |
3 | 3 |
|
4 | 4 |
#include "sprite.h" |
5 |
#include "list.h" |
|
5 | 6 |
|
6 | 7 |
void (ent_set_scale) (double n); |
7 | 8 |
void (ent_set_origin)(double x, double y); |
... | ... | |
20 | 21 |
void (gunner_set_curr_health) (gunner_t *p, int health); |
21 | 22 |
double (gunner_get_x) (const gunner_t *p); |
22 | 23 |
double (gunner_get_y) (const gunner_t *p); |
24 |
double (gunner_get_angle) (const gunner_t *p); |
|
23 | 25 |
int (gunner_get_health) (const gunner_t *p); |
24 | 26 |
int (gunner_get_curr_health) (const gunner_t *p); |
25 | 27 |
int16_t (gunner_get_x_screen) (const gunner_t *p); |
... | ... | |
38 | 40 |
int (bullet_get_damage) (const bullet_t *p); |
39 | 41 |
void (bullet_set_damage) (bullet_t *p, int damage); |
40 | 42 |
void (bullet_update_movement)(bullet_t *p); |
43 |
void (bullet_update_movement_list)(list_t *bullet_list); |
|
41 | 44 |
void (bullet_draw)(bullet_t *p); |
45 |
void (bullet_draw_list)(list_t *bullet_list); |
|
42 | 46 |
void (gunner_draw_health)(const gunner_t *p); |
43 | 47 |
|
44 | 48 |
struct map; |
Also available in: Unified diff