]> granicus.if.org Git - nethack/log
nethack
22 years agore-merge objects removed from containers when pack is full
cohrs [Sat, 30 Mar 2002 20:56:09 +0000 (20:56 +0000)]
re-merge objects removed from containers when pack is full
- affects failed removal of a partial count of objects due to a full pack

22 years agofixes34.1 updates
nethack.allison [Sat, 30 Mar 2002 20:21:53 +0000 (20:21 +0000)]
fixes34.1 updates

22 years agoremove Symantec C makefile from distribution for dos
nethack.allison [Sat, 30 Mar 2002 20:01:09 +0000 (20:01 +0000)]
remove Symantec C makefile from distribution for dos

22 years agoUpdate sys/msdos/Install.dos
nethack.allison [Sat, 30 Mar 2002 20:00:19 +0000 (20:00 +0000)]
Update sys/msdos/Install.dos
- only djgpp build is supported now.
- instructions are only for djgpp
- all other builds have fallen into non-support

22 years agoAllow MICRO and WIN32 code paths to diverge
nethack.allison [Sat, 30 Mar 2002 19:09:56 +0000 (19:09 +0000)]
Allow MICRO and WIN32 code paths to diverge
There's still a lot of overlap for 3.4.1, but not
100% any longer and it facilitates some improvements
- Allow error save files on WIN32

22 years agoboulder/statue/landmine reversal and new fix
nethack.allison [Sat, 30 Mar 2002 14:46:31 +0000 (14:46 +0000)]
boulder/statue/landmine reversal and new fix
This includes a reversal of my earlier
boulder/statue/landmine fix,
and places a check for obj->where==OBJ_FLOOR into
fracture_rock().  I think this is a better approach
because:
- if eliminates the pointless extract/place in
fracture_rock, followed by extract/place in
the caller in the two places causing the crash
- it covers any similar situations that we
might have missed or that someone might add
accidentally (you might not expect the location
of an object to change inside fracture_rock())
- it allows fracturing to take place on the
other object chains if we ever need it (statues
falling down stairs, perhaps?)
- it doesn't move objects from other chains onto
the floor briefly as the current code does

22 years agomore wielded/quivered iron ball
nethack.rankin [Sat, 30 Mar 2002 09:50:59 +0000 (09:50 +0000)]
more wielded/quivered iron ball

     There was at least one more special case aside from throwing
(jetisoning items to reduce weight after falling in water) which
have needed the same extra code.  This is a more general fix.

22 years agopolymorph into a non-twoweapon form
cohrs [Sat, 30 Mar 2002 03:01:38 +0000 (03:01 +0000)]
polymorph into a non-twoweapon form
- you can't twoweapon unless your form allows it, but polymorph wouldn't
disable twoweapon mode immediately

22 years agowielded ball and chain
cohrs [Fri, 29 Mar 2002 20:35:22 +0000 (20:35 +0000)]
wielded ball and chain
- a wielded/quivered ball would still be marked as wielded/quivered
after you threw it

22 years agoR722 boiling acid in fountains
cohrs [Fri, 29 Mar 2002 20:17:32 +0000 (20:17 +0000)]
R722 boiling acid in fountains
- clarify the fact that acid boiling in a fountain damages you

22 years agosome more 3.4.1 prep
nethack.allison [Fri, 29 Mar 2002 19:41:49 +0000 (19:41 +0000)]
some more 3.4.1 prep
patchlevel.h detail cut back
README

22 years agoengraving a headstone with a wand of digging
cohrs [Fri, 29 Mar 2002 19:14:37 +0000 (19:14 +0000)]
engraving a headstone with a wand of digging
- Gravel flies up from the floor is not appropriate in this case

22 years agotouchstone data.base entry
cohrs [Fri, 29 Mar 2002 18:06:02 +0000 (18:06 +0000)]
touchstone data.base entry
- add the short quote suggested
- someone may still want to expand on this, as also suggested

22 years agoRolling boulder traps and pacifism
cohrs [Fri, 29 Mar 2002 17:56:13 +0000 (17:56 +0000)]
Rolling boulder traps and pacifism
If you stepped on an unknown rolling boulder trap, and that rolling boulder
hit a monster and killed it, you would be called a killer.  This makes
playing a pacifism conduct game rather difficult.
- track boulders from unknown rolling boulder traps, and don't charge/credit
hero if they kill monsters. This is done by temporarily setting otrapped on
such boulders.
- boulders from known traps are still charged/credited to the hero
- fix a couple places in ohitmon where is_poisonable wasn't checked along
with opoisoned.

22 years agopolyself: centaurs vs boots
nethack.rankin [Fri, 29 Mar 2002 13:37:16 +0000 (13:37 +0000)]
polyself: centaurs vs boots

     Monster centaurs can't wear boots, and characters who polymorph
into centaurs have their boots pushed off, but there was nothing to
prevent such characters from putting those boots right back on.

22 years agosome 3.4.1 preparation
nethack.allison [Fri, 29 Mar 2002 06:30:33 +0000 (06:30 +0000)]
some 3.4.1 preparation
Update patchlevel.h
Update some strings from 3.4.0 to 3.4.1.

22 years ago(from Yitzhak)
nethack.allison [Thu, 28 Mar 2002 14:24:29 +0000 (14:24 +0000)]
(from Yitzhak)
- mostly from Yitzhak, with a modification based on subsequent discussion.

After installing everything (mail, cvs, etc) I found the compile was
broken.

Yitzhak: This fixes the compile.  I used LONG for the types because using DWORD
conflicted in Borland with signed/unsigned compare mismatches.

[Also works around some perm_invent code destined for a later patch that got
rolled in prematurely]

22 years ago"harassment mode"
nethack.rankin [Thu, 28 Mar 2002 03:03:04 +0000 (03:03 +0000)]
"harassment mode"

     Make a change suggested by <Someone> to have the Wizard
enter harassment mode when you perform the invocation, in case
you manage to obtain the Book of the Dead without killing him.
Instead of just initiating that periodic effect, behave as if
you have actually killed him (which also affects random monster
generation frequency, prayer timeout, and shopkeeper salutations).

22 years agolev_comp,dgn_comp vs CRLF style input
nethack.rankin [Thu, 28 Mar 2002 01:37:39 +0000 (01:37 +0000)]
lev_comp,dgn_comp vs CRLF style input

     Allow the special level and dungeon compilers to handle input
files which have CR+LF delimited lines.  Apparently Cygwin doesn't
convert MSDOS style line ends into newlines the way stdio should
do for text I/O.  The resulting unexpected CR characters result in
syntax errors.

     And explicitly using '\n' on both the lex and yacc sides of
MAP processing allows removal of the old NEWLINE hack for Mac MPW.
It won't matter what numeric value that character escape sequence
has internally.

22 years ago(from <Someone>)
nethack.allison [Wed, 27 Mar 2002 12:17:26 +0000 (12:17 +0000)]
(from <Someone>)

Two things:
1. This patch causes the window placement of the main window to be
written to the registry, and to be restored upon the next start
of the program. I had to move the creation of the main window to init_nhwindows,
as the registry is not read until then.

2.  Implement support for wc_popup_dialog (or rather, support for not having
popup windows.) It asks getlin questions and get_ext_cmd on the
message window, much like the TTY port does it.

The get_ext_cmd procedure is almost but not quite the same as the
one for TTY, and I think it is better: It autocompletes the extended
command you type, but if you keep on typing it doesn't add those letters
after the completed command, but just keeps track of how many (correct)
characters you typed. If you type a different character than the
autocompleted command has, it shows you what you typed again. If you
press backspace, it deletes the characters you typed, and if autocompletion
is no longer possible, it removes the autocompleted part. The effect
of this is that you can type as many letters as you want when typing
an extended command, as long as it is enough to identify one command;
and you only have to delete the characters you actually typed if you made
a mistake. I think autocompletion is a lot less obtrusive this way.

Some notes about the patch:
- Both mswin_getlin and mswin_get_ext_cmd now have two versions, with
  and without a popup.
- yn_question was changed so that it displays a caret, which is a lot
  nicer IMHO.
- I had to implement a new NetHack Windows Message parameter,
  "MSNH_MSG_CARET", to make it possible to show and hide the caret in
  the message window. Normally the caret is created and destroyed by the
  window that owns it, but in NetHack the input focus is always on the
  main window, while the caret is in the message window, which happens
  to be the only one that knows how large the caret should be.
- mswin_putstr_ex's last parameter changed from boolean to int; the
  semantics are enhanced so that a negative last parameter means "delete
  that many characters from the input line". The string to be deleted is
  passed in as well, although it is currently not used.
- A rather large chunk of code finds out where the last string that was
  displayed on the message window ended. This is necessary to place the
  caret at the right spot. The caret is always positioned there, even if
  it is hidden or non-existing.
- mswin_get_nh_event was changed to actually process and empty the
  message queue, and called from mswin_putstr_ex to make sure the
  message window is updated before the next step is done. Without this,
  the caret is positioned before the last message is painted, which
  makes its x-position after the last character of the previous line.

22 years agomimic caught in explosion printed message but wasn't discovered
cohrs [Wed, 27 Mar 2002 05:08:11 +0000 (05:08 +0000)]
mimic caught in explosion printed message but wasn't discovered
- add seemimic call before printing the "caught" message

