Mercurial > repos > genjam1
comparison src/creep.h @ 7:3ed112d64b1b
Added basic creep spawning code
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 12 Jan 2014 15:22:22 -0800 |
parents | 8f23be2db808 |
children | c0bb53eaa6f4 |
comparison
equal
deleted
inserted
replaced
4:d73f53857e5f | 7:3ed112d64b1b |
---|---|
10 u16 health; | 10 u16 health; |
11 u8 species; | 11 u8 species; |
12 u8 direction; | 12 u8 direction; |
13 } creep; | 13 } creep; |
14 | 14 |
15 #define MAX_CREEPS 40 | |
16 extern u16 cur_creeps; | |
17 u16 spawn_creep(u8 species, s16 x, s16 y); | |
18 | |
15 #endif //CREEP_H_ | 19 #endif //CREEP_H_ |