JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
a76951dbecc0c9152778099102896b3644a5682d
[vor.git] / shape.h
1 #include <SDL/SDL.h>
2 #include <stdint.h>
3
4 struct shape {
5         int w, h;
6         int mw;
7         uint32_t *mask;
8 };
9
10 void get_shape(SDL_Surface *img, struct shape *s);
11 int collide(int xdiff, int ydiff, struct shape *r, struct shape *s);