Commit Graph

6176 Commits

Author SHA1 Message Date
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
80a0fbd62b win32 argc fix
fix a problem when NetHack directory contains spaces.
2002-02-08 02:37:08 +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.rankin
7d64f80033 Files update
Remove entries for the dropped sys/*/old/* files.
2002-02-07 23:02:50 +00:00
nethack.allison
ef6c03a83c This just brings the version number references in line.
An actual history blurb summarizing the past 3.3
release is still missing from guidebook and history.
2002-02-07 12:01:16 +00:00
nethack.allison
077e55cd6a Remove experimental option from defaults.nh.
sys/winnt/defaults.nh to be specific.
2002-02-07 11:45:51 +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
87dc70dc5a More rename follow-up 2002-02-07 06:36:09 +00:00
nethack.allison
9da90d302d rename follow-up
This patch assumes that the file rename of
sys/winnt/winnt.cnf to sys/winnt/defaults.nh has been done.
2002-02-07 06:33:27 +00:00
nethack.allison
4aa2da5a89 file rename winnt.cnf to defaults.nh 2002-02-07 06:26:06 +00:00
nethack.allison
562d7855a7 (from <Someone>)
The patch that deals with tabs is attached. I also fixed bug when the
program won't quit if Quit option is selected in the player selection
dialog.
2002-02-07 05:42:31 +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
cohrs
843bdde1b3 data.base entries
Master Kaen and the Grand Master were the only quest leaders/nemeses
for which /n printed nothing at all, fall back on human entry
2002-02-06 07:17:54 +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
nethack.allison
61bf4b3371 msdos build would still be broken. 2002-02-06 01:56:34 +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.rankin
1f6484473f resync generated files 2002-02-05 22:12:41 +00:00
nethack.allison
5bd29d05f6 Fixes (from <Someone>)
- visual feedback after a prompt: append an empty line to the message
  window when clear_nhwindow(WIN_MESSAGE) is called. Filter
  out empty lines in the buffer except for the active slot.

- append ellipses to the status line text if the text is truncated

- get rid of message boxes at the end of the game (ignore empty lines in
  raw_print as Yitzhak suggested)
2002-02-05 19:04:35 +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
nethack.allison
b407cf3dcf fixes34.0 updates
touchstones
win32 gui
wish word order
window-port preferences
disclosure prompts (or not)
2002-02-05 11:29:06 +00:00
cohrs
f4a5823add touchstone bit 2002-02-05 04:22:23 +00:00
nethack.allison
1ae92807d5 grammar in README 2002-02-05 03:52:43 +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
nethack.allison
7637374948 fix cl_eos() in NT tty port. 2002-02-05 02:43:55 +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
547370ecf5 Update to 3.4; missed in first go-around. 2002-02-04 22:25:46 +00:00
nethack.allison
86a5808030 Documentation updates
Document the change to the window options and
correct a typo that Yitzhak pointed out in window.doc
2002-02-04 17:03:08 +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
43c3d9c736 Add fixes34.0, send fixes33.2 to the attic
Please update fixes34.0 from this point, rather than fixes33.2.
2002-02-04 13:25:16 +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
warwick
6549930ee2 Qt: Fix default dialog button
In Qt 3, default button is always set to something... it was set to "Cancel"
in this case - not a good thing when you are granted a wish :-(
2002-02-04 10:23:30 +00:00
cohrs
f255e2bedd tty: ^C while prompted re-displays last message
- attempt to determine if tty_wait_synch() is called during the ending
 dialogs due to an interrupt, and not re-display the previous message
 at the wrong time
- also, "msg_window display anomaly" fix was missing code to still treat ^P
 properly while in a prompt
2002-02-04 05:57:35 +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