22 years agoSunsword kept glowing after monster wielding it died
cohrs [Wed, 27 Mar 2002 04:58:42 +0000 (04:58 +0000)]
Sunsword kept glowing after monster wielding it died
- <Someone> reported this bug to the mailing list
- add a check in relobj(), which should catch all the cases

22 years agohalf-physical-damage from gas spore explosion should only affect you
cohrs [Wed, 27 Mar 2002 02:31:21 +0000 (02:31 +0000)]
half-physical-damage from gas spore explosion should only affect you
- <Someone> noticed the fix for applying half physical damage to gas spore
explosions affected damage to all monsters, not just you

22 years agoseemimic produces transparent doors
cohrs [Wed, 27 Mar 2002 00:58:44 +0000 (00:58 +0000)]
seemimic produces transparent doors
- if a mimic mimics a boulder (top sokoban) or a door atop
a closed door the closed door didn't block your vision after
the mimic is sensed.
- also, make mondied consistent with xkilled WRT corpses on inaccessible
locations: no corpse

22 years agoR691 - bad cursor positioning debug message
cohrs [Tue, 26 Mar 2002 21:56:03 +0000 (21:56 +0000)]
R691 - bad cursor positioning debug message
- remove the "#define DEBUG" from wintty.c that caused this message to
be displayed when not in a debugging mode

22 years agoiron balls (R676)
arromdee [Tue, 26 Mar 2002 06:05:24 +0000 (06:05 +0000)]
iron balls (R676)
Well, this proved rather annoying.  Problems included:
-- the solid rock problem that was noticed
-- teleporting to a spot two spaces away but on the other side of solid rock
could also leave the chain in solid rock
-- in one place I said chainx instead of ballx, which could cause problems with
teleporting
-- the teleport code moved the player before moving the ball, violating the
assumption that the player hasn't been moved yet (which only caused problems
after I added the solid rock fix).

Ball movement still isn't quite right, though the cases are really rare.  I
may fix them later.

22 years agogeneric feature_toggle
nethack.allison [Tue, 26 Mar 2002 05:33:04 +0000 (05:33 +0000)]
generic feature_toggle

This adds a generic feature_toggle mechanism to
the game.  Code that wants to offer two different
ways of doing something can add an entry to
feature_toggles[] (in decl.c), and create a
preprocessor macro for its array index in decl.h.

Then the code can test it using
if (feature_toggle(FEATURE_NAME))
..do_this..
else
..do_that..

The player can toggle the alternate code path
on using OPTIONS=feature_toggle:feature_name_1 feature_name_2 ...

This seems better than creating brand new options
for controlling features (ala prayconfirm, which
could switch to this single option feature_toggle
mechanism as well)

My first use of it is to allow toggling of the selectors
on the loot menu, which I'm hesitant to just change back
because now people are actively using the new selectors and
the complaints would be really loud if the interface were
to just switch back after they adjusted.

The default behaviour is the new behaviour "iob", but with an
OPTIONS=feature_toggle:loot_menu_selectors
in your config file, it will revert to using "abc" as it did
in 3.3.1. I'll add a Guidebook page of "features/behaviour
that can be toggled" later.

The toggles can only be done in defaults.nh, and are
not saved with the game.

22 years agoimpaired movement fix
nethack.rankin [Mon, 25 Mar 2002 09:01:35 +0000 (09:01 +0000)]
impaired movement fix
     Fix the reported problem of incorrect conditional logic
making it impossible to bump into closed doors when moving while
impaired for the #if STEED configuration.

22 years agowarning bit
nethack.rankin [Mon, 25 Mar 2002 08:05:27 +0000 (08:05 +0000)]
warning bit
     Avoid gcc's inaccurate warning about mattk possibly being
used before being set in do_breathe().

22 years agoR677 - two swords slipping due to fried food prints same message
cohrs [Mon, 25 Mar 2002 07:48:03 +0000 (07:48 +0000)]
R677 - two swords slipping due to fried food prints same message
- report: twoweapon mode, eat fried food, get messages like:
Your sword slips from your hands.
Your sword also slips from your hands.
- the fix tracks the kind of the 1st weapon, and adds "other" to the 2nd
message if necessary

22 years agomissing linux build package dependency bit
cohrs [Mon, 25 Mar 2002 07:37:39 +0000 (07:37 +0000)]
missing linux build package dependency bit

22 years agoleashed steed dying of starvation
cohrs [Mon, 25 Mar 2002 06:29:43 +0000 (06:29 +0000)]
leashed steed dying of starvation
- prefer the regular "dies from hunger" message over "leash goes slack"
in this case.

22 years ago(from <Someone>)
nethack.allison [Mon, 25 Mar 2002 00:01:31 +0000 (00:01 +0000)]
(from <Someone>)
- use windowcolors settings for text backgroud/foreground color

