monster include structure, contd.

This commit is contained in:
Enno Rehling 2019-12-01 17:28:51 +01:00
parent b0792b57e9
commit 0b623d0768
2 changed files with 4 additions and 3 deletions

View File

@ -28,9 +28,6 @@ static int tolua_levitate_ship(lua_State * L)
return 1; return 1;
} }
extern void spawn_undead(void);
extern void plan_monsters(struct faction *f);
static int tolua_planmonsters(lua_State * L) static int tolua_planmonsters(lua_State * L)
{ {
faction *f = (faction *)tolua_tousertype(L, 1, get_monsters()); faction *f = (faction *)tolua_tousertype(L, 1, get_monsters());

View File

@ -21,6 +21,10 @@ extern "C" {
bool monster_is_waiting(const struct unit *u); bool monster_is_waiting(const struct unit *u);
void make_zombie(struct unit * u); void make_zombie(struct unit * u);
void spawn_undead(void);
void plan_monsters(struct faction *f);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif