Commit Graph

1154 Commits

Author SHA1 Message Date
arromdee
a74489a014 unicorn horn in potion
Fix beta bug #3021.  I also took out the redundant wishing entry.
2002-02-09 07:19:13 +00:00
cohrs
62d38baab6 shattered statue rocks
move shattered statue rocks to the top of the pile
helps when the player is Blind, gives away less
2002-02-09 04:12:48 +00:00
cohrs
aac7f717c2 verb agreement
add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
2002-02-09 00:30:33 +00:00
cohrs
91c5521009 verb agreement
add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
2002-02-09 00:24:49 +00:00
cohrs
cf37a7bac0 verb agreement
add and use new APIs, Tobjnam, otense and vtense, is_plural
to determine tense/form of verbs and a few pronouns as well
2002-02-09 00:16:35 +00:00
nethack.allison
5a8cf1c4c1 Some win32 updates from <Someone>;
also corrects a cut-and-paste error that I made in options.c

The following options can be set in the game now:

  WC_HILITE_PET
  WC_ALIGN_MESSAGE
  WC_ALIGN_STATUS
  WC_SCROLL_MARGIN
  WC_MAP_MODE
  WC_FONT_MESSAGE
  WC_FONT_STATUS
  WC_FONT_MENU
  WC_FONT_TEXT
  WC_FONTSIZ_MESSAGE
  WC_FONTSIZ_STATUS
  WC_FONTSIZ_MENU
  WC_FONTSIZ_TEXT
2002-02-08 11:32:56 +00:00
nethack.rankin
f750e2df4e fix B3032 -- wand of speed monster id
Make wands of speed or slow monster known if their effect
on monsters is observed; likewise for speed boots.  Also, avoid
giving odd "the bat is moving faster" when seeing a bat created
in gehennom and inaccurate "the monster is moving slower" when
a monster puts on speed boots.
2002-02-08 04:14:03 +00:00
nethack.allison
6b75832e51 fix some problems with option modification settings in the
new options processing.
2002-02-08 01:34:22 +00:00
nethack.rankin
b7f7985821 fix B1022 -- bare handed to-hit bonus
Make the code match the comments.  I'm sure I checked that
forwards and backwards when I put it in; I don't know how it ended
up mismatched.
2002-02-08 00:15:32 +00:00
nethack.allison
f6ffdd47ff display "default" in options list
Have the options list display the word "default" for some
of the window-port options when the preference hasn't been
set by the player.
2002-02-07 11:30:36 +00:00
nethack.allison
4b364d6927 modifying 'O' command behavour
I was asked how a window-port controls which options are
set to SET_IN_FILE, DISP_IN_GAME, or SET_IN_GAME.

This provides a run-time way to change an option's SET_IN_FILE,
DISP_IN_GAME, or SET_IN_GAME status through code, rather
than clog up options.c with a lot of compile-time #ifdefs
for different ports to offer different default option settings.
Update the documentation to reflect this.
2002-02-07 03:23:55 +00:00
nethack.rankin
41bb37c369 autodig bit 2002-02-06 07:04:34 +00:00
cohrs
5cff91fadf demon summoning using wrong alignment
make msummon pass along A_NONE, allowing summoning of any demon, not just
chaotic ones
2002-02-06 06:56:53 +00:00
cohrs
ca7de91dc6 discovering identify and fire scrolls
reading one of these for the first time should give experience, like
other scrolls
2002-02-06 05:57:02 +00:00
cohrs
b277a17fb4 untrapping traps in unreachable locations
don't allow untrapping of an adjacent trap you cannot reach by movement
2002-02-06 05:39:43 +00:00
arromdee
9aa253c8ab salamanders
If salamanders are made immune to slime, then all the other places in the
code which check for fire creatures should be modified too.
2002-02-06 05:11:25 +00:00
cohrs
78f59d2046 salamanders immune to sliming
Since salamanders are plane-of-fire creatures, they too should be immune to
fire like fire elementals & vortexes
2002-02-06 04:06:41 +00:00
cohrs
3af5fa3e32 compilation bit
prototype should come before actual declaration of give_may_advance_msg
2002-02-06 01:53:54 +00:00
nethack.rankin
fec866a08c options fixes
Several boolean options were mis-categorized and became
unsettable during play.  Also, the eight_bit_tty option got
dropped into limbo.  Fixing that revealed a typo which would
have broken compilation for MSDOS.

     `eight_bit_tty' has been renamed `wc_eight_bit_input',
but its only use anywhere in the code is for output.
2002-02-06 01:36:31 +00:00
nethack.allison
02e2c671ed Fixes from <Someone>
- added support for new options
- fixed couple of typos in options.c
- added sunken edge around message window
- added capability to replace font in the font table (if we will want to
  change font sizes dynamically later)
2002-02-06 00:15:47 +00:00
nethack.allison
9d03c83d57 Use tabs for option menu separation if iflags.menu_tab_sep is set.
Simplifies some ports option menu displays.
2002-02-05 14:14:13 +00:00
nethack.allison
4181925d56 proto bit 2002-02-05 13:37:26 +00:00
nethack.allison
7d1e6f7d57 from Yitzhak
Add absent prototypes to some core routines.
Also add some port function() to function(void) in some win32 routines.
Also updates the Borland C Makefile for win32.
2002-02-05 13:21:43 +00:00
cohrs
f4a5823add touchstone bit 2002-02-05 04:22:23 +00:00
cohrs
747d1ee70f more inventory selection
the !allowcnt case wasn't being handled correctly, cuasing counts to
be set to 0 inappropriately.
2002-02-05 03:08:36 +00:00
cohrs
151f27e0c5 crash fix
don't try to clear the window if windows haven't been inited yet
2002-02-05 02:43:38 +00:00
nethack.allison
742e1e8c90 3.3.2 to 3.4.0 2002-02-04 16:11:00 +00:00
nethack.allison
06528d1002 3.3.2 to 3.4.0 2002-02-04 16:06:00 +00:00
nethack.allison
bd44ec4f65 wincap field updates
As Warwick suggested, instead of having fixed tile
sizes as options, allow specification of the size
explicitly.

Also, at Yitzhak's suggestion, provide a hook for
overriding the port's tile file name.  That name,
and the contents of the file it points to, will
be window-port specific of course.
2002-02-04 12:50:46 +00:00
warwick
c4a0faa9f1 test_move() fixes, for travel.
Turns lots of duplicated "flags.move = 0; nomul(0);" code into
a single instance, fixing the ones that weren't complete.

Doesn't feel_locations when only testing.
2002-02-04 10:41:22 +00:00
nethack.allison
2e030b4bf9 force tingling nose
<Someone> wrote:
>I also note that it's weird for your nose to stop tingling and your
>sense of smell to return to normal, if flags.beginner prevented your
>realising that your nose was tingling in the first place.
2002-02-04 10:38:20 +00:00
cohrs
1a197060b4 unseen monster messages
- watch messages if you can't see the watch now start "You hear"
- unseen spellcaster messages are shown as "Something", to remove
 some silly message pairs.
- unseen spellcaster that casts at itself causes no message
- recalc vision before spoteffects messsages, to avoid invalid "It"
2002-02-04 05:00:41 +00:00
arromdee
1a72729895 artifact.c comment 2002-02-04 04:01:47 +00:00
arromdee
0aa32a65c2 From the beta-testers; the ability to detect bad food should detect slime as
well as cockatrice meat.
2002-02-04 03:35:17 +00:00
arromdee
b739904c98 reflection
Found in the beta-test.
2002-02-04 03:24:17 +00:00
nethack.allison
25b357d344 Fix problem with cloth scratching the stone From a bug report. 2002-02-03 07:48:41 +00:00
cohrs
f057848eea address compilation warnings from gcc 2002-02-03 07:15:26 +00:00
nethack.allison
cb6a93641b Adjust window-port related option processing
to allow common parsing in the core, and direct access to the
results by the window port.

Notes:

o Adds a new field, wincap, to the window_procs
structure for setting bits related to the preference
features that the window port supports.  This allows
run-time determination of whether a particular option
setting is applicable to the running window port.  A
window-port is free to support as many, or as few,
of the available options as it wants.  Ensure that
only the ones supported have their corresponding bit
set in window_proc.wincap. [see chart in
doc/window.doc for help with that.]

o The settings I stuck into wincap for each window
port are almost certainly not accurate, so each port
team should review them.  You should only include
the ones that you will actually react to and make
adjustments for if the user changes that option.
Without the setting in wincap, the option won't even
show up in the 'O'ptions menu.

o preference_update() added to the window-port
interface, so that the window-port can be notified
if an option of interest (an option with its
corresponding bit set in wincap field) is
changed.

o provided a genl_preference_update() routine in
windows.c and used it for all the existing
window ports since they don't have a functional
one of their own yet.

o this messes around heavily with iflags and the options
arrays in options.c

o I hope I didn't break any port's existing code. I
tried not to.  The Mac however, in particular, should
be looked at because it suffered a namespace collision
with what I was working on around fontname.  It had
Mac specific font stuff in options.c. Please test
the Mac.
2002-02-03 05:31:47 +00:00
kmhugo
532242f07f Artifact prices
Each artifact has its own individual price, rather than being solely
based on the cost of its base item.
2002-02-02 19:21:33 +00:00
arromdee
c06397a703 blessed +2 fireproof speed boots
The inability to wish for a blessed +2 fireproof speed boots really was a bug.
Prefixes are checked for inside a loop which should allow them to be in any
order; for some reason +nnn and empty were outside that loop.

Also adding the secret door detection fix to betabugs 3.3.0.  (Is it safe to
hand-modify betabugs 3.3.2?)
2002-02-02 07:18:52 +00:00
cohrs
957e96a48a teleporting monster while swallowed
if player teleports a monster while swallowed on a noteleport level, the
player should not teleport along with the monster
2002-02-02 06:43:53 +00:00
kmhugo
b22af87dea Mac pragma tuneup
The Macintosh CodeWarrior port does not need nor support
the undefined pragmas.
2002-02-02 05:40:40 +00:00
kmhugo
9a9cf8fca8 Knights start with a lance
Make Knights start with a lance.
Eliminate "bashing" message if jousting.
Remove obsolete code from u_init.c.
2002-02-02 05:38:51 +00:00
cohrs
94c77febc0 dragons have scales, not fur
body_part should return "scales" for the HAIR part of a dragon
2002-02-02 05:00:08 +00:00
cohrs
4c394e385a SPLEVTYPE debug mode environment variable
SPLEVTYPE can have a value like "minetn-3,minend-2,soko2-2" and allows
someone in debug mode to select specific instances of random levels to use
in a test game.  Invalid values found in SPLEVTYPE are silently ignored.
2002-02-02 02:58:07 +00:00
cohrs
9c851c0c1d grappling hook followup
fix a compilation bug
2002-02-02 01:59:44 +00:00
cohrs
8eb206765d grappling hook ignores spot effects
Using a grappling hook can land you in water, lava, et al, but you were
unaffected.
2002-02-01 03:30:40 +00:00
cohrs
52141ce87f medium and large flyers do not flutter 2002-01-30 04:51:40 +00:00
cohrs
23d8116030 leather cloak should be made of leather 2002-01-30 03:28:57 +00:00
cohrs
6023565065 typo
"splatt" should be "splat"
2002-01-30 03:08:36 +00:00