diff src/creep.h @ 16:a9500e8bff93

Wait to spawn creeps until player hits start. Prevent player from placing walls in such a way to completely block creeps from goal. Remove placeholder walls.
author Mike Pavone <pavone@retrodev.com>
date Sun, 12 Jan 2014 19:01:30 -0800
parents 5c7f33441e43
children 51a0972fcf76
line wrap: on
line diff
--- a/src/creep.h	Sun Jan 12 18:49:29 2014 -0800
+++ b/src/creep.h	Sun Jan 12 19:01:30 2014 -0800
@@ -17,6 +17,7 @@
 
 #define MAX_CREEPS 40
 extern u16 cur_creeps;
+extern u16 distances[20*14];
 u16 spawn_creep(u8 species, s16 x, s16 y);
 void gen_distances(u16 x, u16 y);
 void print_distances(void);