summaryrefslogtreecommitdiffstats
path: root/balls.h
diff options
context:
space:
mode:
Diffstat (limited to 'balls.h')
-rw-r--r--balls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/balls.h b/balls.h
index 69adde9..0e98506 100644
--- a/balls.h
+++ b/balls.h
@@ -32,6 +32,10 @@ Point ptaddv(Point p, Vec v);
Vec V(double x, double y);
Vec Vpt(Point p, Point q);
+void drawbg(Image *walls, Image *bg);
+Image *alloccircle(int fg, int bg);
+void drawcircle(Image *m, Point pos);
+
int iscollision(Point p, Point q);
void collideball(Ball *b1, const Ball *b2);
void collidewall(Ball *b, Rectangle wall);