22 years agoW340-4 (from <Someone>)
nethack.allison [Sun, 24 Mar 2002 23:57:19 +0000 (23:57 +0000)]
W340-4 (from <Someone>)

Date: Sun, 24 Mar 2002 15:40:30 -0800
<email deleted>
Subject: patch: nethack-graphical - menu window colors

- W340-4  (menu checkboxes have a hard-coded white inner part)
- use windowcolors settings for menu backgroud/foreground color

<Someone>

22 years ago#R675: bug in win32 GUI (division by zero)
nethack.allison [Sun, 24 Mar 2002 23:53:28 +0000 (23:53 +0000)]
#R675: bug in win32 GUI (division by zero)

(from <Someone>)

>The tile size is actually set just once in mhmap.c so validation can be done
>in one place. The patch is attached.
>
><email deleted>
on Sunday, March 24, 2002 at 16:15:50
---------------------------------------------------------------------------

mailversion: 1.10

nhversion: 3.4.0

nhfrom: 3.4.0 Official binary release for Windows 95/98/NT/2000/Me/XP
(nh340win.zip)

hardware: 1 Ghz AMD Athlon, 512 MB RAM etc. etc.
I don't think that the hardware is related to the problem because I found it.

software: I used Win 98 (1st edition) and MS VC++ 6.0 to find/fix the bug in
Nethack 3.4.0.

comments: steps to crash: start nethackw.exe - start a game - select "fit to
sreen" in the map menue - rezize the map until it is very very small -> crash

22 years agosomething that should have been removed
nethack.allison [Sun, 24 Mar 2002 21:14:19 +0000 (21:14 +0000)]
something that should have been removed

22 years agofix Makefile typos for uudecode
nethack.allison [Sun, 24 Mar 2002 19:51:01 +0000 (19:51 +0000)]
fix Makefile typos for uudecode

22 years agoMake header in file match the file name
nethack.allison [Sun, 24 Mar 2002 18:58:05 +0000 (18:58 +0000)]
Make header in file match the file name

22 years agostair quote
nethack.rankin [Sun, 24 Mar 2002 08:41:54 +0000 (08:41 +0000)]
stair quote
     I hadn't realized that we already had an entry for stairs,
but this one is short enough to tack on anyway.

22 years ago#649, #656 hilite_pet bug (from Yitzhak)
nethack.allison [Sun, 24 Mar 2002 03:57:22 +0000 (03:57 +0000)]
#649, #656 hilite_pet  bug (from Yitzhak)

#649
<email deleted> on Friday, March 22, 2002 at 13:27:03
software: os: w2k workstation
nh: stock tty nethack.exe
comments: When you move onto a space and your pet moves onto the space
next to you on your left, your @ is displayed w/ normal attributes
instead of bright.
hilite_pet option is enabled
IBMGraphics option is disabled

#656
<email deleted> on Friday, March 22, 2002 at 16:59:37
nhfrom: 3.4.0 Official binary release for Windows 95/98/NT/2000/Me/XP
software: Windows 98 SE playing the ASCII version
comments: Sometimes when I'm standing next to my pet the @ turns grey, it goes
back to white after I move.

22 years ago#R668: Windows 2000 Lock File Creation Error
nethack.allison [Sun, 24 Mar 2002 01:37:16 +0000 (01:37 +0000)]
#R668: Windows 2000 Lock File Creation Error

This was a tricky one.  While the error was ultimately because
he was specifying a non-existant directory in defaults.nh, the
error message lead me to the wrong area until I traced through
with a debugger.

It turns out that an fqn buffer was being re-used before it
was finished being used with the original information in
sys/share/pcunix.c, so the error message listed the
wrong file!

This adds one more buffer and fixes the problem.
Note that it could only affect plaforms with
PREFIXES_IN_USE defined  (NOCWD_ASSUMPTIONS
or VAR_PLAYGROUND)

It also alters the WIN32 error message to give them a
hint as to what the problem might be.

<email deleted>
<email deleted>
Sent: Saturday, March 23, 2002 9:27 AM
Subject: #R668: Windows 2000 Lock File Creation Error
> nhfrom: 3.4.0 Official binary release for Windows 95/98/NT/2000/Me/XP
> I get an error after unzipping nethack to c:\nethack, and changing the
> configuration (defaults.nh) to reflect this in the hackdir, levels and save
> configuration items.
>
> The error I get is "cannot creat lock file (C:\nethack\NHPERM_lock.)" after
> entering nethack at the command line and answering the Who are you? question.

