JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
c9a43fab48acc003c9d7084076bb7a9ad1b65294
[vor.git] / shape.h
1 #include <SDL/SDL.h>
2 #include <stdint.h>
3
4 struct shape {
5         uint32_t w, h;
6         uint32_t 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);