]> granicus.if.org Git - nethack/log
nethack
23 years agoSome win32 updates from <Someone>;
nethack.allison [Fri, 8 Feb 2002 11:32:56 +0000 (11:32 +0000)]
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

23 years agofix B3032 -- wand of speed monster id
nethack.rankin [Fri, 8 Feb 2002 04:14:03 +0000 (04:14 +0000)]
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.

23 years agowin32 argc fix
nethack.allison [Fri, 8 Feb 2002 02:37:08 +0000 (02:37 +0000)]
win32 argc fix
fix a problem when NetHack directory contains spaces.

23 years agofix some problems with option modification settings in the
nethack.allison [Fri, 8 Feb 2002 01:34:22 +0000 (01:34 +0000)]
fix some problems with option modification settings in the
new options processing.

23 years agofix B1022 -- bare handed to-hit bonus
nethack.rankin [Fri, 8 Feb 2002 00:15:32 +0000 (00:15 +0000)]
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.

23 years agoFiles update
nethack.rankin [Thu, 7 Feb 2002 23:02:50 +0000 (23:02 +0000)]
Files update

     Remove entries for the dropped sys/*/old/* files.

23 years agoThis just brings the version number references in line.
nethack.allison [Thu, 7 Feb 2002 12:01:16 +0000 (12:01 +0000)]
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.

23 years agoRemove experimental option from defaults.nh.
nethack.allison [Thu, 7 Feb 2002 11:45:51 +0000 (11:45 +0000)]
Remove experimental option from defaults.nh.
sys/winnt/defaults.nh to be specific.

23 years agodisplay "default" in options list
nethack.allison [Thu, 7 Feb 2002 11:30:36 +0000 (11:30 +0000)]
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.

23 years agoMore rename follow-up
nethack.allison [Thu, 7 Feb 2002 06:36:09 +0000 (06:36 +0000)]
More rename follow-up

23 years agorename follow-up
nethack.allison [Thu, 7 Feb 2002 06:33:27 +0000 (06:33 +0000)]
rename follow-up
This patch assumes that the file rename of
sys/winnt/winnt.cnf to sys/winnt/defaults.nh has been done.

23 years agofile rename winnt.cnf to defaults.nh
nethack.allison [Thu, 7 Feb 2002 06:26:06 +0000 (06:26 +0000)]
file rename winnt.cnf to defaults.nh

23 years ago(from <Someone>)
nethack.allison [Thu, 7 Feb 2002 05:42:31 +0000 (05:42 +0000)]
(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.

23 years agomodifying 'O' command behavour
nethack.allison [Thu, 7 Feb 2002 03:23:55 +0000 (03:23 +0000)]
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.

23 years agodata.base entries
cohrs [Wed, 6 Feb 2002 07:17:54 +0000 (07:17 +0000)]
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

23 years agoautodig bit
nethack.rankin [Wed, 6 Feb 2002 07:04:34 +0000 (07:04 +0000)]
autodig bit

23 years agodemon summoning using wrong alignment
cohrs [Wed, 6 Feb 2002 06:56:53 +0000 (06:56 +0000)]
demon summoning using wrong alignment
make msummon pass along A_NONE, allowing summoning of any demon, not just
chaotic ones

23 years agodiscovering identify and fire scrolls
cohrs [Wed, 6 Feb 2002 05:57:02 +0000 (05:57 +0000)]
discovering identify and fire scrolls
reading one of these for the first time should give experience, like
other scrolls

23 years agountrapping traps in unreachable locations
cohrs [Wed, 6 Feb 2002 05:39:43 +0000 (05:39 +0000)]
untrapping traps in unreachable locations
don't allow untrapping of an adjacent trap you cannot reach by movement

23 years agosalamanders
arromdee [Wed, 6 Feb 2002 05:11:25 +0000 (05:11 +0000)]
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.

23 years agosalamanders immune to sliming
cohrs [Wed, 6 Feb 2002 04:06:41 +0000 (04:06 +0000)]
salamanders immune to sliming
Since salamanders are plane-of-fire creatures, they too should be immune to
fire like fire elementals & vortexes

23 years agomsdos build would still be broken.
nethack.allison [Wed, 6 Feb 2002 01:56:34 +0000 (01:56 +0000)]
msdos build would still be broken.

23 years agocompilation bit
cohrs [Wed, 6 Feb 2002 01:53:54 +0000 (01:53 +0000)]
compilation bit
prototype should come before actual declaration of give_may_advance_msg

23 years agooptions fixes
nethack.rankin [Wed, 6 Feb 2002 01:36:31 +0000 (01:36 +0000)]
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.

23 years agoFixes from <Someone>
nethack.allison [Wed, 6 Feb 2002 00:15:47 +0000 (00:15 +0000)]
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)

23 years agoresync generated files
nethack.rankin [Tue, 5 Feb 2002 22:12:41 +0000 (22:12 +0000)]
resync generated files

23 years agoFixes (from <Someone>)
nethack.allison [Tue, 5 Feb 2002 19:04:35 +0000 (19:04 +0000)]
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)

23 years agoUse tabs for option menu separation if iflags.menu_tab_sep is set.
nethack.allison [Tue, 5 Feb 2002 14:14:13 +0000 (14:14 +0000)]
Use tabs for option menu separation if iflags.menu_tab_sep is set.
Simplifies some ports option menu displays.

23 years agoproto bit
nethack.allison [Tue, 5 Feb 2002 13:37:26 +0000 (13:37 +0000)]
proto bit

23 years agofrom Yitzhak
nethack.allison [Tue, 5 Feb 2002 13:21:43 +0000 (13:21 +0000)]
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.

23 years agofixes34.0 updates
nethack.allison [Tue, 5 Feb 2002 11:29:06 +0000 (11:29 +0000)]
fixes34.0 updates

touchstones
win32 gui
wish word order
window-port preferences
disclosure prompts (or not)

23 years agotouchstone bit
cohrs [Tue, 5 Feb 2002 04:22:23 +0000 (04:22 +0000)]
touchstone bit

23 years agogrammar in README
nethack.allison [Tue, 5 Feb 2002 03:52:43 +0000 (03:52 +0000)]
grammar in README

23 years agomore inventory selection
cohrs [Tue, 5 Feb 2002 03:08:36 +0000 (03:08 +0000)]
more inventory selection
the !allowcnt case wasn't being handled correctly, cuasing counts to
be set to 0 inappropriately.

23 years agofix cl_eos() in NT tty port.
nethack.allison [Tue, 5 Feb 2002 02:43:55 +0000 (02:43 +0000)]
fix cl_eos() in NT tty port.

23 years agocrash fix
cohrs [Tue, 5 Feb 2002 02:43:38 +0000 (02:43 +0000)]
crash fix
don't try to clear the window if windows haven't been inited yet

23 years agoUpdate to 3.4; missed in first go-around.
nethack.allison [Mon, 4 Feb 2002 22:25:46 +0000 (22:25 +0000)]
Update to 3.4; missed in first go-around.

23 years agoDocumentation updates
nethack.allison [Mon, 4 Feb 2002 17:03:08 +0000 (17:03 +0000)]
Documentation updates
Document the change to the window options and
correct a typo that Yitzhak pointed out in window.doc

23 years ago3.3.2 to 3.4.0
nethack.allison [Mon, 4 Feb 2002 16:11:00 +0000 (16:11 +0000)]
3.3.2 to 3.4.0

23 years ago3.3.2 to 3.4.0
nethack.allison [Mon, 4 Feb 2002 16:06:00 +0000 (16:06 +0000)]
3.3.2 to 3.4.0

23 years agoAdd fixes34.0, send fixes33.2 to the attic
nethack.allison [Mon, 4 Feb 2002 13:25:16 +0000 (13:25 +0000)]
Add fixes34.0, send fixes33.2 to the attic

Please update fixes34.0 from this point, rather than fixes33.2.

23 years agowincap field updates
nethack.allison [Mon, 4 Feb 2002 12:50:46 +0000 (12:50 +0000)]
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.

23 years agotest_move() fixes, for travel.
warwick [Mon, 4 Feb 2002 10:41:22 +0000 (10:41 +0000)]
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.

23 years agoforce tingling nose
nethack.allison [Mon, 4 Feb 2002 10:38:20 +0000 (10:38 +0000)]
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.

23 years agoQt: Fix default dialog button
warwick [Mon, 4 Feb 2002 10:23:30 +0000 (10:23 +0000)]
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 :-(

23 years agotty: ^C while prompted re-displays last message
cohrs [Mon, 4 Feb 2002 05:57:35 +0000 (05:57 +0000)]
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

23 years agounseen monster messages
cohrs [Mon, 4 Feb 2002 05:00:41 +0000 (05:00 +0000)]
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"

23 years agoartifact.c comment
arromdee [Mon, 4 Feb 2002 04:01:47 +0000 (04:01 +0000)]
artifact.c comment

23 years agoFrom the beta-testers; the ability to detect bad food should detect slime as
arromdee [Mon, 4 Feb 2002 03:35:17 +0000 (03:35 +0000)]
From the beta-testers; the ability to detect bad food should detect slime as
well as cockatrice meat.

23 years agoreflection
arromdee [Mon, 4 Feb 2002 03:24:17 +0000 (03:24 +0000)]
reflection
Found in the beta-test.

23 years agomakedefs.c
kmhugo [Sun, 3 Feb 2002 22:10:24 +0000 (22:10 +0000)]
makedefs.c

Fix some misplaced logic in makedefs.c, and improve the surrounding
comments.

23 years ago<email deleted>
nethack.allison [Sun, 3 Feb 2002 17:51:54 +0000 (17:51 +0000)]
<email deleted>

The following fixes several bugs:
1) Mismatch between docs and game in definition of what '+' resolved in
favor of docs...
2) When game needs to be recovered a message box is shown.  This is a very
deprecated fix.  It pretty much answers just the conditions that require
this (a yn question to an erroneous winid), and is not useful for other
purposes.
3) The score file is written.

23 years agoAdd final slash to URL
nethack.allison [Sun, 3 Feb 2002 17:30:58 +0000 (17:30 +0000)]
Add final slash to URL
in README, Guidebook, dat/history. (from <Someone>)

23 years agoupdate window.doc document.
nethack.allison [Sun, 3 Feb 2002 16:29:41 +0000 (16:29 +0000)]
update window.doc document.

23 years agoFix problem with cloth scratching the stone From a bug report.
nethack.allison [Sun, 3 Feb 2002 07:48:41 +0000 (07:48 +0000)]
Fix problem with cloth scratching the stone From a bug report.

23 years agotty: msg_window display anomaly
cohrs [Sun, 3 Feb 2002 07:46:05 +0000 (07:46 +0000)]
tty: msg_window display anomaly
If you interrupt nethack (^C) in tty windowport mode while a pompt is
displayed and and msg_window=true, it can display the full message history
at an unexpected time.  Detect this and display only the topl, as expected.

23 years agoaddress compilation warnings from gcc
cohrs [Sun, 3 Feb 2002 07:15:26 +0000 (07:15 +0000)]
address compilation warnings from gcc

23 years agoAdjust window-port related option processing
nethack.allison [Sun, 3 Feb 2002 05:31:47 +0000 (05:31 +0000)]
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.

23 years agofixes33.2 tuneup
kmhugo [Sun, 3 Feb 2002 05:13:12 +0000 (05:13 +0000)]
fixes33.2 tuneup

Log recent additions

23 years ago<Someone>'s OS2 updates.
nethack.allison [Sat, 2 Feb 2002 19:46:18 +0000 (19:46 +0000)]
<Someone>'s OS2 updates.

23 years agoArtifact prices
kmhugo [Sat, 2 Feb 2002 19:21:33 +0000 (19:21 +0000)]
Artifact prices

Each artifact has its own individual price, rather than being solely
based on the cost of its base item.

23 years agosamurai quest bit
nethack.rankin [Sat, 2 Feb 2002 10:25:54 +0000 (10:25 +0000)]
samurai quest bit

     From one of <Someone>'s ascension posts:  the introductory message
when you enter the Samurai's quest is slightly odd if you can't see at
the time.  This rewording acknowledges the difference between being
blind or sighted, but it is still a bit odd to able to know which flag
is flying when unable to actually see it.

23 years agoblessed +2 fireproof speed boots
arromdee [Sat, 2 Feb 2002 07:18:52 +0000 (07:18 +0000)]
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?)

23 years agounix: default to groff for generating .ps from .mn
cohrs [Sat, 2 Feb 2002 07:16:50 +0000 (07:16 +0000)]
unix: default to groff for generating .ps from .mn
also make it more obvious how to switch commands to create a .ps file

23 years agoteleporting monster while swallowed
cohrs [Sat, 2 Feb 2002 06:43:53 +0000 (06:43 +0000)]
teleporting monster while swallowed
if player teleports a monster while swallowed on a noteleport level, the
player should not teleport along with the monster

23 years agofixes updates
cohrs [Sat, 2 Feb 2002 05:51:08 +0000 (05:51 +0000)]
fixes updates
update fixes to include updates sent via patches

23 years agoMac pragma tuneup
kmhugo [Sat, 2 Feb 2002 05:40:40 +0000 (05:40 +0000)]
Mac pragma tuneup

The Macintosh CodeWarrior port does not need nor support
the undefined pragmas.

23 years agoKnights start with a lance
kmhugo [Sat, 2 Feb 2002 05:38:51 +0000 (05:38 +0000)]
Knights start with a lance

Make Knights start with a lance.
Eliminate "bashing" message if jousting.
Remove obsolete code from u_init.c.

23 years agoMacintosh getlin and BUFSZ
kmhugo [Sat, 2 Feb 2002 05:34:17 +0000 (05:34 +0000)]
Macintosh getlin and BUFSZ

Ensure getline() returns no more than BUFSZ characters
on the Macintosh port.

23 years agodragons have scales, not fur
cohrs [Sat, 2 Feb 2002 05:00:08 +0000 (05:00 +0000)]
dragons have scales, not fur
body_part should return "scales" for the HAIR part of a dragon

23 years agovortexes are not really alive
cohrs [Sat, 2 Feb 2002 03:50:53 +0000 (03:50 +0000)]
vortexes are not really alive
add vortexes to the set of nonliving() monsters

23 years agohilite_pet Guidebook entry
cohrs [Sat, 2 Feb 2002 03:24:35 +0000 (03:24 +0000)]
hilite_pet Guidebook entry
update hilite_pet entry so it allows for variations possible in current ports
and be less Unix-specific

23 years agoSPLEVTYPE debug mode environment variable
cohrs [Sat, 2 Feb 2002 02:58:07 +0000 (02:58 +0000)]
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.

23 years agograppling hook followup
cohrs [Sat, 2 Feb 2002 01:59:44 +0000 (01:59 +0000)]
grappling hook followup
fix a compilation bug

23 years agoAt the request of <Someone>:
nethack.allison [Fri, 1 Feb 2002 13:01:53 +0000 (13:01 +0000)]
At the request of <Someone>:
I'm surprised that you credit me with the ninja yumi-ya thing as a
"patch" in README; I didn't submit any code for it, it's trivial, and
it's vanishingly unlikely ever to come into play :-) If I'm to be
credited with anything on that list, I'd have thought it'd be the
no starting pet option.

23 years agodead key fix
nethack.allison [Fri, 1 Feb 2002 06:43:22 +0000 (06:43 +0000)]
dead key fix
Apparently, " is part of an accented character in US(international) keyboard
layout (additional character specific to the language of an origin - for
example, left and right double quotation marks). The code did not handle it
too well since it maps to 2 ASCII characters instead of one (one of them is
so called "dead" character). We can ignore the dead character as a
workaround for this problem. The patch is attached.

<Someone>.

23 years agoRumors tuning
kmhugo [Fri, 1 Feb 2002 05:51:01 +0000 (05:51 +0000)]
Rumors tuning

Changes to rumors, From a bug report.

23 years agoGnomish Mines tuning
kmhugo [Fri, 1 Feb 2002 05:44:00 +0000 (05:44 +0000)]
Gnomish Mines tuning

Give names to remaining town levels.
Change elements in College Town that don't follow theme.
Remove isolated niche and helm of brilliance from end #3.

23 years agograppling hook ignores spot effects
cohrs [Fri, 1 Feb 2002 03:30:40 +0000 (03:30 +0000)]
grappling hook ignores spot effects
Using a grappling hook can land you in water, lava, et al, but you were
unaffected.

23 years agofix crash during Drop unpaid
nethack.allison [Fri, 1 Feb 2002 00:36:54 +0000 (00:36 +0000)]
fix crash during Drop unpaid
The patch is attached. Array bounds went unchecked in
the menu page operations (, \ ~)  This resulted in
memory corruption.

The actual crash depends on your luck actually. It will
only crash if  heap headers are corrupted, otherwise it
can go unnoticed.  When you do "Du," the list page size
is 18 (on my screen) with only 2 items in the menu. The
program assigned count of -1 to 18 items in the array
of 2. Ka-boom.  I put bounds checking code in several
places.  The window size does not have anything to do
with it.

<Someone>.

23 years agotty pet hiliting may turn off on color changes
cohrs [Thu, 31 Jan 2002 03:21:39 +0000 (03:21 +0000)]
tty pet hiliting may turn off on color changes
check to turn on hilite must come after check to change color, since
changing color uses term_end_color which may turn off inverse video too

23 years ago<email deleted>
nethack.allison [Thu, 31 Jan 2002 00:16:32 +0000 (00:16 +0000)]
<email deleted>

bugfix: map position was calculated incorrectly when switching into
fit-to-screen mode.

23 years agomedium and large flyers do not flutter
cohrs [Wed, 30 Jan 2002 04:51:40 +0000 (04:51 +0000)]
medium and large flyers do not flutter

23 years agoremove debug message
warwick [Wed, 30 Jan 2002 03:55:41 +0000 (03:55 +0000)]
remove debug message

23 years agoleather cloak should be made of leather
cohrs [Wed, 30 Jan 2002 03:28:57 +0000 (03:28 +0000)]
leather cloak should be made of leather

23 years agotypo
cohrs [Wed, 30 Jan 2002 03:08:36 +0000 (03:08 +0000)]
typo
"splatt" should be "splat"

23 years agocorrect updated cost of scalpel
cohrs [Tue, 29 Jan 2002 08:36:22 +0000 (08:36 +0000)]
correct updated cost of scalpel
rev 1.6 included the wrong updated cost

23 years agoremove left over debugging message
cohrs [Tue, 29 Jan 2002 08:07:13 +0000 (08:07 +0000)]
remove left over debugging message

23 years agovarious Guidebook updates
cohrs [Tue, 29 Jan 2002 08:03:24 +0000 (08:03 +0000)]
various Guidebook updates
+ attributes may exceed 18 for non-humans
+ update spell casting paragraph to loosely describe 3.3 style spell casting
+ correct description of the output of the '+' command
+ note default value for 'mail' option

23 years agoeggs and other breakables break falling down stairs
cohrs [Tue, 29 Jan 2002 06:35:17 +0000 (06:35 +0000)]
eggs and other breakables break falling down stairs
<Someone> questioned why eggs and potions don't break when falling downstairs.
For that matter, other breakables should as well.

23 years ago/tmp/msg
cohrs [Tue, 29 Jan 2002 04:19:46 +0000 (04:19 +0000)]
/tmp/msg

23 years agodisclose refinements:
nethack.allison [Mon, 28 Jan 2002 12:58:45 +0000 (12:58 +0000)]
disclose refinements:
- allow spaces between the different possibilities
- add a missing null at the end of the list of prefixes to prevent index()
  from going crazy
- slight re-wording of the Guidebook

23 years agoFix "gems in apply menu" From a bug report.
nethack.allison [Mon, 28 Jan 2002 11:38:25 +0000 (11:38 +0000)]
Fix "gems in apply menu" From a bug report.

23 years agoB2014 (comment change)
arromdee [Mon, 28 Jan 2002 02:47:50 +0000 (02:47 +0000)]
B2014 (comment change)

23 years agoegg breaking
arromdee [Mon, 28 Jan 2002 02:24:02 +0000 (02:24 +0000)]
egg breaking
This fixes beta bug 2012.

23 years agoautodig chattiness
cohrs [Sun, 27 Jan 2002 23:45:47 +0000 (23:45 +0000)]
autodig chattiness
The autodig code still requires lots of interaction, because of all the
digging messages.  Make these messages behave more like boulder pushing
messages, where they only display if the previous move wasn't a push.

23 years agoFixes:
nethack.allison [Sun, 27 Jan 2002 23:28:02 +0000 (23:28 +0000)]
Fixes:
- B1026  [confirmed] win32: setting multiple options
- bugfix: menu: set focus to the item and make it visible when it is
selected  with accelerator key.
- increased menu font size by 1 point
- layout the main window on WM_MOVE message so the menu windows stays with
the main window  (it was not changing the location before)
- got rid of WinCE specific define (ARM)
- handle all keyboard input via WM_KEYDOWN instead WM_CHAR

Files affected: config1.h mhmsg.h mhmain.c mhmenu.c mswproc.c resource.h
winhack.rc

Notes:
 That overrides Yitzhak's mhmenu patch - I don't like the menu prompt on the
title bar since it can be null and in most cases it is. It looks much better
as a header column in the list and is displayed only if present.

I moved ARM-related (processor) defines to wceconf.h  You cannot undef ARM
before windows.h is processed - ARM version won't compile.

.rc files are generated by IDE - you cannot edit them directly or your
changes will be gone next time the file is saved. If anything needs to be
added to winhack.rc file manually it has to be marked by the following
defines or via menu option View->Resource Includes:
#define APSTUDIO_READONLY_SYMBOLS
...
#undef APSTUDIO_READONLY_SYMBOLS

23 years agowin32gui patches (from Yitzhak)
nethack.allison [Sun, 27 Jan 2002 21:37:31 +0000 (21:37 +0000)]
win32gui patches (from Yitzhak)
[...]
One of them deals with the patch you just sent, that changes the name but
does so more extensively, particularly, also in the Save dialog in
mhmain.c.  Another is one of the changes to winhack.rc to make it compile
under Borland.

This also (beyond patches I sent): fixes no Options prompt bug, and fixes
up the menu bar (which I broke in one of my patches).

Tested on msc/bcc tty/win makefiles and vc ide.

23 years agoinvisible things due to black colour
nethack.allison [Sun, 27 Jan 2002 21:02:28 +0000 (21:02 +0000)]
invisible things due to black colour
Patch to fix invisible orcish helmets, orcish daggers,
mimic (]), ants etc.

23 years agoChange title to prevent Beta tester complaint.
nethack.allison [Sun, 27 Jan 2002 20:21:20 +0000 (20:21 +0000)]
Change title to prevent Beta tester complaint.