X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=shape.h;h=9f7371d678f3c2d3b460b8d2907f77e2af61999d;hp=26b3b6315a1bf4b3bc931ca6bf5d4361b12f62ae;hb=2b5dd5bc0eb1739dd744de6f565d0f3a7ae02c95;hpb=36430b3c87da1304d1de5bf9d294545f46d6f3a0 diff --git a/shape.h b/shape.h index 26b3b63..9f7371d 100644 --- a/shape.h +++ b/shape.h @@ -13,5 +13,6 @@ struct shape { void get_shape(SDL_Surface *img, struct shape *s); int collide(int xdiff, int ydiff, struct shape *r, struct shape *s); +int pixel_collide(unsigned int xoff, unsigned int yoff, struct shape *r); #endif // VOR_SHAPE_H