diff options
Diffstat (limited to 'gst/map.h')
-rw-r--r-- | gst/map.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 |