Commit Graph

2362 Commits

Author SHA1 Message Date
nethack.allison
a9a0898d1a Make header in file match the file name 2002-03-24 18:58:05 +00:00
nethack.rankin
f1322e1c5a stair quote
I hadn't realized that we already had an entry for stairs,
but this one is short enough to tack on anyway.
2002-03-24 08:41:54 +00:00
nethack.allison
299fc5ff29 #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.
2002-03-24 03:57:22 +00:00
nethack.allison
67604538c6 #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.
2002-03-24 01:37:16 +00:00
cohrs
88f0680567 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
2002-03-24 00:04:41 +00:00
nethack.allison
658ee6436a #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.
2002-03-23 23:05:08 +00:00
nethack.allison
87a86749ff win32gui: make error() work
- in 3.4.0 it was useless in the graphical port.
2002-03-23 22:47:44 +00:00
cohrs
f777aceb74 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
2002-03-23 22:27:54 +00:00
cohrs
d66603827b 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
2002-03-23 22:11:07 +00:00
cohrs
a305cc097e 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.
2002-03-23 21:58:42 +00:00
nethack.allison
4ac38da4d9 (from Yitzhak)
-Yitzhak provided this prior to release
 but it never made it in.
2002-03-23 20:17:18 +00:00
cohrs
0158906de5 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.
2002-03-23 20:03:20 +00:00
nethack.allison
3041cea5c8 win32tty: use_inverse option
respect use_inverse and default to ATR_BOLD if disabled
2002-03-23 19:49:07 +00:00
arromdee
399b801315 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.
2002-03-23 18:30:38 +00:00
nethack.allison
869e5e7c0c 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.
2002-03-23 17:27:52 +00:00
nethack.allison
7dcaa4d54b 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".
2002-03-23 12:43:11 +00:00
nethack.rankin
42a0285fa0 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.
2002-03-23 12:08:19 +00:00
nethack.allison
e0c54d9dab update ./Files with new fixes34.1 2002-03-23 09:00:13 +00:00
nethack.rankin
365a76ca28 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.
2002-03-23 06:53:09 +00:00
nethack.rankin
db95c38e20 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. :-)
2002-03-23 04:37:02 +00:00
nethack.allison
fba4cbd6af #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.
2002-03-23 01:35:59 +00:00
nethack.allison
9fd9ff3db9 Remove files Pat noticed.
- they are now included in the oldfiles.tgz archive
available in the usual place old/oldfiles.tgz
2002-03-22 11:16:12 +00:00
cohrs
5267502103 clean up Files 2002-03-21 04:37:35 +00:00
cohrs
0d9c056e03 final? 3.4 Guidebook.txt update 2002-03-20 15:27:09 +00:00
kmhugo
742fc6525b 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.
2002-03-20 13:48:22 +00:00
nethack.allison
f72ed65d1a (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.
2002-03-20 13:05:58 +00:00
nethack.allison
45682588a1 Add the fixes disclaimer to README. 2002-03-20 11:55:46 +00:00
nethack.allison
c1fb9516d9 Guidebook dates to match release date 2002-03-20 11:47:10 +00:00
nethack.allison
bff7b7e431 (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.
2002-03-20 10:44:13 +00:00
nethack.allison
f17c623839 date change again 2002-03-20 10:34:41 +00:00
nethack.rankin
35c7504e8e probing of empty containers--right diff this time 2002-03-20 09:07:39 +00:00
nethack.rankin
0f1d63976b probing of empty containers 2002-03-20 09:06:30 +00:00
kmhugo
2962e623d0 Mac port update
* Update Mac port to new options system.
* Update Mac-specific documentation.
* Remove hardcoded version strings.
* Remove obsolete popup_dialog.
2002-03-20 06:33:45 +00:00
kmhugo
07512a8d56 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.
2002-03-20 06:30:23 +00:00
jwalz
de2bde1b08 List <Someone>'s new win/gem files. 2002-03-20 03:53:55 +00:00
jwalz
d98c30d989 <Someone>'s new files. 2002-03-20 03:50:49 +00:00
jwalz
931e38a6d7 <Someone>'s gem changes. 2002-03-20 03:45:07 +00:00
jwalz
545132999d <Someone>'s changes for the makefiles. 2002-03-20 03:30:45 +00:00
nethack.allison
ebd5affcca release date adjustment 2002-03-19 22:46:18 +00:00
nethack.allison
184ce30dad (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.
2002-03-19 22:37:22 +00:00
cohrs
bdfcd6915e 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
2002-03-19 08:27:55 +00:00
nethack.rankin
49d84cffdb 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.
2002-03-19 05:13:50 +00:00
cohrs
e6c317835c /tmp/msg 2002-03-19 04:20:20 +00:00
warwick
c2dc2447f6 By "Rush commands", I meant `G' (though I've only ever pressed Alt). 2002-03-19 03:42:59 +00:00
nethack.allison
e55d3509a1 (from Yitzhak)
accelerators
2002-03-18 21:44:09 +00:00
nethack.allison
d06e6a06dd Spotted a missing % in Guidebook.tex 2002-03-18 20:11:51 +00:00
jwalz
2098e3ad7a <Someone>'s suggested changes needed to go in history too. 2002-03-18 15:33:38 +00:00
jwalz
c3dc625957 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.
2002-03-18 15:24:31 +00:00
nethack.allison
cb4cf99c2c Guidebook suggestions by <Someone>
- Also, I just noticed that an entire devteam paragraph
was duplicated in the .tex version.
2002-03-18 11:34:55 +00:00
cohrs
6fc7d44345 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
2002-03-18 07:30:48 +00:00