diff src/map.h @ 20:51a0972fcf76

Move some tilemap/distance stuff out of creep.c and main.c into a separate source file
author Michael Pavone <pavone@retrodev.com>
date Sun, 12 Jan 2014 22:43:03 -0800
parents
children bb7dfb42b320
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/map.h	Sun Jan 12 22:43:03 2014 -0800
@@ -0,0 +1,9 @@
+#ifndef MAP_H_
+#define MAP_H_
+
+extern u16 distances[20*14];
+extern u16 tilemap[40*28];
+void gen_distances(u16 x, u16 y);
+void print_distances(void);
+
+#endif //MAP_H_