X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=shape.h;h=9f7371d678f3c2d3b460b8d2907f77e2af61999d;hp=26b3b6315a1bf4b3bc931ca6bf5d4361b12f62ae;hb=1f33a47c0e3b72d6050b72926643812237dc3f49;hpb=d918241a08d6e8b1cc10b3c682edde8876a492ef 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