splitting #if MAIL into #if MAIL_STRUCTURES and #if MAIL made it possible to
wish for and write scrolls of mail with MAIL disabled, but attempting
to read such a scroll issued impossible "What weird effect is this?"
+remove M2_MALE flag that was unintentionally left on dwarf lord/lady/leader
+ entry and was preventing female incarnations
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support
tiles
consolidate several monsters that differed only by their gender into their
single species
+added wizmgender debugging command to display female monsters in red inverse;
+ helpful for debugging gender-related matters on tty; currently ignored
+ on other window ports
Platform- and/or Interface-Specific New Features
E void NDECL(dump_map);
#endif
E void FDECL(reveal_terrain, (int, int));
+E int NDECL(wiz_mgender);
/* ### dig.c ### */
boolean cmdassist; /* provide detailed assistance for some comnds */
boolean time_botl; /* context.botl for 'time' (moves) only */
boolean wizweight; /* display weight of everything in wizard mode */
+ boolean wizmgender; /* test gender info from core in window port */
/*
* Window capability support.
*/
wiz_level_change, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
{ '\0', "lightsources", "show mobile light sources",
wiz_light_sources, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
+ { '\0', "wizmgender", "force added info about monster gender",
+ wiz_mgender, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
{ ':', "look", "look at what is here", dolook, IFBURIED },
{ M('l'), "loot", "loot a box on the floor", doloot, AUTOCOMPLETE },
#ifdef DEBUG_MIGRATING_MONS
return;
}
+int
+wiz_mgender(VOID_ARGS)
+{
+ iflags.wizmgender = !iflags.wizmgender;
+ pline("wizmgender toggled %s", iflags.wizmgender ? "on" : "off");
+ if (!u.uswallow)
+ see_monsters();
+ map_redisplay();
+ return 0; /* no time */
+}
+
/*detect.c*/
NO_ATTK, NO_ATTK, NO_ATTK),
SIZ(900, 300, MS_HUMANOID, MZ_HUMAN), 0, 0,
M1_TUNNEL | M1_NEEDPICK | M1_HUMANOID | M1_OMNIVORE,
- M2_DWARF | M2_STRONG | M2_LORD | M2_MALE | M2_GREEDY | M2_JEWELS
- | M2_COLLECT,
+ M2_DWARF | M2_STRONG | M2_LORD | M2_GREEDY | M2_JEWELS | M2_COLLECT,
M3_INFRAVISIBLE | M3_INFRAVISION, 6, CLR_BLUE),
MON3("dwarf king", "dwarf queen", "dwarf ruler",
S_HUMANOID, LVL(6, 6, 10, 20, 6), (G_GENO | 1),
- /* NetHack 3.7 wintty.c $NHDT-Date: 1608861214 2020/12/25 01:53:34 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.264 $ */
+/* NetHack 3.7 wintty.c $NHDT-Date: 1608861214 2020/12/25 01:53:34 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.264 $ */
/* Copyright (c) David Cohrs, 1991 */
/* NetHack may be freely redistributed. See license for details. */
#endif
#ifdef TEXTCOLOR
- if (color != ttyDisplay->color) {
+ if (iflags.wizmgender && (special & MG_FEMALE) && iflags.use_inverse) {
+ if (ttyDisplay->color != NO_COLOR)
+ term_end_color();
+ term_start_attr(ATR_INVERSE);
+ inverse_on = TRUE;
+ ttyDisplay->color = CLR_RED;
+ term_start_color(ttyDisplay->color);
+ } else if (color != ttyDisplay->color) {
if (ttyDisplay->color != NO_COLOR)
term_end_color();
ttyDisplay->color = color;