Revision 267
correction on small mistake
ent.h | ||
---|---|---|
18 | 18 |
void (gunner_set_pos) (gunner_t *p, double x, double y); |
19 | 19 |
void (gunner_set_spawn) (gunner_t *p, double x, double y); |
20 | 20 |
void (gunner_set_angle) (gunner_t *p, double angle ); |
21 |
void (gunner_set_health) (gunner_t *p, int health);
|
|
22 |
void (gunner_set_curr_health) (gunner_t *p, int health);
|
|
21 |
void (gunner_set_health) (gunner_t *p, double health);
|
|
22 |
void (gunner_set_curr_health) (gunner_t *p, double health);
|
|
23 | 23 |
double (gunner_get_x) (const gunner_t *p); |
24 | 24 |
double (gunner_get_y) (const gunner_t *p); |
25 | 25 |
double (gunner_get_spawn_x) (const gunner_t *p); |
26 | 26 |
double (gunner_get_spawn_y) (const gunner_t *p); |
27 | 27 |
double (gunner_get_angle) (const gunner_t *p); |
28 |
int (gunner_get_health) (const gunner_t *p);
|
|
29 |
int (gunner_get_curr_health) (const gunner_t *p);
|
|
28 |
double (gunner_get_health) (const gunner_t *p);
|
|
29 |
double (gunner_get_curr_health) (const gunner_t *p);
|
|
30 | 30 |
int16_t (gunner_get_x_screen) (const gunner_t *p); |
31 | 31 |
int16_t (gunner_get_y_screen) (const gunner_t *p); |
32 | 32 |
void (gunner_draw)(gunner_t *p); |
... | ... | |
40 | 40 |
double (bullet_get_y) (const bullet_t *p); |
41 | 41 |
int16_t (bullet_get_x_screen)(const bullet_t *p); |
42 | 42 |
int16_t (bullet_get_y_screen)(const bullet_t *p); |
43 |
int (bullet_get_damage) (const bullet_t *p);
|
|
44 |
void (bullet_set_damage) (bullet_t *p, int damage);
|
|
43 |
double (bullet_get_damage) (const bullet_t *p);
|
|
44 |
void (bullet_set_damage) (bullet_t *p, double damage);
|
|
45 | 45 |
void (bullet_update_movement)(bullet_t *p); |
46 | 46 |
void (bullet_update_movement_list)(list_t *bullet_list); |
47 | 47 |
void (bullet_draw)(bullet_t *p); |
Also available in: Unified diff