interference/include/hook.h

18 lines
230 B
C
Raw Permalink Normal View History

2022-01-08 19:19:02 +01:00
#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);