Revert "build fix for platforms that have no LUA awareness during makedefs compile"

This reverts commit eb704832a9.

That fix was insufficient.

The addition of
    lua_State *themelua;
to the dungeon struct in dungeon.h prevents the build of host-side utilities that
include "hack.h" via the CROSSCOMPILER_HOST. Unfortunately, it is no longer possible
to cross-compile NetHack 3.7. That includes the cross-compiled MSDOS build.
This commit is contained in:
nhmall
2020-05-02 17:17:40 -04:00
parent 4d52332dda
commit e15b30e9c5

View File

@@ -53,7 +53,6 @@ typedef struct dest_area { /* non-stairway level change identifier */
xchar nhx, nhy; /* opposite corner of invalid area */
} dest_area;
#ifndef MAKEDEFS_C
typedef struct dungeon { /* basic dungeon identifier */
char dname[24]; /* name of the dungeon (eg. "Hell") */
char proto[15]; /* name of prototype file (eg. "tower") */
@@ -68,7 +67,6 @@ typedef struct dungeon { /* basic dungeon identifier */
depth_start; /* the starting depth in "logical" terms */
lua_State *themelua; /* themerms compiled lua */
} dungeon;
#endif /* MAKEDEFS_C */
/*
* A branch structure defines the connection between two dungeons. They