X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=rocks.h;h=ab5df75b3dd7ff647ece64a39fc5f6c3bd9a645c;hp=34684389dae304284981073a612e01cfafdce8e5;hb=f8a464d8eed8cf611c0c3f80166d2a650efb1485;hpb=46dacbe75dac20a1c6e1b61a2eb99ca25fc971ec diff --git a/rocks.h b/rocks.h index 3468438..ab5df75 100644 --- a/rocks.h +++ b/rocks.h @@ -1,10 +1,13 @@ -#include -#include "shape.h" +#include "sprite.h" int init_rocks(void); -void new_rocks(void); void reset_rocks(void); + +void new_rocks(void); void move_rocks(void); void draw_rocks(void); -int hit_rocks(float x, float y, struct shape *shape); + +int hit_rocks(Sprite *s); +int pixel_hit_rocks(float x, float y); + void blast_rocks(float x, float y, float radius, int onlyslow);