Platform- and/or Interface-Specific Fixes
-----------------------------------------
tiles: wrinkled spellbook had a spurious brown pixel on far right edge of tile
+tiles: when statues are displayed as corresponding monsters, total_tiles_used
+ in generated src/tile.c had incorrect value
tty: M-N gave "Unknown command 'M-" with "'." finishing the sentence on the
line below it, leaving bogus '.' displayed on the top row of the map
tty: specifying all four of role, race, gender, and alignment still prompted
X11: make the getline text entry widget display a bigger text entry area
X11: color didn't work when the map was displayed as text rather than tiles
X11: use grayscale monster tiles for statues
+X11/USE_XPM: [post-3.6.0 issue] the 'tiles' bug of incorrect total_tiles_used
+ for STATUES_LOOK_LIKE_MONSTERS broke XPM manipulation of tiles data
General New Features
-/* NetHack 3.6 tilemap.c $NHDT-Date: 1465163425 2016/06/05 21:50:25 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.30 $ */
+/* NetHack 3.6 tilemap.c $NHDT-Date: 1470537037 2016/08/07 02:30:37 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.32 $ */
/* NetHack may be freely redistributed. See license for details. */
/*
fprintf(ofp, "%s\n", epilog[i]);
}
- fprintf(ofp, "\nint total_tiles_used = %d;\n", start);
lastothtile = start - 1;
+#ifdef STATUES_LOOK_LIKE_MONSTERS
+ start = laststatuetile + 1;
+#endif
+ fprintf(ofp, "\nint total_tiles_used = %d;\n", start);
}
int
fprintf(ofp, "\n#define MAXMONTILE %d\n", lastmontile);
fprintf(ofp, "#define MAXOBJTILE %d\n", lastobjtile);
fprintf(ofp, "#define MAXOTHTILE %d\n", lastothtile);
-
+#ifdef STATUES_LOOK_LIKE_MONSTERS
+ fprintf(ofp, "/* #define MAXSTATUETILE %d */\n", laststatuetile);
+#endif
fprintf(ofp, "\n/*tile.c*/\n");
fclose(ofp);