]> granicus.if.org Git - nethack/log
nethack
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

22 years agowishing fixes for "* glass"
nethack.rankin [Wed, 7 Aug 2002 08:04:27 +0000 (08:04 +0000)]
wishing fixes for "* glass"

     The wishing code intended to make a wish for "blue glass" yield
a "worthless piece of blue glass" (and similarly for other specific
colors) but it didn't work right.  Also, wishing for "looking glass"
tripped up on that same code and didn't work either.  (Several other
permutations for worthless gems such as "worthless blue glass" and
"piece of glass" already do work.)

22 years agovtense special case for *ss
nethack.rankin [Wed, 7 Aug 2002 07:07:38 +0000 (07:07 +0000)]
vtense special case for *ss

     This fixes the reported "The looking glass miss the mountain nymph."

22 years agoeating rings
arromdee [Wed, 7 Aug 2002 05:17:45 +0000 (05:17 +0000)]
eating rings
Found on the newsgroup: someone pointed out that you don't get a message
when you eat a ring of increase damage.  They thought it was intentional--
it's not.

22 years agosync Guidebook to include changes thru today
cohrs [Wed, 7 Aug 2002 03:39:25 +0000 (03:39 +0000)]
sync Guidebook to include changes thru today

22 years agoB06012 - alternate/secondary weapon distinction
cohrs [Wed, 7 Aug 2002 03:26:50 +0000 (03:26 +0000)]
B06012 - alternate/secondary weapon distinction
Put in the suggested rewording of Guidebook regarding the alternate weapon slot.

22 years agostone to flesh crash
nethack.allison [Wed, 7 Aug 2002 02:41:11 +0000 (02:41 +0000)]
stone to flesh crash
Problem was due to the use of obj
in the caller (bhito), after delete of
the obj within animate_statue().

22 years agostone to flesh crash
nethack.allison [Wed, 7 Aug 2002 02:38:04 +0000 (02:38 +0000)]
stone to flesh crash
Problem was due to the use of obj
in the caller (bhito), after delete of
the obj within animate_statue().

map_object(obj * 0x0000ff00, int 1) line 254 + 3 bytes
newsym(int -18, int -2) line 702 + 102 bytes
bhito(obj * 0x002f6c00, obj * 0x002f7398) line 1665 + 21 bytes
bhitpile(obj * 0x002f7398, int (obj *, obj *)* 0x0055220b bhito(obj *, obj *), int 37, int 11) line 1701 + 11 bytes
bhit(int 0, int 1, int 10, int 0, int (monst *, obj *)* 0x0054e0e0 bhitm(monst *, obj *), int (obj *, obj *)* 0x0055220b bhito(obj *, obj *), obj * 0x002f7398) line 2707 + 29 bytes
weffects(obj * 0x002f7398) line 2434 + 51 bytes
spelleffects(int 3, char 0) line 824 + 11 bytes
docast() line 552 + 11 bytes
rhack(char * 0x005b6034 in_line) line 1813 + 3 bytes
moveloop() line 405 + 7 bytes
main(int 3, char * * 0x002f2b10) line 93

22 years agoB01006 (from Yitzhak)
nethack.allison [Tue, 6 Aug 2002 23:57:48 +0000 (23:57 +0000)]
B01006 (from Yitzhak)
win32tty truncated score list

22 years agoB06011 - grammar bit
cohrs [Tue, 6 Aug 2002 05:04:14 +0000 (05:04 +0000)]
B06011 - grammar bit

22 years agoR1034 - grape is not an ape
cohrs [Tue, 6 Aug 2002 04:57:00 +0000 (04:57 +0000)]
R1034 - grape is not an ape
make the data.base entry a bit more specific so it doesn't match certain
valid fruit name choices.

22 years agoB06010 - lifesaving messages
cohrs [Tue, 6 Aug 2002 04:29:11 +0000 (04:29 +0000)]
B06010 - lifesaving messages
If you fall in the water and drown, you get two "back on solid land"
messages, at least sometimes.  Guard the 2nd one.

22 years agowin32gui: case insensitive mswin_yn_function()
nethack.allison [Tue, 6 Aug 2002 02:44:08 +0000 (02:44 +0000)]
win32gui: case insensitive mswin_yn_function()

Address a complaint by <Someone> about
mswin_yn_function() requiring lowercase 'n',
when the tty port tty_yn_function() accepts
upper or lower.

22 years agoarmor & busy hands
nethack.rankin [Mon, 5 Aug 2002 09:54:07 +0000 (09:54 +0000)]
armor & busy hands

     Fix some inconsistencies in armor handling.  The 'T' command
wouldn't let you take off a suit or shirt if you were wielding a
cursed two-handed weapon, which makes sense; however, the 'A'
command neglected to impose the same restriction.  Also, the 'W'
command had some code intended to prevent you from donning a suit
or shirt while wielding such a cursed weapon, but it didn't work.

     This patch fixes the 'A' command's checks for whether an
item can be removed and it makes the 'T' and 'R' commands use the
same code as 'A' instead of maintaining multiple sets of checks.
It also fixes the trivial 'W' problem and attempts to prevent the
sequence of 1) get interrupted while removing a set of equipment
including suit and/or shirt; 2) wield a cursed two-handed weapon
or have already wielded one become cursed; 3) resume removing
armor via 'A' but I haven't tried to trigger that situation to
confirm the bug or this fix.

22 years agowin32tty: allow ^C to abort game
nethack.allison [Mon, 5 Aug 2002 02:06:32 +0000 (02:06 +0000)]
win32tty: allow ^C to abort game
at the "Who are you?" prompt.

22 years agoupdate fixes34.1
nethack.allison [Mon, 5 Aug 2002 01:13:14 +0000 (01:13 +0000)]
update fixes34.1

22 years agoMagic portals and levitation boots
cohrs [Mon, 5 Aug 2002 00:57:21 +0000 (00:57 +0000)]
Magic portals and levitation boots
From a bug report.  Removing levitation boots while hovering over
a magic portal causes the portal to be delayed since it takes time to
remove the boots.  This causes the portal to be taken via unmul in allmain.
At that point, the will activation message display but you won't teleport
until you type something.  Handle the delayed goto after unmul completes.

22 years ago06009 - D/BUCX documentation
cohrs [Mon, 5 Aug 2002 00:20:10 +0000 (00:20 +0000)]
06009 - D/BUCX documentation

22 years agoR06008 - Ludios level in score list
cohrs [Sun, 4 Aug 2002 23:39:42 +0000 (23:39 +0000)]
R06008 - Ludios level in score list
<Someone> reported that the Ludios level is shown on death.  It's not
shown on the tombstone, but it was displayed in the topten list.
Now it's not shown in the topten list either.

22 years agocmdassist follow-up bit
nethack.allison [Sun, 4 Aug 2002 23:34:10 +0000 (23:34 +0000)]
cmdassist follow-up bit

22 years agoR06006 - travel command infinite loop
cohrs [Sun, 4 Aug 2002 23:04:56 +0000 (23:04 +0000)]
R06006 - travel command infinite loop
The problem was caused by a test that was added to test_move() to test the
move as a regular move if it was the next step.  This case affected
boulders and closed doors, both of which are handled in later in do_move().
Remove the check.  I think this was something I thought was needed for an
intermediary version of the travel command fix, but turned out to be
detrimental in the current version.

22 years agoGeneralize cmdassist direction help
nethack.allison [Sun, 4 Aug 2002 22:14:02 +0000 (22:14 +0000)]
Generalize cmdassist direction help
to work with any call to getdir().
When cmdassist is set, instead of the
message:
"What a strange direction!"
you get a screen of help showing the valid direction keys.

!cmdassist will suppress the extra help information.

22 years agonewbie in-game assistance with Guidebook notation
nethack.allison [Sun, 4 Aug 2002 16:48:15 +0000 (16:48 +0000)]
newbie in-game assistance with Guidebook notation

Provide some command assistance for newbies, but
suppress it with !cmdassist in the config file.

If someone misinterprets the Guidebook ^D, ^T
type command notation, this will pop up some
further information to possibly assist them and
explain the notation.

22 years agoartifact manipulation
nethack.rankin [Thu, 1 Aug 2002 23:20:34 +0000 (23:20 +0000)]
artifact manipulation

     Fix an item from <Someone>'s list:  invoking or applying an
artifact might blast you; if it evades your grasp, the intended
action won't take place but will still use up a turn.

22 years agodragon scale mail is magical
nethack.rankin [Thu, 1 Aug 2002 20:58:39 +0000 (20:58 +0000)]
dragon scale mail is magical

     This reclassifies dragon scale mail as magic and leaves dragon
scales as non-magic.  Changing the latter would make it be easier
to obtain magic armor via polymorph; just kill some dragons and toss
their scales on the pile.  Unfortunately the logic used suggests that
unicorn horns ought to be non-magic too, but I left them as magic.
(Making them become non-magic would actually be a good idea as far
as balancing polypiling goes, but it's awfully hard to justify when
they produce should a wide-ranging magical effect when applied.)

22 years agoREADME
nethack.allison [Thu, 1 Aug 2002 02:40:54 +0000 (02:40 +0000)]
README

Be consistent with spaces vs tabs in the list
of things that NetHack is known to run on.

22 years agomore README bits
nethack.allison [Thu, 1 Aug 2002 02:38:22 +0000 (02:38 +0000)]
more README bits

22 years agoREADME bits
nethack.allison [Thu, 1 Aug 2002 00:58:00 +0000 (00:58 +0000)]
README bits

22 years agowince (from <Someone>)
nethack.allison [Thu, 1 Aug 2002 00:47:33 +0000 (00:47 +0000)]
wince (from <Someone>)

This is a follow-up patch on view/hide keypad menu option. It fixes
some stuff specific to PocketPC menus.

22 years agoR1024 - Eyes of the Overworld effect delayed
cohrs [Wed, 31 Jul 2002 16:47:49 +0000 (16:47 +0000)]
R1024 - Eyes of the Overworld effect delayed
The effect of the EOTO did not take effect until the next move.
Added a vision_full_recalc as suggested to resolve the problem.

22 years agono message
nethack.allison [Mon, 29 Jul 2002 17:57:57 +0000 (17:57 +0000)]
no message

22 years agoHonour more WINCAP flags.
warwick [Mon, 29 Jul 2002 05:19:49 +0000 (05:19 +0000)]
Honour more WINCAP flags.

22 years agoalloc, not malloc
warwick [Mon, 29 Jul 2002 05:16:54 +0000 (05:16 +0000)]
alloc, not malloc

22 years agocomment update mon.c
nethack.allison [Sun, 28 Jul 2002 23:22:24 +0000 (23:22 +0000)]
comment update mon.c

22 years agoflag changes follow-up makedefs.c
nethack.allison [Sun, 28 Jul 2002 16:28:26 +0000 (16:28 +0000)]
flag changes follow-up makedefs.c

22 years agoflag changes
nethack.allison [Sun, 28 Jul 2002 16:03:00 +0000 (16:03 +0000)]
flag changes

Several flags added since 3.4.0 were destined for flags
(to be saved with the game) but were placed in iflags for
savefile compatibility.  These include:
 boolean  lootabc; /* use "a/b/c" rather than "o/i/b" when looting */
 boolean  showrace; /* show hero glyph by race rather than by role */
 boolean  travelcmd; /* allow travel command */
 int  runmode; /* update screen display during run moves */

This patch has no effect unless you define this in your port's
XXconf.h file.
#define SAVEFILE_340_CONVERT /* allow moving of some iflags fields to flags
without destroying savefile compatibility */
Without it, the new flags remain in "iflags."  With it, the flags are moved to
"flags" and the structures are converted when the save file is read. There
is no reverse compatibility.  If you save the game after conversion, you
can't load the savefile on 3.4.0, only 3.4.1.

22 years agorunmode option
nethack.rankin [Sun, 28 Jul 2002 10:45:46 +0000 (10:45 +0000)]
runmode option

     Provide user control over screen updating for multi-step movement
(run via shift, control, &c and also travel).  [See cvs history for
fixes34.1 for more details.]

22 years agorunmode option
nethack.rankin [Sun, 28 Jul 2002 10:44:14 +0000 (10:44 +0000)]
runmode option

     <Someone>'s submittal of his `showrun' option has goaded
me to finally finish something I tried to implement some time back.
This adds a new run-time option called "runmode" which gives the
user control over how much screen udpating takes place during run
and travel movement.  It has four settings:
  teleport - update the map after movement has finished (this is
the old behavior and also <Someone>'s !showrun behavior);
  run - update the map periodically (this is the new default);
it uses (`moves' mod 7) to control the updating; it may
need to have its own counter so that the updates are
sync'd with the start of current movement rather than
with `moves', but perhaps that won't matter;
  walk - update the map after each step (this is the behavior
when <Someone>'s showrun is enabled);
  crawl - like walk, but with a longer delay after each step.

This option won't work well on configurations where delay_output()
doesn't produce a pause of reasonable duration, but I don't think
there's much we can do about that.

     The option setting ought to be stored in struct flags so that
it's maintained across save/restore cycles, but I put it into the
iflags structure with the other new options so that it won't cause
3.4.0 save files to be invalidated.

     I can't test the changes to Guidebook.mn; the corresponding
changes to Guidebook.tex process ok and don't show any obvious
glitches when viewed with xdvi.

22 years agoB04007 unknown corpse type revealed by hider
nethack.allison [Sun, 28 Jul 2002 02:19:21 +0000 (02:19 +0000)]
B04007 unknown corpse type revealed by hider

"It was hidden under a green mold corpse!  It bites!"
Never seen corpse from a never seen monster can be
revealed by the hider.
-problem is that the corpse of the monster is
always created with dknown set to 1 when make_corpse() finishes,
even in the case where you never knew what it was while alive.

22 years agoFrom the newsgroup, there was a discussion about how you
nethack.allison [Sat, 27 Jul 2002 20:48:45 +0000 (20:48 +0000)]
From the newsgroup, there was a discussion about how you
can't just blind yourself with a cream pie in your inventory
directly by applying it or by throwing it.

On 27 Jul 2002 14:11:06 GMT, <Someone> wrote:
> <email deleted> wrote:
>> <email deleted> (<Someone>) hypothesised:
>>
>> [cream pie]
>>> So I a)pply the pie. What I want to do is to hit MYSELF in the
>>> face with the pie, thereby blinding me and giving me T-P for
>>> just a few turns.
>>
>> Not a bad TTDTDTO ("Thing The DevTeam Didn't Think Of," which is
>> subtly different to a YANI, and not a bug; sorry, I seem to be
>> on a neologismathon today.)
> I tried throwing a cream pie upwards, hoping it would blind me,
> but no luck:
>
> "A cream pie hits the ceiling. What a mess!"
>

22 years agopayment messages
nethack.allison [Sat, 27 Jul 2002 19:23:20 +0000 (19:23 +0000)]
payment messages

Change the message for paying off consumed items to
"You paid for a xxxx at a cost of nnn gold pieces."
to distinguish it from objects that you still have in your inventory which is
"You bought a xxx for nnn gold pieces."

22 years ago <email deleted> Thu Jul 25 13:59:29 2002
keni [Fri, 26 Jul 2002 10:47:34 +0000 (10:47 +0000)]
 <email deleted> Thu Jul 25 13:59:29 2002
 <email deleted>
 <email deleted>
 Subject: patch: missing amiga bits

Hi,

here are some missing bits from the amigafiles.

Current source compiles fine, seems to work ok (launches, runs, opens windows
and quits as usual). I haven't had much time to test it rigorously (or play
at all), but I don't remember there having been any major changes that would've
affected the amigaport, so it probably should be okay as it is.

-jhsa

22 years agoR1007 - Monk kicking bug
nethack.rankin [Fri, 26 Jul 2002 00:33:14 +0000 (00:33 +0000)]
R1007 - Monk kicking bug

     Kicking a monster as a monk or samurai or while wearing kicking
boots might make it "reel from the blow" and be knocked back a step.
If that knock back put it into a trap which killed it, the kicking
code would kill it an extra time, then the player would get a warning
about dmonsfree finding the wrong number of dead monsters.

22 years agophantom venom
nethack.rankin [Thu, 25 Jul 2002 23:55:06 +0000 (23:55 +0000)]
phantom venom

[ I didn't keep a copy of the message which reported this
  so don't have any reference number for it. ]

     If you used '/' to look at multiple items one after another,
then looking at floor or other item represented by the same '.' as
venom could result in subsequent things being falsely categorized as
possibly venom.  The subsequent items needed to have less than two
possible descriptions, and the triggering item needed to be a plain
dot rather than the graphic dot used for floor with IBMgraphics and
DECgraphics.

22 years agodo_look at self
nethack.rankin [Thu, 25 Jul 2002 23:34:47 +0000 (23:34 +0000)]
do_look at self

     Suggested by <Someone>:  when examining an `@' monster, only include
"or you" in the description if you might reasonably expect to be seen
as something else.  So if you're playing as a human or an elf, or if
you're polymorphed regardless of race, the ordinary description of
"human or elf" doesn't need to add "or you".  And the setting of the
`showrace' option only matters if the `@' comes from prompting the
user instead of picking a symbol from the map.

22 years agotraps burning paper golems
nethack.rankin [Thu, 25 Jul 2002 01:04:08 +0000 (01:04 +0000)]
traps burning paper golems

     Paper golems destroyed by fire traps won't leave any scrolls
of blank paper behind.  (There's still no handling of other forms
of fire attack against such critters.)

22 years agosys/winnt more macro mods
nethack.allison [Wed, 24 Jul 2002 08:25:21 +0000 (08:25 +0000)]
sys/winnt more macro mods
(Sorry, but checking these in is the only way to see the results)

22 years agoJust a comment.
warwick [Wed, 24 Jul 2002 08:10:36 +0000 (08:10 +0000)]
Just a comment.

22 years agosys/winnt change SCCS to Id macro
nethack.allison [Wed, 24 Jul 2002 07:34:02 +0000 (07:34 +0000)]
sys/winnt change SCCS to Id macro

22 years agoadd date macro to Install.dos
nethack.allison [Wed, 24 Jul 2002 06:30:21 +0000 (06:30 +0000)]
add date macro to Install.dos

22 years agoadd date macro to Install.nt
nethack.allison [Wed, 24 Jul 2002 06:28:50 +0000 (06:28 +0000)]
add date macro to Install.nt

22 years agoHonour wc_tile_width, wc_tile_height, and wc_tile_file.
warwick [Wed, 24 Jul 2002 06:28:18 +0000 (06:28 +0000)]
Honour wc_tile_width, wc_tile_height, and wc_tile_file.

22 years agowince date macro fix in Install.ce
nethack.allison [Wed, 24 Jul 2002 06:26:28 +0000 (06:26 +0000)]
wince date macro fix in Install.ce

22 years agowince date macro fix in Install.ce
nethack.allison [Wed, 24 Jul 2002 06:24:02 +0000 (06:24 +0000)]
wince date macro fix in Install.ce

22 years agominor typo in Install.ce
nethack.allison [Wed, 24 Jul 2002 06:21:35 +0000 (06:21 +0000)]
minor typo in Install.ce

22 years agoending hallucination while blind
nethack.rankin [Wed, 24 Jul 2002 06:13:29 +0000 (06:13 +0000)]
ending hallucination while blind

     Don't suppress hallucination on/off messages when blind.
This fixes the case where you might be observing hallucinatory
monsters via telepathy yet not be told that perception was back
to normal when hallucination timed out.  It does not fix the
case where temporary hallucination times out while the effect is
being blocked (in which case successful application of a unicorn
horn yields no feedback), nor the hypothetical cases where timed
hallucination starts or ends while also hallucinating for some
other reason (which could happen via polymorph someday if a
monster which is always hallucinating--the way that bats are
always stunned--ever gets introduced).

22 years agothrowing through iron bars
nethack.rankin [Wed, 24 Jul 2002 05:42:49 +0000 (05:42 +0000)]
throwing through iron bars

     Make throwing things through iron bars by the player and
by monsters behave consistently with each other.  Also prevent
stone-to-flesh'd boulders and wands from passing through.

22 years agosync Guidebook
cohrs [Wed, 24 Jul 2002 04:20:07 +0000 (04:20 +0000)]
sync Guidebook

22 years ago(from <Someone>)
nethack.allison [Wed, 24 Jul 2002 00:21:52 +0000 (00:21 +0000)]
(from <Someone>)
- added menu option to show/hide keypad window

22 years agoRollback NAME_MAX workarounds as suggested.
warwick [Tue, 23 Jul 2002 06:07:21 +0000 (06:07 +0000)]
Rollback NAME_MAX workarounds as suggested.

22 years agodjgpp build was also broken
nethack.allison [Tue, 23 Jul 2002 05:33:00 +0000 (05:33 +0000)]
djgpp build was also broken

22 years agocredit updates
nethack.allison [Tue, 23 Jul 2002 05:10:37 +0000 (05:10 +0000)]
credit updates

22 years agomore Windows CE
nethack.allison [Tue, 23 Jul 2002 04:52:48 +0000 (04:52 +0000)]
more Windows CE

22 years agobuild fix for files.c
nethack.allison [Tue, 23 Jul 2002 04:51:28 +0000 (04:51 +0000)]
build fix for files.c

Warwick's plname files.c addition broke the
build on both win32 and CE because NAMES_MAX
wasn't defined.

In win32 it was defined in limits.h, but only
when _POSIX_ was defined.

In CE it just didn't exist in any of the
header files.  Since it was also complaining
about strdup(), I #ifdef'd Warwick's code out
under CE.

22 years agoEnclose savefile format change by STORE_PLNAME_IN_FILE macro.
warwick [Mon, 22 Jul 2002 09:13:04 +0000 (09:13 +0000)]
Enclose savefile format change by STORE_PLNAME_IN_FILE macro.

22 years agoSome non-enabled perminv code in Qt windowport. (missed in previous patch)
warwick [Mon, 22 Jul 2002 09:10:13 +0000 (09:10 +0000)]
Some non-enabled perminv code in Qt windowport. (missed in previous patch)

22 years agoStore plname in save files (and restore it).
warwick [Mon, 22 Jul 2002 06:25:52 +0000 (06:25 +0000)]
Store plname in save files (and restore it).
Move get_saved_games() functionality to files.c
Use moved get_saved_games() functionality in Qt windowport.
[also some non-enabled perminv code in Qt windowport]

22 years agoWindows CE port addition
nethack.allison [Mon, 22 Jul 2002 03:27:01 +0000 (03:27 +0000)]
Windows CE port addition

22 years agoWindows CE port addition
nethack.allison [Mon, 22 Jul 2002 03:20:52 +0000 (03:20 +0000)]
Windows CE port addition

22 years agoanother follow-up to fname_decode() routine
nethack.allison [Sun, 21 Jul 2002 16:58:12 +0000 (16:58 +0000)]
another follow-up to fname_decode() routine

22 years agoremove unnecessary variable
nethack.allison [Sun, 21 Jul 2002 16:49:19 +0000 (16:49 +0000)]
remove unnecessary variable

follow-up to fname_decode() routine

22 years agobuild fix
nethack.rankin [Sun, 21 Jul 2002 10:11:32 +0000 (10:11 +0000)]
build fix

22 years agoWIN32: file naming
nethack.allison [Sun, 21 Jul 2002 04:07:32 +0000 (04:07 +0000)]
WIN32: file naming
Allow single character variations in player names
to remain unique in file names by encoding rather
than substituting.
"plnam one", "plnam_one", and "plnam~one" at the
"Who are you?" prompt get unique filenames after this patch.

22 years agoprevent strange crash with some player names
nethack.allison [Sun, 21 Jul 2002 03:53:13 +0000 (03:53 +0000)]
prevent strange crash with some player names

22 years agobear trap wizard wishing
arromdee [Sat, 20 Jul 2002 06:45:48 +0000 (06:45 +0000)]
bear trap wizard wishing

22 years agoMore untrap message clean-up
nethack.allison [Sat, 20 Jul 2002 02:07:09 +0000 (02:07 +0000)]
More untrap message clean-up

22 years ago(From <Someone>)
nethack.allison [Fri, 19 Jul 2002 13:42:24 +0000 (13:42 +0000)]
(From <Someone>)
> It's probably best to empty
> mswin_update_inventory() in win\win32\. If I
> remember correctly there is some code in there now
> which probably behaves badly if perm_invent is
> switched on

22 years agopolyself typo
nethack.rankin [Fri, 19 Jul 2002 01:45:26 +0000 (01:45 +0000)]
polyself typo

22 years agoB01005 - fasting by monks
nethack.rankin [Wed, 17 Jul 2002 23:31:12 +0000 (23:31 +0000)]
B01005 - fasting by monks

     Implement a suggestion by <Someone> that turns spent in
"hungry" state exercise wisdom for monk characters; also make
turns spent in "satiated" state abuse it instead.

22 years agoremove sparks lighting oil
nethack.allison [Wed, 17 Jul 2002 23:26:48 +0000 (23:26 +0000)]
remove sparks lighting oil

for now at least, until there is more time to look into it.

<email deleted>
> Yet more nitpicking about potions of oil being lit by sparks from axed
> statues, I'm afraid.
>
> Konosja's potions of oil catch light!
> "That will cost you 66 zorkmids (Yendorian Fuel Tax)."
> "That's in addition to the cost of Konosja's potions of oil themselves, of
> course."
> You snuff the lit potion.
>
> a) why is the Fuel Tax on (in this case) six potions the same as on one?
>
> b) if you a)pply-light a potion, it's just "in addition to the cost of
>    the potion". Is Yname2() the right name-function for catch_lit() to
>    be using? It's odd for Konosja to be talking about herself in the
>    third person.
>
> c) Grammar on the snuffing message is wrong for multiple potions.