]> granicus.if.org Git - nethack/log
nethack
22 years agoB10002 - enlightenment grammar bug
nethack.rankin [Sun, 1 Sep 2002 09:56:55 +0000 (09:56 +0000)]
B10002 - enlightenment grammar bug

>       In my final attributes;
>       "You had +1 bonus to hit."
>       Surely "You had a ..." ?

Also moves the hit and damage bonus feedback from the "troubles"
section to the "physical attributes" section and delivers it for
every enlightenment rather than just after the game is over.

22 years agomessage when trying to wear HoOA on quest
nethack.allison [Sat, 31 Aug 2002 20:47:04 +0000 (20:47 +0000)]
message when trying to wear HoOA on quest

22 years agodoomed quest
nethack.allison [Sat, 31 Aug 2002 20:14:17 +0000 (20:14 +0000)]
doomed quest
Your quest leader would tell you to return later, even after you
were converted, which would be futile, and could mislead new
players.

This patch:
1. Causes the quest leader to banish you the first time you
encounter him/her following a conversion, since you cannot ever
complete the quest anyway in the current game.
2. Adds a new general QT_BANISHED message to be delivered, in
which you are told that you won't be able to get the Amulet without
the Bell now.

This helps resolve the complaint about not knowing that your game
cannot be won.

22 years agospeed of petrified monsters
nethack.rankin [Sat, 31 Aug 2002 09:24:08 +0000 (09:24 +0000)]
speed of petrified monsters

     Someone posted in the newsgroup about using stone-to-flesh
to reanimate a petrified pet and having it come back to life with
boosted speed intact.  When the character gets petrified, stripping
speed is one of the first things which happens, so now do that for
monsters too.  I decided not to make monsters who have normal speed
become slow; there isn't any analogous case for the player.

     Possible bug:  while testing this, I zapped a wand of probing
at a hill orc which had just eaten a lizard corpse to save itself
from stoning.  The feedback said "eating" but the orc immediately
hit and killed me as if it wasn't affected by any movement delay.

22 years agoU29 - mounting steed gets thru tight spots
cohrs [Fri, 30 Aug 2002 06:17:41 +0000 (06:17 +0000)]
U29 - mounting steed gets thru tight spots
Mounting a steed would work even when done diagonally at a doorway,
such as a shop door.  Use test_move to check for all such moves and disallow
the mount in this case.

22 years agoshort int
cohrs [Fri, 30 Aug 2002 03:11:22 +0000 (03:11 +0000)]
short int
A fix from <Someone>: "this code only claims to inform the leader if mshort
is set i.E. sizeof(int)<=16."

22 years agobees from trees
nethack.allison [Fri, 30 Aug 2002 02:55:21 +0000 (02:55 +0000)]
bees from trees

<email deleted> wrote in the newsgroup:
> "You've attracted the tree's former occupants!"
> (nothing happens)
>
> Yes, it's _zero_ to four bees, depending on your luck.  I think it's meant
> to be one to five, though.
>

22 years agotake_gold() crash with GOLDOBJ
nethack.allison [Thu, 29 Aug 2002 02:23:47 +0000 (02:23 +0000)]
take_gold() crash with GOLDOBJ
Possible fix for B10001.
When the code went into case 3 in cursed_book(),
the game hung in an endless loop in take_gold().
The call stack was:
    take_gold() line 22 + 10 bytes
    cursed_book(int 2) line 124
    study_book(obj * 0x00968860) line 421 + 19 bytes
    doread() line 130 + 9 bytes
    rhack(char * 0x005b8eac in_line) line 1813 + 3 bytes
    moveloop() line 405 + 7 bytes
    main(int 3, char * * 0x00962ac0) line 93

22 years agowin32 suggestion from <Someone>
nethack.allison [Thu, 29 Aug 2002 00:17:08 +0000 (00:17 +0000)]
win32 suggestion from <Someone>

22 years agowin32 (from <Someone>)
nethack.allison [Wed, 28 Aug 2002 04:53:50 +0000 (04:53 +0000)]
win32 (from <Someone>)
This patch is an improvement for menu/text dialogs.
This is a code carried over from Windows CE port. It changes
text and menu windows from "system popup" to plain "child"
windows of the main nethack window. Nethack main window can
now be resized/moved/minimized when menu/text window is up.
Menu/text windows will always stay inside the main window and
move along with it.

<Someone>

22 years agoimproperly terminated quest message
cohrs [Tue, 27 Aug 2002 03:56:28 +0000 (03:56 +0000)]
improperly terminated quest message
Add a missing check to makedefs so it prints a warning about misplaced %Es.
Fix a couple places in quest.txt pointed out by the new warning.
There's no visible effect on play, since the code that actually reads the
message keeps reading until the next %C.