22 years agorestore support for non-square XPM-based tiles (X11 & Gnome)
cohrs [Sun, 24 Mar 2002 00:04:41 +0000 (00:04 +0000)]
restore support for non-square XPM-based tiles (X11 & Gnome)
- change the way the tile sizes are calculated, based on the image size,
so non-square tiles can once again be supported.
- fix Gnome port so it can actually display non-square tiles, several
height/width uses were backwards
- update Install.X11 to note the number of tiles per row in the XPM image

22 years ago#R667: a bug in character naming
nethack.allison [Sat, 23 Mar 2002 23:05:08 +0000 (23:05 +0000)]
#R667: a bug in character naming

- strip out '?' and several others.
- this means that people specifying character names
  fred? and fred* will collide. Oh well.

22 years agowin32gui: make error() work
nethack.allison [Sat, 23 Mar 2002 22:47:44 +0000 (22:47 +0000)]
win32gui: make error() work
- in 3.4.0 it was useless in the graphical port.

22 years agowall symbol not replaced when digging while blind and levitating
cohrs [Sat, 23 Mar 2002 22:27:54 +0000 (22:27 +0000)]
wall symbol not replaced when digging while blind and levitating
- this was reported to the mailing list just before 3.4.0 shipped
- treat in a manner similar to chopping a boulder while blind and levitating

22 years agoonly get gems from kicking thrones
cohrs [Sat, 23 Mar 2002 22:11:07 +0000 (22:11 +0000)]
only get gems from kicking thrones
- this was a betabug I think, but not recorded as such
- if you kicked a throne, any GEM_CLASS item could be generated, including rocks
- changes behavior to be consistent with gems from fountains

22 years agoREADME.linux sync
cohrs [Sat, 23 Mar 2002 21:58:42 +0000 (21:58 +0000)]
README.linux sync
- forgot to apply this change before making the 3.4.0 binary (it was
actually built using these settings).  It's safer for the game itself to be
non-group writable so that someone on a public server can't exploit a
bounds checking or similar error to infect the executable itself with
a trojan horse.

22 years ago(from Yitzhak)
nethack.allison [Sat, 23 Mar 2002 20:17:18 +0000 (20:17 +0000)]
(from Yitzhak)
-Yitzhak provided this prior to release
 but it never made it in.

22 years agotrack Revision in Guidebook's
cohrs [Sat, 23 Mar 2002 20:03:20 +0000 (20:03 +0000)]
track Revision in Guidebook's
- Keni mentioned on 3/20 that it would be nice to have $Revision$
in Guidebook.mn.  Added to both .mn and .tex versions.

22 years agowin32tty: use_inverse option
nethack.allison [Sat, 23 Mar 2002 19:49:07 +0000 (19:49 +0000)]
win32tty: use_inverse option

respect use_inverse and default to ATR_BOLD if disabled

22 years agobad wizkit items
arromdee [Sat, 23 Mar 2002 18:30:38 +0000 (18:30 +0000)]
bad wizkit items
Format multiple bad wizkit items a little better.  It will scroll off the screen
if there are more than a screen of bad items, but that's probably not too
likely.

22 years agomore explode panic()
nethack.allison [Sat, 23 Mar 2002 17:27:52 +0000 (17:27 +0000)]
more explode panic()
You could still get a panic. To reproduce:
- wizwish for a statue, and drop it
- wizwish for a landmine, and apply it at same location as statue
- move one square and wish for a boulder, drop it (automatically likely)
- push the boulder on the landmine to trigger it.
- the panic came from the statue this time.

22 years agoThe spellbook fadefades.
nethack.allison [Sat, 23 Mar 2002 12:43:11 +0000 (12:43 +0000)]
The spellbook fadefades.

<email deleted>
<email deleted>
Sent: Saturday, March 23, 2002 6:01 AM
Subject: Bug in 3.4.0: spellbook fading

> Dip a spellbook in a fountain:
> "The spellbook fadefades."
>
> In get_wet (potion.c), otense is used, which returns "fades",
> redundantly, as a suffix to "fade".

22 years agoconduct bit
nethack.rankin [Sat, 23 Mar 2002 12:08:19 +0000 (12:08 +0000)]
conduct bit
     Document the way to decline a wish or genocide, and allow both
actions to accept both "none" and "nothing" so that players don't
have to remember which response goes with which prompt.

22 years agoupdate ./Files with new fixes34.1
nethack.allison [Sat, 23 Mar 2002 09:00:13 +0000 (09:00 +0000)]
update ./Files with new fixes34.1

22 years agoannoying shop bug
nethack.rankin [Sat, 23 Mar 2002 06:53:09 +0000 (06:53 +0000)]
annoying shop bug
     The shop billing code assumes that food marked partly eaten
is worthless, but the eating code was changed to make sure that any
eating attempt will never leave food marked as not partly eaten.
The end result is that non-corpse food which is consumed in a
single byte can be eaten off shop floors for free, and if eaten
from inventory--so already on shop bill--the "Ix" display of used
up goods lists the item as partly eaten (with right price though).

     This fix makes single-byte food be handled the same as other
food:  the first byte taken causes the food to be auto-purchased
immediately instead of waiting until it's used up to add it to the
shopping bill.

22 years agoMjollnir fix
nethack.rankin [Sat, 23 Mar 2002 04:37:02 +0000 (04:37 +0000)]
Mjollnir fix
     Fix one of the problems From a bug report:  Mjollnir is only
giving the intended feedback when it is thrown.  Against ordinary
monsters the problem isn't too bad--you get a lightning message
without the preceding hit message--but against resistant ones there
is no message at all when you hit hand-to-hand.  (There is a similar
bug for artifacts which add magic missile damage, but since no such
artifacts exist that isn't much of a problem. :-)

22 years ago#R650: Game crash (Panic - obj not free)
nethack.allison [Sat, 23 Mar 2002 01:35:59 +0000 (01:35 +0000)]
#R650: Game crash (Panic - obj not free)

> <email deleted>
> Oops! [...]
> Suddenly, the dungeon collapses.
> place_object: obj not free
>
> The crash is reproducible in wizmode by wishing for a landmine, arming it and
> pushing a wished-for boulder onto it.

22 years agoRemove files Pat noticed.
nethack.allison [Fri, 22 Mar 2002 11:16:12 +0000 (11:16 +0000)]
Remove files Pat noticed.
- they are now included in the oldfiles.tgz archive
available in the usual place old/oldfiles.tgz

22 years agoclean up Files
cohrs [Thu, 21 Mar 2002 04:37:35 +0000 (04:37 +0000)]
clean up Files

22 years agofinal? 3.4 Guidebook.txt update
cohrs [Wed, 20 Mar 2002 15:27:09 +0000 (15:27 +0000)]
final? 3.4 Guidebook.txt update

22 years agoMac documentation tidbit
kmhugo [Wed, 20 Mar 2002 13:48:22 +0000 (13:48 +0000)]
Mac documentation tidbit

Fix a documentation inaccuracy pointed out by Michael.  Intended for
the 3.4.0 source tarball, even though it was submitted after the
code freeze.  Does not affect compiled binaries.

22 years ago(final patch from <Someone>)
nethack.allison [Wed, 20 Mar 2002 13:05:58 +0000 (13:05 +0000)]
(final patch from <Someone>)
This patch implements two things:
- space now dismisses a menu, text or menutext window when you are
  at the bottom of that window
- Page scrolling in menus now works as follows:
  pressing PgDn (or Space in NH mode) moves the focus down one page,
  and moves the scroll position down one page. The effect of this
  is that you always get a full new page of items (which is what
  NetHack players expect), and that the focus moved down one page
  (what Windows users expect.)
  The same (revers) goes for scrolling up a page.

A Windows user will still be a bit surprised when the focus is on
the top item, and he presses '>': he gets a new page of things instead
of the focus moving to the bottom of the page.
However, the PgUp/PgDn keys (which he probably uses) still have the
old Windows behaviour.

22 years agoAdd the fixes disclaimer to README.
nethack.allison [Wed, 20 Mar 2002 11:55:46 +0000 (11:55 +0000)]
Add the fixes disclaimer to README.

22 years agoGuidebook dates to match release date
nethack.allison [Wed, 20 Mar 2002 11:47:10 +0000 (11:47 +0000)]
Guidebook dates to match release date

22 years ago(from Yitzhak)
nethack.allison [Wed, 20 Mar 2002 10:44:13 +0000 (10:44 +0000)]
(from Yitzhak)
This band adds handling for the "5" key in the numeric keypad.  This is
called VK_CLEAR in the VK_ constants.  Using this band, and with
NumLock off, doing 5 will send NetHack the letter 'g'.  Doing SHIFT-5 will
send 'G'.  Without this band and with NumLock off, 5 does nothing.  With
NumLock on, 5 sends 5.

22 years agodate change again
nethack.allison [Wed, 20 Mar 2002 10:34:41 +0000 (10:34 +0000)]
date change again

22 years agoprobing of empty containers--right diff this time
nethack.rankin [Wed, 20 Mar 2002 09:07:39 +0000 (09:07 +0000)]
probing of empty containers--right diff this time

22 years agoprobing of empty containers
nethack.rankin [Wed, 20 Mar 2002 09:06:30 +0000 (09:06 +0000)]
probing of empty containers

22 years agoMac port update
kmhugo [Wed, 20 Mar 2002 06:33:45 +0000 (06:33 +0000)]
Mac port update

* Update Mac port to new options system.
* Update Mac-specific documentation.
* Remove hardcoded version strings.
* Remove obsolete popup_dialog.

22 years agoMac resource file update
kmhugo [Wed, 20 Mar 2002 06:30:23 +0000 (06:30 +0000)]
Mac resource file update

Changes to the resource file used for the Macintosh port.
Specifically, remove hardcoded version string and popup dialogs.

This is formatted with BinHex so it can be stored on non-Mac
systems without losing the resource fork.  Though it is text,
it is not intended to be human-readable.

22 years agoList <Someone>'s new win/gem files.
jwalz [Wed, 20 Mar 2002 03:53:55 +0000 (03:53 +0000)]
List <Someone>'s new win/gem files.

22 years ago<Someone>'s new files.
jwalz [Wed, 20 Mar 2002 03:50:49 +0000 (03:50 +0000)]
<Someone>'s new files.

22 years ago<Someone>'s gem changes.
jwalz [Wed, 20 Mar 2002 03:45:07 +0000 (03:45 +0000)]
<Someone>'s gem changes.

22 years ago<Someone>'s changes for the makefiles.
jwalz [Wed, 20 Mar 2002 03:30:45 +0000 (03:30 +0000)]
<Someone>'s changes for the makefiles.

22 years agorelease date adjustment
nethack.allison [Tue, 19 Mar 2002 22:46:18 +0000 (22:46 +0000)]
release date adjustment

22 years ago(from <Someone>)
nethack.allison [Tue, 19 Mar 2002 22:37:22 +0000 (22:37 +0000)]
(from <Someone>)
This implements some items on the ToDo list:
- H0005: Space does the same as PgDn in text, menu and 'menutext'
        windows if NetHack mode is on.
- M0004: The cursor (caret) is hidden in text windows and menu
         windows.
         PgUp/PgDn/Up/Dn don't move the cursor, but scroll the
         window.

23 years agoGnome player selection
cohrs [Tue, 19 Mar 2002 08:27:55 +0000 (08:27 +0000)]
Gnome player selection
- provide full 3.4-style player selection, based on tty_player_selection
- generalize selection dialog so it can be used for all 4 prompts

23 years agofinal(?) touchstone
nethack.rankin [Tue, 19 Mar 2002 05:13:50 +0000 (05:13 +0000)]
final(?) touchstone
     Put back the "better gold handling" that was inadvertently
dropped from the previous rewrite.  Prevent gems rubbed on cursed
gray stones other than touchstones from being shattered.  Fix
several pluralization buglets, including allowing the player to
rub a stone against itself if the quantity is more than one (just
like potion dipping is handled).  Overall, streamline the rather
convoluted logic, eliminating the `goto's.

23 years ago/tmp/msg
cohrs [Tue, 19 Mar 2002 04:20:20 +0000 (04:20 +0000)]
/tmp/msg

23 years agoBy "Rush commands", I meant `G' (though I've only ever pressed Alt).
warwick [Tue, 19 Mar 2002 03:42:59 +0000 (03:42 +0000)]
By "Rush commands", I meant `G' (though I've only ever pressed Alt).

23 years ago(from Yitzhak)
nethack.allison [Mon, 18 Mar 2002 21:44:09 +0000 (21:44 +0000)]
(from Yitzhak)
accelerators

23 years agoSpotted a missing % in Guidebook.tex
nethack.allison [Mon, 18 Mar 2002 20:11:51 +0000 (20:11 +0000)]
Spotted a missing % in Guidebook.tex

23 years ago<Someone>'s suggested changes needed to go in history too.
jwalz [Mon, 18 Mar 2002 15:33:38 +0000 (15:33 +0000)]
<Someone>'s suggested changes needed to go in history too.

23 years agoFix most of the errors <Someone> found. The perpetrator of the "Rush commands"
jwalz [Mon, 18 Mar 2002 15:24:31 +0000 (15:24 +0000)]
Fix most of the errors <Someone> found.  The perpetrator of the "Rush commands"
will need to either straighten it out themselves or let people assume it's
the capitalized ones.

23 years agoGuidebook suggestions by <Someone>
nethack.allison [Mon, 18 Mar 2002 11:34:55 +0000 (11:34 +0000)]
Guidebook suggestions by <Someone>
- Also, I just noticed that an entire devteam paragraph
was duplicated in the .tex version.

23 years agobetter trap searching behavior
cohrs [Mon, 18 Mar 2002 07:30:48 +0000 (07:30 +0000)]
better trap searching behavior
- if a trap is hidden by clutter, cls() before delay, remove windowport
specific behavior, makes trap more obvious in all cases

23 years agokelp fronds are really not gems
cohrs [Mon, 18 Mar 2002 06:58:18 +0000 (06:58 +0000)]
kelp fronds are really not gems
- finish un-confusing the kelp frond case

23 years agokelp fronds are not gems
cohrs [Mon, 18 Mar 2002 06:46:01 +0000 (06:46 +0000)]
kelp fronds are not gems
- mksobj had a misplaced test for KELP_FROND in the GEM_CLASS code, moved
to the FOOD_CLASS code

23 years agodisclosure bug
nethack.allison [Mon, 18 Mar 2002 02:24:35 +0000 (02:24 +0000)]
disclosure bug

From <Someone>:
>And finally a bug-report:
>The new disclose-option didn't fully work.
>While the -ny prefixes works like explained the + prefix
>(show it don't ask) acts like -.
>A possible fix is, change the return-value of
>should_query_disclose_option for case DISCLOSE_YES_WITHOUT_PROMPT
>to TRUE and handle the case defquery=='q' in list_*-function
>as "don't ask". Or add a new boolean ask parameter to the
>list_*-functions.

23 years ago(from Yitzhak) mhmain, ntty
nethack.allison [Mon, 18 Mar 2002 00:43:15 +0000 (00:43 +0000)]
(from Yitzhak) mhmain, ntty

23 years agoNew file: fixes34.1
nethack.allison [Mon, 18 Mar 2002 00:24:19 +0000 (00:24 +0000)]
New file: fixes34.1
Note that this is not tagged as part of 3.4.0.

23 years agoOne leftover height use in Qt tile support
cohrs [Mon, 18 Mar 2002 00:02:51 +0000 (00:02 +0000)]
One leftover height use in Qt tile support

23 years agoGnome basic functionality
cohrs [Sun, 17 Mar 2002 22:36:57 +0000 (22:36 +0000)]
Gnome basic functionality
- Makefile.src update for new dependency

23 years agoAs pointed out by <Someone>
nethack.allison [Sun, 17 Mar 2002 21:59:19 +0000 (21:59 +0000)]
As pointed out by <Someone>
> while testing the new wc_-Features for Gem I noticed
> in nh340b11 options.c parse_options there is a bug.
> If a optionname starts with "font" a opts+=4; is
> performed on it, but if via string_for_opt an
> error occurs badoption is reporting i.E.
>    Bad Syntax: _menu use "?g" ...
> instead of font_menu.
>
> Possible fixes include shift the pointer back (bad)
> or use another pointer.
>
> <Someone>

23 years agoGnome basic functionality
cohrs [Sun, 17 Mar 2002 20:16:57 +0000 (20:16 +0000)]
Gnome basic functionality
- let the "#" key work as per Guidebook
- role selection didn't work if you had gender specified in your .nethackrc
  similar problems would occur for other .nethackrc selections
- fix an obvious memory leak
- fix one crash bug from accessing a freed pointer (M-? dismiss M-?)
- note some invalid behavior in comments for a real Gnome developer to fix
- reformatted some code so I could follow it

23 years agoX11 wide tilemap support - Gnome patch
cohrs [Sun, 17 Mar 2002 20:04:56 +0000 (20:04 +0000)]
X11 wide tilemap support - Gnome patch
- update Gnome code to support a 40 tile wide XPM file

23 years agoX11 wide tilemap support
cohrs [Sun, 17 Mar 2002 20:02:47 +0000 (20:02 +0000)]
X11 wide tilemap support
- support X11 tile files (with or without XPM) that are 40 tiles wide
- rearrange some X11 code to share more code between XPM & non-XPM options
- clean out some deprecated X11/winmap.c #ifdefs
- update Qt code minimally to handle such an XPM file

23 years ago(from Yitzhak) ALT-?
nethack.allison [Sun, 17 Mar 2002 17:07:22 +0000 (17:07 +0000)]
(from Yitzhak) ALT-?
This patch allows ALT-? to do #? in NetHack mode by not doing
TranslateAccelerator in NetHack mode.  This relies on the short circuit
logic of || (much of NetHack code relies on it, it's just an explanatory note).

23 years ago(from Yitzhak) ALT-H
nethack.allison [Sun, 17 Mar 2002 17:03:45 +0000 (17:03 +0000)]
(from Yitzhak) ALT-H
This patch disables ALT-H in NetHack mode.  Before patch: ALT-H in NetHack
mode brings down the Help menu in the menu bar.  After patch: ALT-H does
nothing in NetHack mode.  In both cases, in Windows mode, ALT-H brings
down the Help menu in the menu bar.   I can easily write a patch to have
ALT-H in NetHack mode act the same as '?'.

Explanation:
return 0: this window proc has processed this event.
return DefWindowProc(): process using default window proc.

ALT-H is the only key for which DefWindowProc() does something special AND
reaches the else.