Merge branch 'master' into win32-x64-working
This commit is contained in:
@@ -302,6 +302,7 @@ finish
|
|||||||
# Recommended symset for blind players
|
# Recommended symset for blind players
|
||||||
# courtesy Michael Feir
|
# courtesy Michael Feir
|
||||||
start: NHAccess
|
start: NHAccess
|
||||||
|
Description: Recommended for blind players
|
||||||
S_stone: \032
|
S_stone: \032
|
||||||
S_vwall: \124
|
S_vwall: \124
|
||||||
S_hwall: \045
|
S_hwall: \045
|
||||||
|
|||||||
+2
-5
@@ -1342,15 +1342,12 @@ If you take enough precautions, you never need to take precautions.
|
|||||||
%e title
|
%e title
|
||||||
%e section
|
%e section
|
||||||
#-----------------------------------------------------
|
#-----------------------------------------------------
|
||||||
# Currently this section is not used. It is added
|
# Used for interaction with Death.
|
||||||
# to illustrate how these could be added and adapted
|
|
||||||
# should they be useful for something
|
|
||||||
#
|
#
|
||||||
%section Death
|
%section Death
|
||||||
%title Death Quotes (2)
|
%title Death Quotes (2)
|
||||||
%passage 1
|
%passage 1
|
||||||
WHERE THE FIRST PRIMAL CELL WAS, THERE WAS I ALSO. WHERE MAN IS, THERE AM I.
|
WHERE THE FIRST PRIMAL CELL WAS, THERE WAS I ALSO. WHERE MAN IS, THERE AM I. WHEN THE LAST LIFE CRAWLS UNDER FREEZING STARS, THERE WILL I BE.
|
||||||
WHEN THE LAST LIFE CRAWLS UNDER FREEZING STARS, THERE WILL I BE.
|
|
||||||
%e passage
|
%e passage
|
||||||
%passage 2
|
%passage 2
|
||||||
I AM DEATH, NOT TAXES. *I* TURN UP ONLY ONCE.
|
I AM DEATH, NOT TAXES. *I* TURN UP ONLY ONCE.
|
||||||
|
|||||||
+3
-3
@@ -375,7 +375,7 @@ init_showsyms()
|
|||||||
|
|
||||||
for (i = 0; i < MAXOTHER; i++) {
|
for (i = 0; i < MAXOTHER; i++) {
|
||||||
if (i == SYM_BOULDER)
|
if (i == SYM_BOULDER)
|
||||||
showsyms[i + SYM_OFF_X] = iflags.bouldersym;
|
showsyms[i + SYM_OFF_X] = iflags.bouldersym ? iflags.bouldersym : def_oc_syms[ROCK_CLASS].sym;
|
||||||
else if (i == SYM_INVISIBLE)
|
else if (i == SYM_INVISIBLE)
|
||||||
showsyms[i + SYM_OFF_X] = DEF_INVISIBLE;
|
showsyms[i + SYM_OFF_X] = DEF_INVISIBLE;
|
||||||
}
|
}
|
||||||
@@ -401,7 +401,7 @@ init_l_symbols()
|
|||||||
|
|
||||||
for (i = 0; i < MAXOTHER; i++) {
|
for (i = 0; i < MAXOTHER; i++) {
|
||||||
if (i == SYM_BOULDER)
|
if (i == SYM_BOULDER)
|
||||||
l_syms[i + SYM_OFF_X] = iflags.bouldersym;
|
l_syms[i + SYM_OFF_X] = iflags.bouldersym ? iflags.bouldersym : def_oc_syms[ROCK_CLASS].sym;
|
||||||
else if (i == SYM_INVISIBLE)
|
else if (i == SYM_INVISIBLE)
|
||||||
l_syms[i + SYM_OFF_X] = DEF_INVISIBLE;
|
l_syms[i + SYM_OFF_X] = DEF_INVISIBLE;
|
||||||
}
|
}
|
||||||
@@ -433,7 +433,7 @@ init_r_symbols()
|
|||||||
|
|
||||||
for (i = 0; i < MAXOTHER; i++) {
|
for (i = 0; i < MAXOTHER; i++) {
|
||||||
if (i == SYM_BOULDER)
|
if (i == SYM_BOULDER)
|
||||||
r_syms[i + SYM_OFF_X] = iflags.bouldersym;
|
r_syms[i + SYM_OFF_X] = iflags.bouldersym ? iflags.bouldersym : def_oc_syms[ROCK_CLASS].sym;
|
||||||
else if (i == SYM_INVISIBLE)
|
else if (i == SYM_INVISIBLE)
|
||||||
r_syms[i + SYM_OFF_X] = DEF_INVISIBLE;
|
r_syms[i + SYM_OFF_X] = DEF_INVISIBLE;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -135,7 +135,7 @@ unsigned *ospecial;
|
|||||||
cmap_color(offset);
|
cmap_color(offset);
|
||||||
} else if ((offset = (glyph - GLYPH_OBJ_OFF)) >= 0) { /* object */
|
} else if ((offset = (glyph - GLYPH_OBJ_OFF)) >= 0) { /* object */
|
||||||
idx = objects[offset].oc_class + SYM_OFF_O;
|
idx = objects[offset].oc_class + SYM_OFF_O;
|
||||||
if (offset == BOULDER && iflags.bouldersym)
|
if (offset == BOULDER)
|
||||||
idx = SYM_BOULDER + SYM_OFF_X;
|
idx = SYM_BOULDER + SYM_OFF_X;
|
||||||
if (has_rogue_color && iflags.use_color) {
|
if (has_rogue_color && iflags.use_color) {
|
||||||
switch (objects[offset].oc_class) {
|
switch (objects[offset].oc_class) {
|
||||||
|
|||||||
@@ -2434,7 +2434,8 @@ wake_nearby()
|
|||||||
continue;
|
continue;
|
||||||
if (distu(mtmp->mx, mtmp->my) < u.ulevel * 20) {
|
if (distu(mtmp->mx, mtmp->my) < u.ulevel * 20) {
|
||||||
mtmp->msleeping = 0;
|
mtmp->msleeping = 0;
|
||||||
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
if (!unique_corpstat(mtmp->data))
|
||||||
|
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
||||||
if (mtmp->mtame && !mtmp->isminion)
|
if (mtmp->mtame && !mtmp->isminion)
|
||||||
EDOG(mtmp)->whistletime = moves;
|
EDOG(mtmp)->whistletime = moves;
|
||||||
}
|
}
|
||||||
@@ -2453,7 +2454,8 @@ register int x, y, distance;
|
|||||||
continue;
|
continue;
|
||||||
if (distance == 0 || dist2(mtmp->mx, mtmp->my, x, y) < distance) {
|
if (distance == 0 || dist2(mtmp->mx, mtmp->my, x, y) < distance) {
|
||||||
mtmp->msleeping = 0;
|
mtmp->msleeping = 0;
|
||||||
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
if (!unique_corpstat(mtmp->data))
|
||||||
|
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -73,7 +73,7 @@ int distance;
|
|||||||
mtmp->mcanmove = 1;
|
mtmp->mcanmove = 1;
|
||||||
mtmp->mfrozen = 0;
|
mtmp->mfrozen = 0;
|
||||||
/* may scare some monsters -- waiting monsters excluded */
|
/* may scare some monsters -- waiting monsters excluded */
|
||||||
if ((mtmp->mstrategy & STRAT_WAITMASK) != 0)
|
if (!unique_corpstat(mtmp->data) && (mtmp->mstrategy & STRAT_WAITMASK) != 0)
|
||||||
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
||||||
else if (distm < distance / 3
|
else if (distm < distance / 3
|
||||||
&& !resist(mtmp, TOOL_CLASS, 0, NOTELL))
|
&& !resist(mtmp, TOOL_CLASS, 0, NOTELL))
|
||||||
@@ -195,7 +195,7 @@ struct monst *bugler; /* monster that played instrument */
|
|||||||
mtmp->mcanmove = 1;
|
mtmp->mcanmove = 1;
|
||||||
mtmp->mfrozen = 0;
|
mtmp->mfrozen = 0;
|
||||||
/* may scare some monsters -- waiting monsters excluded */
|
/* may scare some monsters -- waiting monsters excluded */
|
||||||
if ((mtmp->mstrategy & STRAT_WAITMASK) != 0)
|
if (!unique_corpstat(mtmp->data) && (mtmp->mstrategy & STRAT_WAITMASK) != 0)
|
||||||
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
mtmp->mstrategy &= ~STRAT_WAITMASK;
|
||||||
else if (distm < distance / 3
|
else if (distm < distance / 3
|
||||||
&& !resist(mtmp, TOOL_CLASS, 0, NOTELL))
|
&& !resist(mtmp, TOOL_CLASS, 0, NOTELL))
|
||||||
|
|||||||
+959
-947
File diff suppressed because it is too large
Load Diff
+10
-6
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 sounds.c $NHDT-Date: 1434421352 2015/06/16 02:22:32 $ $NHDT-Branch: master $:$NHDT-Revision: 1.64 $ */
|
/* NetHack 3.6 sounds.c $NHDT-Date: 1434750452 2015/06/19 21:47:32 $ $NHDT-Branch: master $:$NHDT-Revision: 1.68 $ */
|
||||||
/* Copyright (c) 1989 Janet Walz, Mike Threepoint */
|
/* Copyright (c) 1989 Janet Walz, Mike Threepoint */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -917,9 +917,11 @@ register struct monst *mtmp;
|
|||||||
tribtitle = noveltitle(&novelidx);
|
tribtitle = noveltitle(&novelidx);
|
||||||
}
|
}
|
||||||
if (tribtitle) {
|
if (tribtitle) {
|
||||||
Sprintf(verbuf,
|
Sprintf(verbuf, "Ah, so you have a copy of /%s/.", tribtitle);
|
||||||
"Ah, so you have a copy of '%s'. I may have been misquoted there.",
|
/* no Death featured in these two, so exclude them */
|
||||||
tribtitle);
|
if (!(strcmpi(tribtitle, "Snuff") == 0 ||
|
||||||
|
strcmpi(tribtitle, "The Wee Free Men") == 0))
|
||||||
|
Strcat(verbuf, " I may have been misquoted there.");
|
||||||
verbl_msg = verbuf;
|
verbl_msg = verbuf;
|
||||||
context.tribute.Deathnotice = 1;
|
context.tribute.Deathnotice = 1;
|
||||||
}
|
}
|
||||||
@@ -940,10 +942,12 @@ register struct monst *mtmp;
|
|||||||
else if (mtmp->mcan && verbl_msg_mcan)
|
else if (mtmp->mcan && verbl_msg_mcan)
|
||||||
verbalize1(verbl_msg_mcan);
|
verbalize1(verbl_msg_mcan);
|
||||||
else if (verbl_msg) {
|
else if (verbl_msg) {
|
||||||
if (ptr == &mons[PM_DEATH]) { /* Death talks in CAPITAL LETTERS */
|
if (ptr == &mons[PM_DEATH]) {
|
||||||
|
/* Death talks in CAPITAL LETTERS
|
||||||
|
and without quotation marks */
|
||||||
char tmpbuf[BUFSZ];
|
char tmpbuf[BUFSZ];
|
||||||
Sprintf(tmpbuf, "%s", verbl_msg);
|
Sprintf(tmpbuf, "%s", verbl_msg);
|
||||||
verbalize1(ucase(tmpbuf));
|
pline(ucase(tmpbuf));
|
||||||
} else {
|
} else {
|
||||||
verbalize1(verbl_msg);
|
verbalize1(verbl_msg);
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 version.c $NHDT-Date: 1434505545 2015/06/17 01:45:45 $ $NHDT-Branch: master $:$NHDT-Revision: 1.35 $ */
|
/* NetHack 3.6 version.c $NHDT-Date: 1434669434 2015/06/18 23:17:14 $ $NHDT-Branch: master $:$NHDT-Revision: 1.36 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "patchlevel.h"
|
#include "patchlevel.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BETA_INFO "Beta2"
|
#define BETA_INFO "Beta3"
|
||||||
|
|
||||||
STATIC_DCL void FDECL(insert_rtoptions, (winid,char *,const char *));
|
STATIC_DCL void FDECL(insert_rtoptions, (winid,char *,const char *));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user