two minor core changes for hypothetical Amiga cross port

The tilemap change provides three variables that used to be
uppercase compile macros in the past, and Amiga (and other ports?) used
them.

The other change just uncomments the header file include.
This commit is contained in:
nhmall
2022-02-01 17:11:35 -05:00
parent 83dcb5772b
commit 3a4302773d
2 changed files with 5 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ typedef uchar nhsym;
/* amiconf.h needs to be the last nested #include of config.h because
'make depend' will turn it into a comment, hiding anything after it */
#ifdef AMIGA
/*#include "amiconf.h"*/
#include "amiconf.h"
#endif
/* Displayable name of this port; don't redefine if defined in *conf.h */

View File

@@ -1337,7 +1337,10 @@ main(int argc UNUSED, char *argv[] UNUSED)
Fprintf(ofp, "\nint total_tiles_used = %d,\n", laststatuetile + 1);
Fprintf(ofp, "%sTile_corr = %d,\n", indent, TILE_corr); /* X11 references it */
Fprintf(ofp, "%sTile_stone = %d,\n", indent, TILE_stone);
Fprintf(ofp, "%sTile_unexplored = %d;\n\n", indent, TILE_unexplored);
Fprintf(ofp, "%sTile_unexplored = %d;\n", indent, TILE_unexplored);
Fprintf(ofp, "%smaxmontile = %d;\n", indent, lastmontile);
Fprintf(ofp, "%smaxobjtile = %d;\n", indent, lastobjtile);
Fprintf(ofp, "%smaxothtile = %d;\n\n", indent, lastothtile);
Fprintf(ofp,
"/* glyph, ttychar, { color, symidx, ovidx, glyphflags, tileidx} */\n");
Fprintf(ofp, "const glyph_info nul_glyphinfo = { \n");