From 44dd6ad61dfed5d89f8abf7e8f41797501f071cc Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 25 Sep 2024 17:16:54 -0400 Subject: refactor graphics functions --- balls.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'balls.h') 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); -- cgit v1.2.3