forked from github/server
monster include structure, contd.
This commit is contained in:
parent
b0792b57e9
commit
0b623d0768
|
@ -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());
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue