Project

General

Profile

Revision 336

even more docs

View differences:

ent.h
16 16
#define GUNNER_PLAYER   BIT(2)
17 17
#define GUNNER_FOLLOW   BIT(3)
18 18

  
19
struct gunner;
20 19
typedef struct gunner gunner_t;
21 20
gunner_t* (gunner_ctor)(basic_sprite_t *dude, basic_sprite_t *weapon, uint16_t type, int team);
22 21
void      (gunner_dtor)(gunner_t *p);
......
41 40

  
42 41
double (gunner_distance)(const gunner_t *p1, const gunner_t *p2);
43 42

  
44
struct bullet;
45 43
typedef struct bullet bullet_t;
46 44
bullet_t* (bullet_ctor)(const gunner_t *shooter, const basic_sprite_t *b, double x, double y, double vx, double vy);
47 45
void      (bullet_dtor)(bullet_t *p);
......
62 60
void (bullet_draw_list)(list_t *bullet_list);
63 61
void (gunner_draw_health)(const gunner_t *p);
64 62

  
65
struct map;
66 63
typedef struct map map_t;
67 64
map_t* (map_ctor)(const char *const *background, const char *const *collide);
68 65
void   (map_dtor)(map_t *p);

Also available in: Unified diff