some build fix-ups
This commit is contained in:
@@ -148,7 +148,7 @@ static int NDECL(wiz_where);
|
||||
static int NDECL(wiz_detect);
|
||||
static int NDECL(wiz_panic);
|
||||
static int NDECL(wiz_polyself);
|
||||
STATIC_PTR int NDECL(wiz_load_lua);
|
||||
static int NDECL(wiz_load_lua);
|
||||
static int NDECL(wiz_level_tele);
|
||||
static int NDECL(wiz_level_change);
|
||||
static int NDECL(wiz_show_seenv);
|
||||
@@ -874,7 +874,7 @@ boolean pre, wiztower;
|
||||
}
|
||||
|
||||
/* #wizmakemap - discard current dungeon level and replace with a new one */
|
||||
STATIC_PTR int
|
||||
static int
|
||||
wiz_makemap(VOID_ARGS)
|
||||
{
|
||||
if (wizard) {
|
||||
@@ -945,7 +945,7 @@ wiz_detect(VOID_ARGS)
|
||||
return 0;
|
||||
}
|
||||
|
||||
STATIC_PTR int
|
||||
static int
|
||||
wiz_load_lua(VOID_ARGS)
|
||||
{
|
||||
if (wizard) {
|
||||
@@ -961,7 +961,7 @@ wiz_load_lua(VOID_ARGS)
|
||||
return 0;
|
||||
}
|
||||
|
||||
STATIC_PTR int
|
||||
static int
|
||||
wiz_load_splua(VOID_ARGS)
|
||||
{
|
||||
if (wizard) {
|
||||
|
||||
@@ -14,7 +14,7 @@ static void FDECL(mksink, (struct mkroom *));
|
||||
static void FDECL(mkaltar, (struct mkroom *));
|
||||
static void FDECL(mkgrave, (struct mkroom *));
|
||||
static void NDECL(makevtele);
|
||||
static void NDECL(clear_level_structures);
|
||||
void NDECL(clear_level_structures);
|
||||
static void NDECL(makelevel);
|
||||
static boolean FDECL(bydoor, (XCHAR_P, XCHAR_P));
|
||||
static struct mkroom *FDECL(find_branch_room, (coord *));
|
||||
|
||||
56
src/nhlsel.c
56
src/nhlsel.c
@@ -6,34 +6,34 @@
|
||||
#include "sp_lev.h"
|
||||
|
||||
/* lua_CFunction prototypes */
|
||||
STATIC_DCL int FDECL(l_selection_new, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_clone, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_getpoint, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_setpoint, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_not, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_filter_percent, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_rndcoord, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_line, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_randline, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_rect, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_fillrect, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_fillrect, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_grow, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_filter_mapchar, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_flood, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_circle, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_ellipse, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_gradient, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_iterate, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_gc, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_not, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_and, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_or, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_xor, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_not, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_add, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_sub, (lua_State *));
|
||||
STATIC_DCL int FDECL(l_selection_ipairs, (lua_State *));
|
||||
static int FDECL(l_selection_new, (lua_State *));
|
||||
static int FDECL(l_selection_clone, (lua_State *));
|
||||
static int FDECL(l_selection_getpoint, (lua_State *));
|
||||
static int FDECL(l_selection_setpoint, (lua_State *));
|
||||
static int FDECL(l_selection_not, (lua_State *));
|
||||
static int FDECL(l_selection_filter_percent, (lua_State *));
|
||||
static int FDECL(l_selection_rndcoord, (lua_State *));
|
||||
static int FDECL(l_selection_line, (lua_State *));
|
||||
static int FDECL(l_selection_randline, (lua_State *));
|
||||
static int FDECL(l_selection_rect, (lua_State *));
|
||||
static int FDECL(l_selection_fillrect, (lua_State *));
|
||||
static int FDECL(l_selection_fillrect, (lua_State *));
|
||||
static int FDECL(l_selection_grow, (lua_State *));
|
||||
static int FDECL(l_selection_filter_mapchar, (lua_State *));
|
||||
static int FDECL(l_selection_flood, (lua_State *));
|
||||
static int FDECL(l_selection_circle, (lua_State *));
|
||||
static int FDECL(l_selection_ellipse, (lua_State *));
|
||||
static int FDECL(l_selection_gradient, (lua_State *));
|
||||
static int FDECL(l_selection_iterate, (lua_State *));
|
||||
static int FDECL(l_selection_gc, (lua_State *));
|
||||
static int FDECL(l_selection_not, (lua_State *));
|
||||
static int FDECL(l_selection_and, (lua_State *));
|
||||
static int FDECL(l_selection_or, (lua_State *));
|
||||
static int FDECL(l_selection_xor, (lua_State *));
|
||||
static int FDECL(l_selection_not, (lua_State *));
|
||||
static int FDECL(l_selection_add, (lua_State *));
|
||||
static int FDECL(l_selection_sub, (lua_State *));
|
||||
static int FDECL(l_selection_ipairs, (lua_State *));
|
||||
|
||||
struct selectionvar *
|
||||
l_selection_check(L, index)
|
||||
|
||||
30
src/nhlua.c
30
src/nhlua.c
@@ -14,21 +14,21 @@
|
||||
/* */
|
||||
|
||||
/* lua_CFunction prototypes */
|
||||
STATIC_DCL int FDECL(nhl_test, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_getmap, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_setmap, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_pline, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_verbalize, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_menu, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_getlin, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_makeplural, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_makesingular, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_s_suffix, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_ing_suffix, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_an, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_meta_u_index, (lua_State *));
|
||||
STATIC_DCL int FDECL(nhl_meta_u_newindex, (lua_State *));
|
||||
STATIC_DCL int FDECL(traceback_handler, (lua_State *));
|
||||
static int FDECL(nhl_test, (lua_State *));
|
||||
static int FDECL(nhl_getmap, (lua_State *));
|
||||
static int FDECL(nhl_setmap, (lua_State *));
|
||||
static int FDECL(nhl_pline, (lua_State *));
|
||||
static int FDECL(nhl_verbalize, (lua_State *));
|
||||
static int FDECL(nhl_menu, (lua_State *));
|
||||
static int FDECL(nhl_getlin, (lua_State *));
|
||||
static int FDECL(nhl_makeplural, (lua_State *));
|
||||
static int FDECL(nhl_makesingular, (lua_State *));
|
||||
static int FDECL(nhl_s_suffix, (lua_State *));
|
||||
static int FDECL(nhl_ing_suffix, (lua_State *));
|
||||
static int FDECL(nhl_an, (lua_State *));
|
||||
static int FDECL(nhl_meta_u_index, (lua_State *));
|
||||
static int FDECL(nhl_meta_u_newindex, (lua_State *));
|
||||
static int FDECL(traceback_handler, (lua_State *));
|
||||
|
||||
void
|
||||
nhl_error(L, msg)
|
||||
|
||||
Reference in New Issue
Block a user