Lua: remove dgn_comp, use lua instead
This commit is contained in:
@@ -18,22 +18,24 @@ struct couple {
|
||||
};
|
||||
|
||||
struct tmpdungeon {
|
||||
char name[24], protoname[24];
|
||||
char *name, *protoname;
|
||||
struct couple lev;
|
||||
int flags, chance, levels, branches,
|
||||
entry_lev; /* entry level for this dungeon */
|
||||
char boneschar;
|
||||
int align;
|
||||
};
|
||||
|
||||
struct tmplevel {
|
||||
char name[24];
|
||||
char *name;
|
||||
char *chainlvl;
|
||||
struct couple lev;
|
||||
int chance, rndlevs, chain, flags;
|
||||
char boneschar;
|
||||
};
|
||||
|
||||
struct tmpbranch {
|
||||
char name[24]; /* destination dungeon name */
|
||||
char *name; /* destination dungeon name */
|
||||
struct couple lev;
|
||||
int chain; /* index into tmplevel array (chained branch)*/
|
||||
int type; /* branch type (see below) */
|
||||
|
||||
@@ -1655,6 +1655,8 @@ E struct selectionvar *FDECL(l_selection_check, (lua_State *, int));
|
||||
E int FDECL(l_selection_register, (lua_State *));
|
||||
|
||||
/* ### nhlua.c ### */
|
||||
E lua_State * NDECL(nhl_init);
|
||||
E boolean FDECL(nhl_loadlua, (lua_State *, const char *));
|
||||
E boolean FDECL(load_lua, (const char *));
|
||||
E void FDECL(nhl_error, (lua_State *, const char *));
|
||||
E void FDECL(lcheck_param_table, (lua_State *));
|
||||
|
||||
Reference in New Issue
Block a user