From 0b623d0768b38c51938e2d6eb4d38c83ec7ee05c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 1 Dec 2019 17:28:51 +0100 Subject: [PATCH] monster include structure, contd. --- src/bind_monsters.c | 3 --- src/monsters.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bind_monsters.c b/src/bind_monsters.c index f9aef4a2a..2acacfaa3 100644 --- a/src/bind_monsters.c +++ b/src/bind_monsters.c @@ -28,9 +28,6 @@ static int tolua_levitate_ship(lua_State * L) return 1; } -extern void spawn_undead(void); -extern void plan_monsters(struct faction *f); - static int tolua_planmonsters(lua_State * L) { faction *f = (faction *)tolua_tousertype(L, 1, get_monsters()); diff --git a/src/monsters.h b/src/monsters.h index 81f7e39a3..99d60a3fb 100644 --- a/src/monsters.h +++ b/src/monsters.h @@ -21,6 +21,10 @@ extern "C" { bool monster_is_waiting(const struct unit *u); void make_zombie(struct unit * u); + void spawn_undead(void); + void plan_monsters(struct faction *f); + + #ifdef __cplusplus } #endif