Merge branch 'NetHack-3.6.2'
This commit is contained in:
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.304 $ $NHDT-Date: 1555552900 2019/04/18 02:01:40 $
|
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.305 $ $NHDT-Date: 1555627306 2019/04/18 22:41:46 $
|
||||||
|
|
||||||
This fixes36.2 file is here to capture information about updates in the 3.6.x
|
This fixes36.2 file is here to capture information about updates in the 3.6.x
|
||||||
lineage following the release of 3.6.1 in April 2018. Please note, however,
|
lineage following the release of 3.6.1 in April 2018. Please note, however,
|
||||||
@@ -484,6 +484,7 @@ using 'O' to set status hilites for any status condition (Blind, &c) and
|
|||||||
retain one of the chosen attributes
|
retain one of the chosen attributes
|
||||||
when u.uhp==-1 became a flag to suppress status updating, if game ended when
|
when u.uhp==-1 became a flag to suppress status updating, if game ended when
|
||||||
hero died with exactly -1 HP, status would be blank during disclosure
|
hero died with exactly -1 HP, status would be blank during disclosure
|
||||||
|
mimic mimicking a shop item didn't show any shop price for whatis and glance
|
||||||
tty: turn off an optimization that is the suspected cause of Windows reported
|
tty: turn off an optimization that is the suspected cause of Windows reported
|
||||||
partial status lines following level changes
|
partial status lines following level changes
|
||||||
tty: ensure that current status fields are always copied to prior status
|
tty: ensure that current status fields are always copied to prior status
|
||||||
|
|||||||
+4
-2
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 do_name.c $NHDT-Date: 1549321230 2019/02/04 23:00:30 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.143 $ */
|
/* NetHack 3.6 do_name.c $NHDT-Date: 1555627306 2019/04/18 22:41:46 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.145 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Pasi Kallinen, 2018. */
|
/*-Copyright (c) Pasi Kallinen, 2018. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -1559,8 +1559,10 @@ namefloorobj()
|
|||||||
} else {
|
} else {
|
||||||
docall(obj);
|
docall(obj);
|
||||||
}
|
}
|
||||||
if (fakeobj)
|
if (fakeobj) {
|
||||||
|
obj->where = OBJ_FREE; /* object_from_map() sets it to OBJ_FLOOR */
|
||||||
dealloc_obj(obj);
|
dealloc_obj(obj);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *const ghostnames[] = {
|
static const char *const ghostnames[] = {
|
||||||
|
|||||||
+11
-3
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 pager.c $NHDT-Date: 1549334449 2019/02/05 02:40:49 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.150 $ */
|
/* NetHack 3.6 pager.c $NHDT-Date: 1555627307 2019/04/18 22:41:47 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.151 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Robert Patrick Rankin, 2018. */
|
/*-Copyright (c) Robert Patrick Rankin, 2018. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -123,8 +123,10 @@ char *outbuf;
|
|||||||
Strcat(outbuf, (otmp && otmp->otyp != STRANGE_OBJECT)
|
Strcat(outbuf, (otmp && otmp->otyp != STRANGE_OBJECT)
|
||||||
? ansimpleoname(otmp)
|
? ansimpleoname(otmp)
|
||||||
: an(obj_descr[STRANGE_OBJECT].oc_name));
|
: an(obj_descr[STRANGE_OBJECT].oc_name));
|
||||||
if (fakeobj)
|
if (fakeobj) {
|
||||||
|
otmp->where = OBJ_FREE; /* object_from_map set to OBJ_FLOOR */
|
||||||
dealloc_obj(otmp);
|
dealloc_obj(otmp);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
Strcat(outbuf, something);
|
Strcat(outbuf, something);
|
||||||
}
|
}
|
||||||
@@ -195,6 +197,10 @@ struct obj **obj_p;
|
|||||||
otmp->corpsenm = glyph - GLYPH_STATUE_OFF;
|
otmp->corpsenm = glyph - GLYPH_STATUE_OFF;
|
||||||
if (otmp->otyp == LEASH)
|
if (otmp->otyp == LEASH)
|
||||||
otmp->leashmon = 0;
|
otmp->leashmon = 0;
|
||||||
|
/* extra fields needed for shop price with doname() formatting */
|
||||||
|
otmp->where = OBJ_FLOOR;
|
||||||
|
otmp->ox = x, otmp->oy = y;
|
||||||
|
otmp->no_charge = (otmp->otyp == STRANGE_OBJECT && costly_spot(x, y));
|
||||||
}
|
}
|
||||||
/* if located at adjacent spot, mark it as having been seen up close
|
/* if located at adjacent spot, mark it as having been seen up close
|
||||||
(corpse type will be known even if dknown is 0, so we don't need a
|
(corpse type will be known even if dknown is 0, so we don't need a
|
||||||
@@ -226,8 +232,10 @@ int x, y, glyph;
|
|||||||
? distant_name(otmp, otmp->dknown ? doname_with_price
|
? distant_name(otmp, otmp->dknown ? doname_with_price
|
||||||
: doname_vague_quan)
|
: doname_vague_quan)
|
||||||
: obj_descr[STRANGE_OBJECT].oc_name);
|
: obj_descr[STRANGE_OBJECT].oc_name);
|
||||||
if (fakeobj)
|
if (fakeobj) {
|
||||||
|
otmp->where = OBJ_FREE; /* object_from_map set it to OBJ_FLOOR */
|
||||||
dealloc_obj(otmp), otmp = 0;
|
dealloc_obj(otmp), otmp = 0;
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
Strcpy(buf, something); /* sanity precaution */
|
Strcpy(buf, something); /* sanity precaution */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user