22 years agoB09002 - killing monsters seen by infravision
cohrs [Mon, 26 Aug 2002 15:31:51 +0000 (15:31 +0000)]
B09002 - killing monsters seen by infravision
ohitmon was incorrectly using location visibility in a couple places where
monster visibility was more appropriate.  I'm still not sure about the
canspotmon check for destroy vs killed.  Similar checks do no appear
elsewhere in the code.  But at least now the 'destroyed' won't be shown
for a seen, living monster.

22 years agocancelling compound option change
cohrs [Mon, 26 Aug 2002 15:23:06 +0000 (15:23 +0000)]
cancelling compound option change
Patch from <Someone>.  Accept escape when setting complex option as a cancel,
like most other prompts.

22 years ago(from <Someone>)
nethack.allison [Sun, 25 Aug 2002 12:29:35 +0000 (12:29 +0000)]
(from <Someone>)
> Questions are being appended in the message window, some showing
> up on the same line. This is really noticeable with the
> end-of-game disclosure questions. Questions should always be
> presented on a new line.

At end of game is probably the only place, since then more than one
question is asked in the same turn. Anyhow, here's the patch, in
mswproc.c  [...]

- No checkboxes in menu if menu is PICK_NONE. mhmenu.c

- About box changed to splash screen. This last thing is open
for discussion, as the splash screen currently does not give
exactly the ame information as the about box (or the v command).
Maybe the splash should be enhanced? Anyway, it looks better than
the About-box. I didn't remove the About-box code and resource yet
until this discussion is had. mhmain.c

<Someone>

22 years agobones file diagnostics
nethack.allison [Sat, 24 Aug 2002 23:25:40 +0000 (23:25 +0000)]
bones file diagnostics

Pat added some error information to create_levelfile.
This does the same for create_bonesfile, but the
only place it is logged is in the paniclog, unless
you're in wizard mode.  If bones file creation is
silently failing for someone and they aren't getting
bones files, this provides a way to diagnose why.

22 years agomisc bits: options, also win32 follow-up from <Someone>
nethack.allison [Sat, 24 Aug 2002 15:33:00 +0000 (15:33 +0000)]
misc bits: options, also win32 follow-up from <Someone>

(from <Someone>):
I guess that this:
      mcam += iflags.wc_scroll_amount;
should be his:
      mcam += iflags.wc_scroll_amount - 1;
In words: If scroll amount is 1, the behaviour should be as it was
before the option existed, which means: no addition to mcam.

22 years agowin32tty ALT+CTRL entry for fixes34.1
nethack.allison [Sat, 24 Aug 2002 15:24:09 +0000 (15:24 +0000)]
win32tty ALT+CTRL entry for fixes34.1

22 years agomore trickery - build fix
nethack.rankin [Sat, 24 Aug 2002 05:52:22 +0000 (05:52 +0000)]
more trickery - build fix

     Update the other trickery situation.  I don't know how I managed
to miss this.  The disadvantage of suppressing extern.h from normal
dependencies I guess.

22 years agowin32tty follow-up, Makefile change
nethack.allison [Fri, 23 Aug 2002 19:25:17 +0000 (19:25 +0000)]
win32tty follow-up, Makefile change

22 years agoB08014 win32tty: hanging when ctrl+alt pressed
nethack.allison [Fri, 23 Aug 2002 18:40:08 +0000 (18:40 +0000)]
B08014 win32tty: hanging when ctrl+alt pressed

CTRL+ALT was being treated as a valid ALT-sequence,
 so the meta bit was being set on it, letting it slip past this
 check in wintty.c "if (!i) i = '\033';"

This overhauls the ALT processing in nttty.c, some of
which was using scancode mappings from the DOS port
needlessly.

22 years agowindow.doc update
nethack.allison [Fri, 23 Aug 2002 18:30:01 +0000 (18:30 +0000)]
window.doc update
Nethack doesn't like zero,
or zero with the meta bit set.

22 years agolevel file handling and trickery feedback
nethack.rankin [Fri, 23 Aug 2002 14:52:25 +0000 (14:52 +0000)]
level file handling and trickery feedback

