#pragma once #include "type.h" #define HOOK_T 9 struct Hook { struct Vec2 pos; }; struct Hook_table { int n; struct Hook *hooks; }; void hook_table_init(void); int hook_nb(void); struct Vec2 hook_closest(struct Vec2 *pos);