7 typedef union sprite Sprite;
14 int mw; // mask width (number of uint32's)
19 void get_shape(SDL_Surface *img, struct shape *s);
20 int collide(Sprite *r, Sprite *s);
21 int pixel_collide(unsigned int xdiff, unsigned int ydiff, struct shape *r);
27 #define SPRITE(x) ((Sprite *) (x))
65 struct base_sprite sprite;
74 SDL_Surface *load_image(char *filename);
75 void load_sprite(Sprite *sprite, char *filename);