Revision 237
now loading bullet sprite only once
ent.h | ||
---|---|---|
34 | 34 |
|
35 | 35 |
struct bullet; |
36 | 36 |
typedef struct bullet bullet_t; |
37 |
bullet_t* (bullet_ctor)(const gunner_t *shooter, basic_sprite_t *b, double x, double y, double vx, double vy); |
|
37 |
bullet_t* (bullet_ctor)(const gunner_t *shooter, const basic_sprite_t *b, double x, double y, double vx, double vy);
|
|
38 | 38 |
void (bullet_dtor)(bullet_t *p); |
39 | 39 |
double (bullet_get_x) (const bullet_t *p); |
40 | 40 |
double (bullet_get_y) (const bullet_t *p); |
Also available in: Unified diff