show correct gender in ^X display when polymorphed into non-humanoid form
for wizard and explore modes, skip second screen of ^X output when first
screen is cancelled by ESC
+for wizard mode, override confusion when using ^F to reveal map
polyself into minotaur causes hard headgear to fall off
with multiple leashes in use, 2nd had 50/50 chance of having unbounded length
GOLDOBJ: coins aren't subject to curses/blesses and don't need identification
document "sound" option in Guidebook
destroy traps that are buried by boulders dropped in water
renamed debug commands: light sources -> lightsources,
- monpoly_control -> monpolycontrol
+ monpoly_control -> monpolycontrol, poly -> polyself
detect attempt to swap places with big pet through narrow opening
stinking clouds in bones files do not get their ttl set reasonably
stinking clouds in bones files may incorrectly set player_inside
-/* SCCS Id: @(#)cmd.c 3.4 2002/09/01 */
+/* SCCS Id: @(#)cmd.c 3.4 2002/10/18 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
}
#endif
+/* #monster command - use special monster ability while polymorphed */
STATIC_PTR int
domonability()
{
}
#ifdef WIZARD
+
+/* ^W command - wish for something */
STATIC_PTR int
wiz_wish() /* Unlimited wishes for debug mode by Paul Polderman */
{
return 0;
}
+/* ^I command - identify hero's inventory */
STATIC_PTR int
wiz_identify()
{
return 0;
}
-/* reveal the level map and any traps on it */
+/* ^F command - reveal the level map and any traps on it */
STATIC_PTR int
wiz_map()
{
if (wizard) {
struct trap *t;
+ long save_Hconf = HConfusion,
+ save_Hhallu = HHallucination;
+ HConfusion = HHallucination = 0L;
for (t = ftrap; t != 0; t = t->ntrap) {
t->tseen = 1;
map_trap(t, TRUE);
}
do_mapping();
+ HConfusion = save_Hconf;
+ HHallucination = save_Hhallu;
} else
pline("Unavailable command '^F'.");
return 0;
}
+/* ^G command - generate monster(s); a count prefix will be honored */
STATIC_PTR int
wiz_genesis()
{
return 0;
}
+/* ^O command - display dungeon layout */
STATIC_PTR int
wiz_where()
{
return 0;
}
+/* ^E command - detect unseen (secret doors, traps, hidden monsters) */
STATIC_PTR int
wiz_detect()
{
return 0;
}
+/* ^V command - level teleport */
STATIC_PTR int
wiz_level_tele()
{
return 0;
}
+/* #monpolycontrol command - choose new form for shapechangers, polymorphees */
STATIC_PTR int
wiz_mon_polycontrol()
{
return 0;
}
-/* #levelchange command */
+/* #levelchange command - adjust hero's experience level */
STATIC_PTR int
wiz_level_change()
{
return 0;
}
+/* #panic command - test program's panic handling */
STATIC_PTR int
wiz_panic()
{
return 0;
}
+/* #polyself command - change hero's form */
STATIC_PTR int
wiz_polyself()
{
return 0;
}
+/* #seenv command */
STATIC_PTR int
wiz_show_seenv()
{
return 0;
}
+/* #vision command */
STATIC_PTR int
wiz_show_vision()
{
return 0;
}
+/* #wmode command */
STATIC_PTR int
wiz_show_wmodes()
{
{"lightsources", "show mobile light sources", wiz_light_sources, TRUE},
{"monpolycontrol", "control monster polymorphs", wiz_mon_polycontrol, TRUE},
{"panic", "test panic routine (fatal to game)", wiz_panic, TRUE},
- {"poly", "polymorph self", wiz_polyself, TRUE},
+ {"polyself", "polymorph self", wiz_polyself, TRUE},
{"seenv", "show seen vectors", wiz_show_seenv, TRUE},
{"stats", "show memory statistics", wiz_show_stats, TRUE},
{"timeout", "look at timeout queue", wiz_timeout_queue, TRUE},