Project

General

Profile

Revision 220

gunner collisions

View differences:

ent.h
38 38
typedef struct map map_t;
39 39
map_t* (map_ctor)(const char **background, const char **collide);
40 40
void   (map_dtor)(map_t *p);
41
int    (map_collides)(const map_t *p, double x, double y);
41
int    (map_collides_point)(const map_t *p, double x, double y);
42
int    (map_collides_gunner)(const map_t *p, gunner_t *gunner);
43
int    (map_collides_bullet)(const map_t *p, bullet_t *bullet);
42 44
void   (map_draw)(map_t *p);
43 45

  
44 46
#endif //ENT_H_INCLUDED

Also available in: Unified diff