1) consolidate all core usage of `errno' in files.c;
2) give more feedback for any failure by create_levelfile or open_levelfile,
   similar to what was being done for problems during level change;
3) include trickery info in paniclog (many instances of "trickery" seem to
   be due to disk or quota problems rather than user misbehavior...).

The create_levelfile call in pcmain probably ought to be changed to use
error feedback, but in the meantime this should continue working.

Perhaps error() should be modified to update paniclog too, but I didn't
want to go through all its port-specific incarnations making changes.

22 years agohitting and mhurtle
cohrs [Fri, 23 Aug 2002 05:47:54 +0000 (05:47 +0000)]
hitting and mhurtle
Fix part of the buglist entry regarding hitting and mhurtle.  Flag if
mhurtle already killed the monster, and don't call killed again in this case.
One of the new checks for this already_killed flag is just futureproofing.

22 years agoB08021 scroll_amount wincap option
nethack.allison [Fri, 23 Aug 2002 01:03:59 +0000 (01:03 +0000)]
B08021 scroll_amount wincap option
> - I'd like to see another option added: scroll_amount. In
>   combination with scroll_margin, this would control the amount
>   of squares the screen is scrolled when the scroll_margin is
>   reached (currently, this amount is 1, but if I recall
>   correctly, it used to be more). For example, if both were 5,
>   when you came within 5 spaces of the left screen border, the
>   screen would shift 5 spaces to the right).

22 years agoconst and char* to char[]
nethack.allison [Thu, 22 Aug 2002 07:31:44 +0000 (07:31 +0000)]
const and char* to char[]
contributed by <Someone>

22 years agoUnhide the "click-to-the-left-to-set-count" feature, since it's a FAQ.
warwick [Thu, 22 Aug 2002 05:10:29 +0000 (05:10 +0000)]
Unhide the "click-to-the-left-to-set-count" feature, since it's a FAQ.

22 years agotrickery bulletproofing
nethack.rankin [Thu, 22 Aug 2002 03:05:18 +0000 (03:05 +0000)]
trickery bulletproofing

     Prevent the pardoning of trickery in wizard mode from attempting
to continue when there's no longer any current level.  Also prevent
the ZEROCOMP configuration from trying to read from file descriptor -1
in case there're any other places which still let that slip through.
And fix an oddity in the VMS port's error() routine which has gone
unnoticed for years.

22 years agoB09001 - mhp > mhpmax after life drain
nethack.rankin [Thu, 22 Aug 2002 01:44:24 +0000 (01:44 +0000)]
B09001 - mhp > mhpmax after life drain

     A monster hit by Stormbringer could take less damage to current
HP than it took to max HP if attacker had sufficient penalties, so
end up being healthier than its new maximum.  This only applies to
attacks by the player; attacks by monsters don't include the sorts of
modifiers that can trigger it.

22 years agobad "cad" message
nethack.rankin [Thu, 22 Aug 2002 01:23:31 +0000 (01:23 +0000)]
bad "cad" message

     From the newsgroup:  taking a shop-owned pick-axe out of a
container inside a shop gave a misleading message telling the
player to take the pick-axe out of the shop.  It was caused by
using the object's `unpaid' field before addtobill() had set it.

22 years agoB04006 - Grayswandir and unicorn horns
cohrs [Thu, 22 Aug 2002 00:13:03 +0000 (00:13 +0000)]
B04006 - Grayswandir and unicorn horns
Implement a check in make_hallucinated similar to the check in make_blinded
to handle the case where your hallucination is cured but Grayswandir is
suppressing its effects anyway.

22 years agoR1049 followup
cohrs [Wed, 21 Aug 2002 23:36:47 +0000 (23:36 +0000)]
R1049 followup
This patch handles the case of angering the town watch when breaking a wand
of digging damages walls or doors.

22 years agoB08002 - win32gui: message window sizing (from <Someone>)
nethack.allison [Wed, 21 Aug 2002 23:14:27 +0000 (23:14 +0000)]
B08002 - win32gui: message window sizing (from <Someone>)
>>>  - When I set font and font size of the message window, the
>>>  message window size doesn't calculate correctly to show the
>>>  number of message lines specified. For example, I set the font
>>>  size to 6, and the number of messages to display to 8. Now
>>>  there is whitespace at the top of my message window. When I
>>>  set the font size to 14 now, I see only 5.5 message lines.
>>>  This is unintuitive: the interface should recalculate the
>>>  window size needed to display the correct number of lines.
>>>
>>  I agree, especially since the message window size is
>>  recalculated correctly if you save and restore. An easy way out
>>  would be to set those options to DISP_IN_GAME.
>
>  That seems like a good work-around until the proper fix is done.

The patch is attached. I moved the code that was computing the font
size to mswin_message_window_size(). This will cause the message
window to resize properly if the message font size changes. There
are also 2 minor bits in mswproc.c to invalidate the message window
when the font changes.

22 years agoR1049 - various wand of digging bugs
cohrs [Wed, 21 Aug 2002 23:06:58 +0000 (23:06 +0000)]
R1049 - various wand of digging bugs
- Breaking wand of digging dug through rock which should be undiggable.
Checks assumed pits would never show up in solid rock.
- Breaking wand of digging near shop walls wouldn't anger the shopkeeper
Checks assumed pits would never show up in walls, also, added a special
case to pay_for_damage to handle the case where you're falling thru and
can't be asked to pay.
- Shop walls wouldn't be restored if there are pits in the way.
Checks assumed pits would never show up in walls.
- If there was a hole outside the shop, you could kick stuff out of the
door into the hole without shopkeeper noticing.  Added the missing check.

22 years agoB08020 - partial fix for D<count>$ behavior
cohrs [Wed, 21 Aug 2002 16:57:21 +0000 (16:57 +0000)]
B08020 - partial fix for D<count>$ behavior
When GOLDOBJ is defined, dropping partial amounts of gold using the D
command would not work because gold currently has the same inventory letter
as the coin group accelerator.  In this case, the group accelerator should
not be used, since it confuses counts.  tty and X11 ports are fixed.  The
tty change should fix the Windows console version as well (untested).

22 years agotearing spellbooks while confused
cohrs [Wed, 21 Aug 2002 16:43:48 +0000 (16:43 +0000)]
tearing spellbooks while confused
Reported to the newsgroup, the code in study_book for the effect of
confusion on studying a book was never reached.  The study_book code
didn't completely handle continuing to read a book when you got confused
after getting interrupted.

22 years agotearing spellbooks while confused
cohrs [Wed, 21 Aug 2002 16:42:10 +0000 (16:42 +0000)]
tearing spellbooks while confused
Reported to the newsgroup, the code in study_book for the effect of
confusion on studying a book was never reached.  Removed the deprecated
check from read.c

22 years agowin32: hold .0 file open exclusively
nethack.allison [Wed, 21 Aug 2002 15:21:56 +0000 (15:21 +0000)]
win32: hold .0 file open exclusively
-prevents problems with internal recover
if second copy of game is started up with
the same player name.

22 years agowin32 problem on NT4
nethack.allison [Wed, 21 Aug 2002 11:53:44 +0000 (11:53 +0000)]
win32 problem on NT4
> Oops:
>
> "NetHack.exe - Entry Point Not Found
>
> The procedure entry point Process32Next could not be located in the dynamic link
> library KERNEL32.dll."
>
> And the program refuses to run. Same goes for NetHackW.exe.
>
> Windows NT 4 (to be precise: 4.00.1381, SP6)
> IE 5.0 (to be precise: 5.00.2919.6307)
>
> The Help for Process32Next shows the following compatibility list:
> QuickInfo
>   Windows NT: Requires version 5.0 or later.
>   Windows: Requires Windows 95 or later.
>   Windows CE: Unsupported.
>   Header: Declared in tlhelp32.h.
>   Import Library: Use kernel32.lib.

22 years agosuggestions from <Someone>
nethack.allison [Wed, 21 Aug 2002 11:02:56 +0000 (11:02 +0000)]
suggestions from <Someone>

22 years agoB08019 - growup followup
cohrs [Wed, 21 Aug 2002 05:14:10 +0000 (05:14 +0000)]
B08019 - growup followup
growup entries for all the orc types as <Someone> suggested, since generic orcs
almost never occur.

22 years agoB08018 - vision when breaking closed doors
cohrs [Wed, 21 Aug 2002 04:48:17 +0000 (04:48 +0000)]
B08018 - vision when breaking closed doors
Do vision_recalc immediately when blasting a door so that all the
subsequent messages for the same blast hitting other things are all
evaluated with the same vision in effect.

22 years agofixes34.1: SELF_RECOVER for win32, chdir
nethack.allison [Wed, 21 Aug 2002 03:42:36 +0000 (03:42 +0000)]
fixes34.1: SELF_RECOVER for win32, chdir

22 years agoSELF_RECOVER for win32
nethack.allison [Wed, 21 Aug 2002 03:30:19 +0000 (03:30 +0000)]
SELF_RECOVER for win32

- define SELF_RECOVER for win32
- add code to perform a recover operation from
  within NetHack itself when SELF_RECOVER is defined

22 years agoDon't chdir with NOCWD_ASSUMPTIONS
nethack.allison [Wed, 21 Aug 2002 03:26:25 +0000 (03:26 +0000)]
Don't chdir with NOCWD_ASSUMPTIONS

22 years agoB08010 cmdassist missing from ?g help
nethack.allison [Tue, 20 Aug 2002 11:55:28 +0000 (11:55 +0000)]
B08010 cmdassist missing from ?g help

22 years agoRemove www link for coyote names
nethack.allison [Tue, 20 Aug 2002 11:43:16 +0000 (11:43 +0000)]
Remove www link for coyote names

The link is no longer valid. I found another
link, http://tultw.com/bios/latin.htm
but this doesn't seem like something we
want to direct maintenance effort towards.
So this removes the link altogether.

22 years agostring constants
nethack.allison [Tue, 20 Aug 2002 08:05:20 +0000 (08:05 +0000)]
string constants
<Someone> wrote:
> Linux, Redhat 7.1 nethack 3.4.0
>
>Please see attached patch file.
>
>I'm attempting to move more stuff into the "read-only" area, in
>preparation for a port to another OS.

22 years agoIPKG control file - specifies the packaging of files
warwick [Tue, 20 Aug 2002 07:35:05 +0000 (07:35 +0000)]
IPKG control file - specifies the packaging of files
for a ".ipk" binary package for handheld Linux (eg. Qtopia).

22 years agoInformation about compiling for Qtopia.
warwick [Tue, 20 Aug 2002 07:31:48 +0000 (07:31 +0000)]
Information about compiling for Qtopia.

22 years agoDefault to compact mode on embedded builds.
warwick [Tue, 20 Aug 2002 07:26:22 +0000 (07:26 +0000)]
Default to compact mode on embedded builds.
(one less FAQ to answer)

22 years ago(from <Someone>)
nethack.allison [Tue, 20 Aug 2002 00:04:34 +0000 (00:04 +0000)]
(from <Someone>)

> - When I pick up something, the count is displayed to the right.
>   I'd like this count to stay visible when I switch to another
>   item in the list.

22 years agoB07004 camera breaks on shade
nethack.allison [Tue, 20 Aug 2002 00:03:17 +0000 (00:03 +0000)]
B07004 camera breaks on shade

22 years agoB08012 - tweaking travel and closed doors
cohrs [Mon, 19 Aug 2002 17:10:34 +0000 (17:10 +0000)]
B08012 - tweaking travel and closed doors
- when testing travel locations, don't treat diagonal moves thru closed
doors as possible, unless player can go/dig thru door
- treat closed doors and boulders as expensive for travel, preferring open paths

22 years agojuice name bit
nethack.rankin [Mon, 19 Aug 2002 08:22:32 +0000 (08:22 +0000)]
juice name bit

22 years agoB08017 - piece of cheese juice
nethack.rankin [Mon, 19 Aug 2002 07:33:13 +0000 (07:33 +0000)]
B08017 - piece of cheese juice

     Implement <Someone>'s request that fruit name "foo of bar" yield
juice messages referring to "bar juice" instead of "foo of bar juice".

22 years agoadd full suite of directions to cmdassist
nethack.allison [Mon, 19 Aug 2002 01:59:28 +0000 (01:59 +0000)]
add full suite of directions to cmdassist

22 years agomore win32 recover
nethack.allison [Mon, 19 Aug 2002 01:12:23 +0000 (01:12 +0000)]
more win32 recover

It turns out that the processentry32 structure contents
are slightly different on 2000/XP than they are on
95/98/Me according to the docs.

szExeFile
Pointer to a null-terminated string that specifies the name
of the executable file for the process.
Windows 2000/XP: The file name does not include the path.
Windows 95/98/Me: The file name includes the path.

Ensure that we check for the target values at the end of
the string.

22 years agowin32 recover follow-up bit
nethack.allison [Mon, 19 Aug 2002 00:17:56 +0000 (00:17 +0000)]
win32 recover follow-up bit

22 years agogas colors while blind
nethack.allison [Mon, 19 Aug 2002 00:00:52 +0000 (00:00 +0000)]
gas colors while blind

<email deleted> on Sunday, August 18, 2002 at 15:28:18
> comments: player is blind, and not hallucinating (initially). On #loot:
>
> You trigger a trap!
> A cloud of ultraviolet gas billows from the large box.
> You stagger and get dizzy...

22 years agorecover.c had:
nethack.allison [Sun, 18 Aug 2002 19:35:45 +0000 (19:35 +0000)]
recover.c had:
#  ifdef WIN32
#define SAVESIZE (PL_NSIZ + 40)  /* username-player.NetHack-saved-game */

files.c had:
#  if defined(WIN32)
#define SAVESIZE (PL_NSIZ + 60) /* username-player.NetHack-saved-game */

It has to be 40 for savefile compatibility with 3.4.0.

22 years agoaccidental removal of entry
nethack.allison [Sun, 18 Aug 2002 15:49:21 +0000 (15:49 +0000)]
accidental removal of entry

22 years agowin32 recover
nethack.allison [Sun, 18 Aug 2002 15:43:36 +0000 (15:43 +0000)]
win32 recover
Prevent recover from building a savefile out of a
currently active NetHack process.

22 years agowin32gui: hide perm_invent option from the options menu in the game
nethack.allison [Sun, 18 Aug 2002 01:53:05 +0000 (01:53 +0000)]
win32gui: hide perm_invent option from the options menu in the game

22 years agofix reported beta-tester problem of not being able
nethack.allison [Sun, 18 Aug 2002 00:16:43 +0000 (00:16 +0000)]
fix reported beta-tester problem of not being able
to select capital letter at some prompts.

22 years agorolling boulder hitting pit which holds monster
nethack.rankin [Sat, 17 Aug 2002 10:24:35 +0000 (10:24 +0000)]
rolling boulder hitting pit which holds monster

     From a bug report, a rolling boulder
trap could report that the boulder had fallen into the pit with you
and then let it keep rolling.  flooreffects() only returns true
when it uses up the object being manipulated but it doesn't use up
boulders that hit pits which hold monsters or the hero.  Its caller
needs to handle the cases where the boulder ends up sharing the pit
with a monster.

22 years agofollow-up bit
nethack.allison [Fri, 16 Aug 2002 02:44:57 +0000 (02:44 +0000)]
follow-up bit

22 years agoselection of top,bottom,left, or right
nethack.allison [Fri, 16 Aug 2002 02:34:12 +0000 (02:34 +0000)]
selection of top,bottom,left, or right
for align_message and align_status, so that you don't have
to type in the word top or bottom or left or right.

22 years agoremove duplicate reference
nethack.allison [Thu, 15 Aug 2002 11:34:35 +0000 (11:34 +0000)]
remove duplicate reference

22 years agocompatibility checks fix for TIMED_DELAY
nethack.rankin [Thu, 15 Aug 2002 02:48:34 +0000 (02:48 +0000)]
compatibility checks fix for TIMED_DELAY

     makedefs has been listing TIMED_DELAY as one of the options which
affects save file contents even though that hasn't been the case for
a long time.  Unfortunately, simply fixing that by itself would break
save file compatibility for anyone who has been building with it set.
This workaround prevents the fix from doing that.  And now folks can
rebuild after toggling TIMED_DELAY without unnecessarily invalidating
save and bones files.

22 years agoB07005 - opthelp cleanup
cohrs [Wed, 14 Aug 2002 07:04:19 +0000 (07:04 +0000)]
B07005 - opthelp cleanup
<Someone> of the PC window group noticed that lootabc & showrace were documented
twice and travel was documented in the wrong section.  Also, a couple
default syntax bits.

22 years agoenlightenment bit
nethack.rankin [Wed, 14 Aug 2002 06:51:01 +0000 (06:51 +0000)]
enlightenment bit

22 years agoSupport for 2 tile sizes ("zooming"). Still needs rc file support.
warwick [Wed, 14 Aug 2002 06:12:37 +0000 (06:12 +0000)]
Support for 2 tile sizes ("zooming"). Still needs rc file support.
Make non-rest-on-space space and Enter do the sam as clicking on
current location. On handhelds, this is the button on thumbpad.

22 years agoAllow object files for utilities to be separate from the game object
warwick [Wed, 14 Aug 2002 05:04:09 +0000 (05:04 +0000)]
Allow object files for utilities to be separate from the game object
files (essential for cross-compiling).

22 years agoAllow arrowkeys to move player, including diagonals by pressing multiple
warwick [Wed, 14 Aug 2002 05:01:56 +0000 (05:01 +0000)]
Allow arrowkeys to move player, including diagonals by pressing multiple
keys before releasing. Works well on handheld's thumbpad, perhaps less
useful on a fullsize keyboard.
Also some Qtopia-only fixes for Qt windowport.

22 years agocatch up on some fixes entries for win32gui
nethack.allison [Tue, 13 Aug 2002 04:52:31 +0000 (04:52 +0000)]
catch up on some fixes entries for win32gui

22 years agohandle 0 in DUNGEONS et al
cohrs [Tue, 13 Aug 2002 04:18:46 +0000 (04:18 +0000)]
handle 0 in DUNGEONS et al
As suggested by <Someone>, treat 0 entries in the various graphics symbol
specifications as leaving the value unchanged.

22 years agoR1045 engulfing green slime was causing stoning not sliming
nethack.allison [Tue, 13 Aug 2002 03:58:33 +0000 (03:58 +0000)]
R1045 engulfing green slime was causing stoning not sliming
From a bug report,
August 12, 2002 at 11:37:10

When I am polymorphed into a purple worm (didn't check other forms)
and bite a green slime I turn to stone (not slime).

22 years agomind flayers growing up into master mind flayers, etc.
arromdee [Tue, 13 Aug 2002 03:49:11 +0000 (03:49 +0000)]
mind flayers growing up into master mind flayers, etc.
While one could argue that giant rats aren't just grown up forms of sewer
rats, we already have bat/giant bat in there.

22 years agowin32 defaults.nh changes
nethack.allison [Tue, 13 Aug 2002 00:48:14 +0000 (00:48 +0000)]
win32 defaults.nh changes

22 years ago(from <Someone>)
nethack.allison [Tue, 13 Aug 2002 00:38:03 +0000 (00:38 +0000)]
(from <Someone>)
there is a maximum of 200 characters for a message line
now. That should be TBUFSZ.

22 years agofunction name format
nethack.allison [Mon, 12 Aug 2002 22:24:05 +0000 (22:24 +0000)]
function name format

From <Someone>:
[functions that don't start in leftmost column ]

apply.c:int unfixable_trouble_count(is_horn)
artifact.c:void arti_speak(obj)
botl.c:int xlev_to_rank(xlev)
botl.c:int rank_to_xlev(rank)
display.c:void map_location(x,y,show)
hack.c:static void findtravelpath()
hack.c:void unmul(msg_override)
hack.c:long money_cnt(otmp)
mklev.c:CFDECLSPEC do_comp(vx,vy)
pickup.c:long carry_count(obj, container, count, telekinesis, wt_before, wt_after)
pickup.c:boolean mon_beside(x,y)
shk.c:long money2mon(mon, amount)
shk.c:boolean same_price(obj1, obj2)
shk.c:void finish_paybill()
trap.c:boolean delfloortrap(ttmp)
weapon.c:void give_may_advance_msg(skill)
do_name.c:char *coyotename(mtmp, buf)

(This with a pruned 'egrep '^[[:alnum:]]+ .*\(.*\)$' *.c' in src/; I
haven't looked outside that directory, but generally speaking once you
go beyond there you're widening your search anyway.)

22 years agofix recent mon.c warning
nethack.allison [Mon, 12 Aug 2002 12:41:56 +0000 (12:41 +0000)]
fix recent mon.c warning
mon.c(967) : warning C4244: '=' : conversion from 'long ' to 'char ',
possible loss of data

22 years agowin32 message window (from <Someone>)
nethack.allison [Mon, 12 Aug 2002 11:19:04 +0000 (11:19 +0000)]
win32 message window (from <Someone>)

three new features for the message window we discussed:
- Graying out lines that are old -- slightly cleaner than <Someone>'s version.
- Message concatenation.
- --More-- prompt if there are more messages this turn than fit in the
  window.
As a by-product of these changes, some other things have changed, too:
- The message lines array is now used in a round-robin way, i.e. the
  messages are no longer copied one line up when adding a new message.
- clear_nhwindow no longer redraws the window, which significantly
  reduces screen flicker.
- A caret bug was fixed.
- The last line is no longer highlighted, as this seems unnecessary
  since the most recent messages are in a different colour
- A bug was fixed that caused two lines too many to be drawn on each
  paint.

22 years agoB07002 - hiding under nothing?
nethack.rankin [Mon, 12 Aug 2002 08:25:48 +0000 (08:25 +0000)]
B07002 - hiding under nothing?

     Clear the uundetected status during level changes in case
the character was hiding under something immediately prior to the
change.  Don't set hidden status at the destination even when
there's something to hide under--it'll take a turn to hide again.

22 years agoforcefighting an undetected monster
cohrs [Mon, 12 Aug 2002 05:57:40 +0000 (05:57 +0000)]
forcefighting an undetected monster
Fix the case <Someone> saw, where forcefighting an undetected monster
would still leave it undetected, resulting in an odd message sequence unless
you kept forcefighting on the next turns.  This also left the monster at a
disadvantage, since it wouldn't fight back. Added a check to wakeup() for this
case, cutting off the possibilities and allowing the monster to fight back.

22 years agoB07001 healed, undetected mimic fixes entry
nethack.allison [Mon, 12 Aug 2002 02:00:39 +0000 (02:00 +0000)]
B07001 healed, undetected mimic fixes entry
Also a note about the MSDOS Makefile reworking.

22 years agoB07001 healed, undetected mimic
nethack.allison [Mon, 12 Aug 2002 01:57:02 +0000 (01:57 +0000)]
B07001 healed, undetected mimic

> [Cast a healing spell in a shop where no mimic was visible] So,
> "The small mimic looks better.". However, my picture still looks
> the same. Either the mimic should be shown, *or* I shouldn't get
> any message about the mimic healing. Both solutions seem equally
> valid to me.

If the mimic was mimicing the "strange object", then the healing causes
them to start mimicing something else with no message (the observant
player could notice however).

If the mimic was already mimicing a real object, a message similar
to this one results:
"The crude dagger seems a more vivid black than before."

22 years agognu make fix for NT
nethack.allison [Mon, 12 Aug 2002 01:45:38 +0000 (01:45 +0000)]
gnu make fix for NT
I ended up with a list of all the files in my hard disk's root
appended to the file. Yikes.

22 years agoB06002 correction
nethack.allison [Mon, 12 Aug 2002 01:39:56 +0000 (01:39 +0000)]
B06002 correction

22 years agoyet more djgpp Makefile stuff
nethack.allison [Mon, 12 Aug 2002 01:27:19 +0000 (01:27 +0000)]
yet more djgpp Makefile stuff

22 years agoB06005 - cancelling getdir prompt
cohrs [Sun, 11 Aug 2002 23:17:23 +0000 (23:17 +0000)]
B06005 - cancelling getdir prompt
- Changed a cancelled chat direction to abort the chat -- it seemed odd
that the old behavior would sometimes take time, sometimes not, depending
on the previous direction.
- Documented the current spelleffects behavior of re-using the last
direction after a cancelled getdir() & added a message.

22 years agomore djgpp Makefile stuff
nethack.allison [Sun, 11 Aug 2002 18:31:23 +0000 (18:31 +0000)]
more djgpp Makefile stuff

22 years agocut trees and dug walls replaced by corridor symbols
cohrs [Sun, 11 Aug 2002 17:40:08 +0000 (17:40 +0000)]
cut trees and dug walls replaced by corridor symbols
- In various places, cutting down a tree would result in a corridor symbol
showing up, although trees are generally found in room-like areas.  Added
the missing checks.
- Trees were diggable except on mazelike levels.  Added the missing check.
- In a cavernous town like minetn-6, digging a wall would result in a
corridor symbol being displayed instead of a doorway.  This looked strange,
especially in the town.  Added a check for this, making use of the new
meaning of in_town(); non-town parts of this level still do CORR
replacement as expected.

22 years agoB02001 - trees and monster
cohrs [Sun, 11 Aug 2002 17:32:47 +0000 (17:32 +0000)]
B02001 - trees and monster
<Someone> noticed that the change to require axes for trees (and allow them for
doors) did not extend to monsters.  Now it does.
- added 2 new weapon check flags to handle the new cases
- added some detailed digging flags to mfndpos, based on ALLOW_DIG, and
  moved some common logic regarding that flag into mfndpos
- made the ARMS check consistent for 2-handed weapons
I also noticed that simply carrying a pick was enough to allow a monster to
dig a door; wielding wasn't required.  This is fixed as well.

22 years agomsdos Makefile.gcc changes for djgpp
nethack.allison [Sun, 11 Aug 2002 17:23:05 +0000 (17:23 +0000)]
msdos Makefile.gcc changes for djgpp

Add syntax that <Someone> introduced  for the Mingw Makefile.gcc
to make it easy to use unix-style path separation throughout
the Makefile.

Put all the .exe files into ../util
Put all the .obj files into o/

22 years agoatari gem update from <Someone>
nethack.rankin [Sat, 10 Aug 2002 07:44:35 +0000 (07:44 +0000)]
atari gem update from <Someone>

Added tilefile tests and code to make the restore process
visible.

22 years agoR1039 - update DnD trademark
cohrs [Fri, 9 Aug 2002 23:51:43 +0000 (23:51 +0000)]
R1039 - update DnD trademark

22 years agoR1037 - digging secret doors in town
cohrs [Fri, 9 Aug 2002 04:06:38 +0000 (04:06 +0000)]
R1037 - digging secret doors in town
I saw no secret doors in any of the towns, but in 340 (fixed in 341),
guards would patrol the entire level, so they might complain about secret
doors elsewhere.  Fix the check for future use.  Also, I noticed trees, eg
on minetn-6, weren't checked at all.  Now they are.

22 years agoblindness vs vault guards
nethack.rankin [Fri, 9 Aug 2002 02:35:30 +0000 (02:35 +0000)]
blindness vs vault guards

     I implemented this before seeing <Someone>'s forwarded report.
It makes guards come to vaults when you can't see them, but does
have one odd side-effect:  if the vault has boulders in the way
then you might not be able to follow the guard out.  (Usually you
can alternately search and step in order to successfully follow
him out when unable to see.)

22 years agostone to flesh historic statues
nethack.allison [Wed, 7 Aug 2002 10:47:53 +0000 (10:47 +0000)]
stone to flesh historic statues