comparison src/creep.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 a9500e8bff93
children
comparison
equal deleted inserted replaced
19:08f2bcf3447f 20:51a0972fcf76
15 u8 direction; 15 u8 direction;
16 } creep; 16 } creep;
17 17
18 #define MAX_CREEPS 40 18 #define MAX_CREEPS 40
19 extern u16 cur_creeps; 19 extern u16 cur_creeps;
20 extern u16 distances[20*14]; 20
21 u16 spawn_creep(u8 species, s16 x, s16 y); 21 u16 spawn_creep(u8 species, s16 x, s16 y);
22 void gen_distances(u16 x, u16 y);
23 void print_distances(void);
24 void update_creeps(void); 22 void update_creeps(void);
25 23
26 #endif //CREEP_H_ 24 #endif //CREEP_H_