From 5f0fce4191309e9526b7109a0d87c092ce6a4193 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Thu, 18 Feb 2021 14:14:23 +0100 Subject: main --- gst/map.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 gst/map.h (limited to 'gst/map.h') diff --git a/gst/map.h b/gst/map.h new file mode 100644 index 0000000..415281a --- /dev/null +++ b/gst/map.h @@ -0,0 +1,16 @@ +#ifndef MAP_H +#define MAP_H + +typedef struct { + int *t; + int sx; + int sy; + int ts; +} map; + +int ptoi (map *m, int *p); +int xytoi (map *m, int x, int y); +void map_init (map *m, int sx, int sy, int ts); +void map_destroy (map *m); + +#endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf