Commit Graph

1954 Commits

Author SHA1 Message Date
nethack.allison
5c2b773051 another win32 Makefile.gcc (from <Someone>)
another error in the makefile.gcc, not fatal, just a leftover
from the MS makefile. This patch includes both makefile fixes.
2003-02-19 14:01:35 +00:00
nethack.allison
788b94f2fa Makefile bcc (from Yitzhak)
1) Update documentation for using bison/flex
2) Fix use of $(CC).  In the makefile, it's supposed to be $(cc).
Otherwise it won't compile. [caused during recent dependency
updates]
2003-02-19 13:57:20 +00:00
nethack.allison
1332789fd6 building under MinGW (from <Someone>)
didn't work. Makefile.gcc had a space instead of a tab somewhere.
2003-02-19 13:53:08 +00:00
nethack.rankin
4107ce55af confuse monster bit
'+' is not a valid argument to resist(), although it still works
since the default case catches it.  Make the spell class explicit,
although I don't think having the effectiveness of scrolls of confuse
monster depend on the character's level makes much sense.
2003-02-19 12:26:03 +00:00
nethack.allison
0c4bd66545 runtime port identification
The CE ports use makedefs hosted on another platform,
so the version string generated at build time isn't really
appropriate.

Add a way to add information to the version string
at runtime for such ports.
2003-02-19 11:44:14 +00:00
nethack.allison
3d9d7f24b3 ensure that shade_aware is only set for shades. 2003-02-19 11:19:30 +00:00
nethack.rankin
8d6d715f8d teleporting monster strategy
Reported last spring and again last week:  monsters who teleport to
your location (named demons, master liches, and so forth) continue to do
that even if they've just used a scroll or wand of teleportation to get
away from you.  This doesn't prevent that situation but does make it be
much less likely to occur.
2003-02-19 09:55:17 +00:00
nethack.rankin
7a1fcd008a wizkit revisited
The previous changed ended up discarding the begining portion of
excessively long lines and keeping the end.  It's unlikely that either
part is going to be valid, but reporting the ending portion as a failed
wish would make tracking down and fixing the situation trickier.
2003-02-19 08:35:51 +00:00
nethack.allison
0e2630f817 wizkit fgets() buffer size
also ignore lines where we didn't read a newline within BUFSZ characters
2003-02-19 06:14:47 +00:00
nethack.allison
1284e86476 lint follow up
Janet wrote:
>There is one more new complaint that might cause problems:
>explode.c(545): warning: conversion from long may lose accuracy
2003-02-19 05:12:31 +00:00
nethack.allison
0f51c0174f undead turning of ghost on bones level
<email deleted>
Newsgroups: rec.games.roguelike.nethack
Subject: Re: Other ways to destroy the Amulet

<Someone> wrote:
>>> Zapped undead turning at his _corpse_, which brought the corpse
>>> back to life and also destroyed the ghost. The revived
>>> character was not carrying anything.
>>
>> Hmm, didn't the Amulet fall to the floor like when you genocide
>> something that's carrying something?
>
> Nope.
>
> That's because undead turning does mongone(ghost). The mongone
> function destroys the inventory of the monster:
> discard_minvent(mdef); /* release monster's inventory */
>
> Whereas genocided monsters are removed with mondead, which calls
> m_detach, which calls relobj, which drops the monster's inventory
> on the floor.
2003-02-19 04:31:46 +00:00
jwalz
6689de0e04 Lint cleanup, nothing significant.
There is one more new complaint that might cause problems:
explode.c(545): warning: conversion from long may lose accuracy
2003-02-19 03:18:49 +00:00
nethack.allison
39e11412b0 windows PORT_SUB_ID
allow PORT_SUB_ID to be defined in ntconf.h or ceconf.h
2003-02-19 03:14:21 +00:00
jwalz
19fe8a249b Update against what's in the directories. 2003-02-19 00:06:39 +00:00
jwalz
1d488f4762 Allow use of old compiler. 2003-02-18 22:31:12 +00:00
cohrs
7c937d2186 B20001 - shopkeeper angry at unnamed customer
The "following" flag could get set in several places where it was not
obvious that the customer name would be remembered.  Since the shopkeeper
should always get angry at the current player, set the name at the same
place that the flag is set.
2003-02-18 17:08:04 +00:00
nethack.allison
86dd975ec6 fix warning without STEED defined 2003-02-18 12:28:35 +00:00
nethack.allison
fc2acbb130 win32 and msdos recover
Since the ports have SELF_RECOVER defined,
remove the build of recover.exe from the default steps.
You must explicitly use 'make recover' now.
2003-02-18 00:21:19 +00:00
nethack.allison
73d357a647 win32 and msdos recover
Since the ports have SELF_RECOVER defined,
remove the build of recover.exe from the default steps.
You must explicitly use 'make recover' now.
2003-02-17 23:56:40 +00:00
nethack.allison
5e6bed70b8 CEmore prompt (from <Someone>)
Prevent "--more--" prompt from appearing when several
questions being asked in the same loop (like selling
something in the shop
2003-02-17 23:19:01 +00:00
nethack.allison
2a83f1b830 more MSDOS build 2003-02-17 02:55:46 +00:00
nethack.allison
3d96d214c6 OS/2 patch (from <Someone>) 2003-02-17 01:47:13 +00:00
nethack.allison
f505101fa3 macro arrangement bit 2003-02-15 23:34:37 +00:00
nethack.allison
a1a296aa8d win32 bits 2003-02-15 22:46:10 +00:00
nethack.allison
4cbcc056c3 win32 error message glitch noticed 2003-02-15 15:46:58 +00:00
nethack.allison
9ac4afe46e fixes update SELF_RECOVER on winCE 2003-02-15 13:53:24 +00:00
nethack.allison
18ea2f8aa5 fix djgpp Makefile 2003-02-15 13:18:39 +00:00
nethack.allison
58c504954d beta 20 2003-02-15 02:45:37 +00:00
nethack.allison
4b15bc3c0e typo fix on recent Makefile.gcc patch 2003-02-14 11:25:24 +00:00
nethack.allison
3376daf6f9 more CE (from <Someone>) 2003-02-14 03:42:52 +00:00
nethack.allison
2d99cb7ed7 win32 and DOS dependency update for 3.4.1 2003-02-14 03:38:50 +00:00
nethack.rankin
4496ca3d85 fix B18012 - Werebane
Make wielding Werebane confer defense against catching lychanthropy
from monster bites.  It doesn't protect against catching that from eating
lycanthrope corpses and might blast the character if wielded at such time.

     Also fix artifact handling to recognize the character as lycanthrope
while in normal human/elf/whatever form--rather than only when in beast
form--just like it does for monsters.
2003-02-14 01:06:08 +00:00
nethack.rankin
a20dc69dee fix U206 - cursed leash/pacifist conduct
Treat strangling a pet with a cursed leash like a regular monster
kill; you'll get experience, lose pacifism conduct, and suffer various
pet-killer effects.  Also do some minor damage and reduce tameness for
the case where the pet is described as being choked but isn't killed.
2003-02-13 23:32:48 +00:00
nethack.rankin
5f2e950857 vms Makefile 2003-02-13 23:30:38 +00:00
cohrs
ea07dac67a note buffer overflow fix 2003-02-13 16:22:06 +00:00
nethack.allison
c17d191c2e README update 2003-02-13 12:36:01 +00:00
nethack.allison
bb983c9103 no message 2003-02-13 12:35:27 +00:00
nethack.allison
edee769d37 tombstone engraving with fingers
<email deleted> wrote:
> comments: When I try to write in the dust, with my finger, on a
> tombstone, it works the first time, but after that I'm getting a
> message that I can not erase what's written here.  Is that an
> intentional way of preventing us gaining a bunch of levels fighting

5 days, no objections to proposed code change.
2003-02-13 11:04:56 +00:00
cohrs
d1fdc497d2 U162 - killing shopkeeper with unpaid thrown objects
While an object is being thrown, it isn't on any list.  This means that
killing a shopkeeper with an unpaid object wouldn't be able to clear the
unpaid bit.  By the time the object lands, the shopkeeper is gone, and then
it's too late.  Added a new global to track a thrown object, set it and later
clear it in throwit(), also clear it as needed in dealloc_obj(), and check
it in setpaid().  It should be possible to use this global to avoid losing
thrown objects during hangup saves as well.  But that can wait.
2003-02-13 07:52:49 +00:00
cohrs
6885f18bb1 steeds don't remember traps
<Someone> reported to the list that steeds didn't remember traps
encountered while mounted.  When not mounted, a monster will remember
traps, even when they don't damage the monster.  To that end, added code to
set the steed's mtrapseen mask.
2003-02-13 05:23:46 +00:00
nethack.allison
6cf5c60dcc CE patch (from <Someone>) 2003-02-13 05:10:21 +00:00
cohrs
07ba201768 B17007 - ctrl/p documentation
mention msg_window in the Guidebook and long online help.  I didn't update
hh since that only has one-liners.  Also made the msg_window default clear
in the Guidebook and opthelp.  Plus, an update to Guidebook.txt in hopes
that it won't need another before release.
2003-02-13 04:55:29 +00:00
cohrs
2643ae3ee9 pline bits
a few plines that were without punctuation.  There may be more non-DEBUG
pline or pline-like things that are still missing punctuation.  They are
almost impossible to find after the fact, since they could be anywhere,
including in various dat files and functions that pass strings and formats
into other functions that call pline.
2003-02-12 06:30:06 +00:00
cohrs
500df8346a line length bit 2003-02-12 03:57:41 +00:00
cohrs
1b017f6154 unix dependency update for 3.4.1
should now be up to date unless someone makes a material change to includes
2003-02-12 03:37:58 +00:00
cohrs
b48b6addf3 U260 - waiting times out for no reason while in were form
The initial report thought this was related to summoning help.  It's not.
moveloop would attempt to call you_were() even when you_were() would not
actually change your form.  Certainly there's a layering problem here, but
for now, just put in the same check peffects() uses to avoid calling
you_were() unnecessarily.
2003-02-12 02:07:22 +00:00
nethack.rankin
fe05bcf52d falling into water while asleep
Try to fix the reported bug of not waking up if sleeping on ice
that gets melted out from under you.  This fixes the straightforward
case but I suspect there are other permutations that it doesn't cover.
Teleporting out of water is now blocked if asleep; waking up occurs
after the chance for that has passed.
2003-02-11 11:57:14 +00:00
nethack.rankin
731f4945ff vms update 2003-02-11 10:45:42 +00:00
nethack.rankin
97cd4c2ef7 magicbane tweaks
Update the comments to [try to] more accurately describe the behavior.
Also add hallucination handling and make the probe effect be more likely
to occur (or to put it another way, make the stun effect be less likely
since one or the other always takes place--except when stun is superseded
by something more severe).
2003-02-11 10:10:17 +00:00
cohrs
8930e5b442 nethack -s buffer overflow fix
When printing invalid player names in -s mode, it was possible to overflow
the output buffer due to a missing buffer size check.  On shared Unix-like
systems with executable stacks, this could be used as a security exploit,
eg to obtain a shell running as user or group games.
While I was at it, removed a dead block of "#if 0" code
2003-02-10 19:01:58 +00:00