commit 24047621832f05a5cebbb2ae62b7a5f76ce9f61a
parent 63f4e71b1602d23cb6136151d88a7246a210cb84
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sun, 8 Jan 2023 13:25:12 +0900
change order of function prototypes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ex9/main.h b/ex9/main.h
@@ -58,15 +58,15 @@ struct OL {
extern void (* col_func[NUM_OBJ_TYPE][NUM_OBJ_TYPE])(struct Object *, struct Object *);
-void handle_collision(struct Object *, struct Object *);
void free_ol(struct OL *);
void free_obj_and_ol(struct OL *);
struct OL *addfront_ol(struct OL *, struct Object *);
void swap_ol(struct OL *, struct OL *);
void sort_ol(struct OL *, struct Object *);
-int object_dist(struct Object *, struct Object *);
void print_ol(struct OL *);
+int object_dist(struct Object *, struct Object *);
+void handle_collision(struct Object *, struct Object *);
int test_collision(struct Object *, struct Object *); // 1 if collide, 0 if not
void next_tick(struct Object *o, long);
void handle_collision_mf(struct Object *, struct Object *);