]> granicus.if.org Git - nethack/log
nethack
23 years agoFix a crash-causing null pointer dereference.
nethack.allison [Thu, 24 Jan 2002 18:21:24 +0000 (18:21 +0000)]
Fix a crash-causing null pointer dereference.
(Thanks to Yitzhak)

23 years agoMacOSX/Qt system tweaks
warwick [Thu, 24 Jan 2002 05:49:04 +0000 (05:49 +0000)]
MacOSX/Qt system tweaks
These changes clean up build warnings and allow the resulting "NetHack"
Application icons to be dragged around freely in the Finder, as is expected
for Mac apps.

23 years agopiranha
arromdee [Thu, 24 Jan 2002 04:43:49 +0000 (04:43 +0000)]
piranha
An extra space in the piranha entry was causing it not to work.

23 years agowindow.doc getlin clarification
cohrs [Thu, 24 Jan 2002 03:13:56 +0000 (03:13 +0000)]
window.doc getlin clarification
Clarify the getlin interface, which is used with the implicit assumption
that an input buffer of size BUFSZ (including the nul) is sufficient.

23 years agomore GOLDOBJ
nethack.rankin [Thu, 24 Jan 2002 02:54:06 +0000 (02:54 +0000)]
more GOLDOBJ

     The earlier patch made sure that bribe() didn't pass an
invalid value to money2mon().  This one changes money2mon() so
that if some other code else does so, reporting the impossible
situation won't be followed by a splitobj panic.  Most of this
patch is reformatting though.

23 years agoUpdates to Makefile.bcc (from Yitzhak)
nethack.allison [Thu, 24 Jan 2002 02:50:35 +0000 (02:50 +0000)]
Updates to Makefile.bcc (from Yitzhak)

23 years agoFix several touchstone-related things:
nethack.allison [Thu, 24 Jan 2002 02:39:55 +0000 (02:39 +0000)]
Fix several touchstone-related things:
1. The switch statement was using the material "GOLD"
   rather than GOLD_CLASS.
2. If getobj() had been working for gold when it
   came to touchstones, there would have been a
   memory leak here because the object returned
   would have been from mkgoldobj().  The goldobj
   was not being freed anywhere, nor was it being
   put on a chain. You also would have had zero
   gold after rubbing it on the stone. The intent
   was clearly to allow gold since there was a
   case in the switch statement.
3. getobj() wasn't working properly for gold
   selection here anyway, so this was
   not the cause of <Someone>'s gold obj in inventory.
   You ended up dropping through to code that
   was supposed to print "You cannot verb object."
   For touchstones that came out as:
   "You cannot rub on the stone gold."

23 years agoanother vision-related message
cohrs [Thu, 24 Jan 2002 02:34:52 +0000 (02:34 +0000)]
another vision-related message
don't just say "the knife misses" when you can actually see the monster
with infravision by testing using the correct function

23 years agobribe fix for GOLDOBJ
nethack.rankin [Thu, 24 Jan 2002 00:39:56 +0000 (00:39 +0000)]
bribe fix for GOLDOBJ

23 years agobit
nethack.allison [Wed, 23 Jan 2002 20:13:15 +0000 (20:13 +0000)]
bit

23 years agoanother WIZKIT fix
cohrs [Wed, 23 Jan 2002 18:23:54 +0000 (18:23 +0000)]
another WIZKIT fix
previous rev put the new "else" in the wrong place

23 years agoanother WIZKIT fix
cohrs [Wed, 23 Jan 2002 18:06:19 +0000 (18:06 +0000)]
another WIZKIT fix
if $HOME is not set, don't use uninitialized buffer as the filename to open

23 years agowizkit fix
nethack.allison [Wed, 23 Jan 2002 17:52:53 +0000 (17:52 +0000)]
wizkit fix

23 years agotypo fix
nethack.allison [Wed, 23 Jan 2002 17:06:04 +0000 (17:06 +0000)]
typo fix
with -> which

23 years agoThese are the patches. In general, they seem
nethack.allison [Wed, 23 Jan 2002 15:14:57 +0000 (15:14 +0000)]
These are the patches.  In general, they seem
to fix general problems that MSC didn't catch, but I can't tell.

Yitzhak Sapir

23 years agoEnough MacOS X documentation to answer FAQs.
warwick [Wed, 23 Jan 2002 07:57:11 +0000 (07:57 +0000)]
Enough MacOS X documentation to answer FAQs.

23 years agomicro fopenp() fix
nethack.rankin [Wed, 23 Jan 2002 07:12:58 +0000 (07:12 +0000)]
micro fopenp() fix

     From a bug report.  I can't test this fix, but
inspection of the code shows that his suggested fix is clearly
necessary.  Once `bp' gets incremented, storing via `bp[BUFSZ-1]'
writes beyond the bounds of `buf' and clobbers something.

23 years agofixes bit
nethack.allison [Wed, 23 Jan 2002 06:52:15 +0000 (06:52 +0000)]
fixes bit
Now that there are two different NT ports,
distinguish between them for fixes entries.

23 years agoMac docs update
kmhugo [Wed, 23 Jan 2002 06:41:34 +0000 (06:41 +0000)]
Mac docs update

This is mostly to test the commit scripts...

23 years agoQt/MacOSX: change working directory
warwick [Wed, 23 Jan 2002 06:24:30 +0000 (06:24 +0000)]
Qt/MacOSX: change working directory
chdir to resource fork when running from finder (find leaves us in "/", we
want to be in nethack playground).

23 years agoX11 buffer overflow avoidance
cohrs [Wed, 23 Jan 2002 06:21:58 +0000 (06:21 +0000)]
X11 buffer overflow avoidance
Don't overflow the buffer passed to getlin().

23 years agoupdate unused pragmas\r\rUpdate some of the mac pragmas for unused variables\rfor the...
dean [Wed, 23 Jan 2002 06:14:21 +0000 (06:14 +0000)]
update unused pragmas\r\rUpdate some of the mac pragmas for unused variables\rfor the MPW compilers.

23 years agoFix some Guidebook mistakes (tex dungeoneer table for one)
nethack.allison [Wed, 23 Jan 2002 04:35:39 +0000 (04:35 +0000)]
Fix some Guidebook mistakes (tex dungeoneer table for one)
Also shorten up levcomp.dsp lines

23 years agoAlways use maximized window in Qt windowport.
warwick [Wed, 23 Jan 2002 03:03:37 +0000 (03:03 +0000)]
Always use maximized window in Qt windowport.

23 years agoMacOSX: no lrand48()
warwick [Wed, 23 Jan 2002 02:26:02 +0000 (02:26 +0000)]
MacOSX: no lrand48()
No lrand48() on MacOSX, since MacOSX is really BSD.

23 years agominor things
arromdee [Wed, 23 Jan 2002 01:41:53 +0000 (01:41 +0000)]
minor things
Two unrelated tids.  I wouldn't bother putting them into Beta 1. :-)

23 years agoExtraneous file removed as I head out the door of the office.
nethack.allison [Wed, 23 Jan 2002 01:21:54 +0000 (01:21 +0000)]
Extraneous file removed as I head out the door of the office.

23 years agoQt GUI cleanup
warwick [Wed, 23 Jan 2002 01:02:37 +0000 (01:02 +0000)]
Qt GUI cleanup
Use "Alt+X", not "Alt-X".
This is actually *necessary* on MacOSX.

23 years agoIt was ignoring the command line parameters
nethack.allison [Wed, 23 Jan 2002 00:00:02 +0000 (00:00 +0000)]
It was ignoring the command line parameters
because there was an extraneous argv[1] that was
a repeat of the module name, but in quotation
marks.  The processing in pcmain stops on the first
argument that doesn't start with '-' so my other
arguments got ignored.

 argv[0] 0x00b40800 "C:\test\binary\nethackw.exe"
 argv[1] 0x00b40878 ""C:\test\binary\nethackw.exe""
 argv[2] 0x00b408f0 "-uwizard"
 argv[3] 0x00b40938 "-D"

23 years agoRemove all uses of pushd/popd
nethack.allison [Tue, 22 Jan 2002 22:54:54 +0000 (22:54 +0000)]
Remove all uses of pushd/popd
in case someone  wants to build on Windows98 where they don't exist.
They are available in NT or Windows 2000 only (and possibly XP).

23 years agoUpdate ./Files to match file rename for win32.
nethack.allison [Tue, 22 Jan 2002 13:10:53 +0000 (13:10 +0000)]
Update ./Files to match file rename for win32.

23 years agorename winhack.dsp to nethackw.dsp
nethack.allison [Tue, 22 Jan 2002 13:02:13 +0000 (13:02 +0000)]
rename winhack.dsp to nethackw.dsp
Adjust Install.nt to match.
Modify Makefile.nt to use ../binary directory for output by default,
just like the windows version does.

23 years agorename winhack.dsp to nethackw.dsp
nethack.allison [Tue, 22 Jan 2002 12:55:49 +0000 (12:55 +0000)]
rename winhack.dsp to nethackw.dsp
Actually removes winhack.dsp and adds nethackw.dsp.

23 years agogenerated lex output
nethack.rankin [Tue, 22 Jan 2002 09:27:01 +0000 (09:27 +0000)]
generated lex output

23 years agoFix some crashes in unused tile editor.
warwick [Tue, 22 Jan 2002 08:44:37 +0000 (08:44 +0000)]
Fix some crashes in unused tile editor.
tileedit is the program I use to edit tile files (directly).

23 years agoRemove win/Qt/nethack.png
warwick [Tue, 22 Jan 2002 08:41:57 +0000 (08:41 +0000)]
Remove win/Qt/nethack.png
Obsoleted by nhsplash.xpm (a text format). The binary still has more detail,
but until someone has a use for it, I'll keep it aside.

23 years agoDoc fix for Install.Qt
warwick [Tue, 22 Jan 2002 08:39:00 +0000 (08:39 +0000)]
Doc fix for Install.Qt
(USER_SOUNDS now undeffed automaticaaly for old versions)

23 years agoairplane/taxi transportation
nethack.rankin [Tue, 22 Jan 2002 06:59:00 +0000 (06:59 +0000)]
airplane/taxi transportation

     The player can teleport objects and monsters on no-teleport
levels, a strange quirk which I think has become entranched as
a feature.  When swallowed or engulfed, teleporting the monster
from inside ends up teleporting the character along with that
monster.  Some players have been exploting this on Plane of Air
to avoid facing elementals and dragons and whatnot by repeatedly
teleporting any vortex that engulfs them until they land somewhere
in the vicinity of the portal leading to Plane of Fire.

     This patch divides the Plane of Air into three zones that
teleportation can't cross.  You'll arrive in the left-hand 30% of
the level, as before, but no longer at a specific spot.  The exit
portal is in the right-hand 30% as before (although it used to
have more range, perhaps 40%).  Teleporting within the left 30%
always arrives in that same area; within the central 40% always
remains within that same area; and teleporting within the right
30% always sticks in that area.  So it's still possible to get
around quite a bit via multiple teleports, but you'll need to walk
at least across the two unmarked boundaries to actually traverse
the whole level.

     A moderately long description for a very short patch....

23 years agoFrom <Someone>,
nethack.allison [Tue, 22 Jan 2002 00:30:58 +0000 (00:30 +0000)]
From <Someone>,
Fixes:
- menu shortcuts implemented
- most windows close on space (except for menus with
  PICK_ANY style)
- "hilite_pet" option is implemented
- map scrolling is improved somewhat (it now scrolls if
  the char is within 5 spaces from the edge of the map -
  configurable by #define CLIPAROUND_MARGIN)
- added 3  winhack-specific options:

 win32_map_mode:[tiles|ascii4x6|ascii6x8|ascii8x8
                 |ascii16x8|ascii7x12|ascii8x12|ascii15x12
                 |ascii12x16|ascii10x18|fit_to_screen]=20
 win32_align_status:[left|top|right|bottom]
 win32_align_message:[left|top|right|bottom]

Note: aligning status window to left or right edge of the screen does
not look good.

23 years agoAdd petmark.uu
nethack.allison [Tue, 22 Jan 2002 00:29:35 +0000 (00:29 +0000)]
Add petmark.uu

23 years agoswallowing zombies/mummies
arromdee [Mon, 21 Jan 2002 22:54:17 +0000 (22:54 +0000)]
swallowing zombies/mummies

23 years agopolymorphed quest leader
arromdee [Mon, 21 Jan 2002 22:25:04 +0000 (22:25 +0000)]
polymorphed quest leader
Duuuh.  Of course adding objects already changed the editlevel.

Anyway, here's the fix I was working on.  It only matters in a very obscure
situation.  (Also, the quest leader still speaks no matter what he's
polymorphed into.)

23 years agopolymorphed quest leader
arromdee [Mon, 21 Jan 2002 22:15:22 +0000 (22:15 +0000)]
polymorphed quest leader
Duuuh.  Of course adding objects already changed the editlevel.

Anyway, here's the fix I was working on.  It only matters in a very obscure
situation.  (Also, the quest leader still speaks no matter what he's
polymorphed into.)

23 years agoTile un-placehold
warwick [Mon, 21 Jan 2002 10:41:42 +0000 (10:41 +0000)]
Tile un-placehold

23 years agofixes fixes
nethack.rankin [Mon, 21 Jan 2002 07:17:25 +0000 (07:17 +0000)]
fixes fixes

23 years agoFix "Files" file for files from Qt windowport.
warwick [Mon, 21 Jan 2002 05:50:23 +0000 (05:50 +0000)]
Fix "Files" file for files from Qt windowport.

23 years agoQt compatibility fixes
warwick [Mon, 21 Jan 2002 05:17:40 +0000 (05:17 +0000)]
Qt compatibility fixes
Fixes for Qt version 2.0 (old).

23 years agoPlayer selection fix on Qt windowport.
warwick [Mon, 21 Jan 2002 05:15:06 +0000 (05:15 +0000)]
Player selection fix on Qt windowport.
Prompt for player details even if gender or alignment is unspecified.

23 years agospells doing negative damage
cohrs [Mon, 21 Jan 2002 03:41:21 +0000 (03:41 +0000)]
spells doing negative damage
Add a check to zhitm to ensure that spells cast by characters with low XL
and Int will not do negative damage.

23 years agoThe word "zorkmid" was hard-coded in format strings all
nethack.allison [Mon, 21 Jan 2002 03:35:04 +0000 (03:35 +0000)]
The word "zorkmid" was hard-coded in format strings all
over the place.

Often they would use
"%ld zorkmid%s", amt, plur(amt)
but not consistently, so some of the hard-coded usage
could result in "1 zorkmids"

This adds the function
currency(long)
to return the name of the currency, either plural
or singular depending on the argument passed to it.
That eliminates the need for the extra %s in the
format string and the use of the plur() macro.

23 years agopriest names
arromdee [Mon, 21 Jan 2002 03:30:51 +0000 (03:30 +0000)]
priest names

23 years agocost of eating an unpaid tin
cohrs [Mon, 21 Jan 2002 03:25:50 +0000 (03:25 +0000)]
cost of eating an unpaid tin
The cost of an unpaid tin should be calculated before eating, not after,
so the cost will be based on your pre-eating hunger, not post.

23 years agofix a typo
cohrs [Mon, 21 Jan 2002 03:03:15 +0000 (03:03 +0000)]
fix a typo

23 years agoxprname fix
cohrs [Sun, 20 Jan 2002 22:25:16 +0000 (22:25 +0000)]
xprname fix
The GOLDOBJ fix I posted back on 1/3 caused "Ix" to access a null pointer
(obj) while generating the total line.  This patch fixes the bug I added to
xprname.

23 years agostarting the game without a pet
cohrs [Sun, 20 Jan 2002 21:05:29 +0000 (21:05 +0000)]
starting the game without a pet
Incorporate a slightly cleaned up version of <Someone>'s patch to enable a
"pettype:none" startup option that allows one to start the game without a pet.

23 years agoClear a warning
nethack.allison [Sun, 20 Jan 2002 15:07:56 +0000 (15:07 +0000)]
Clear a warning
src/mcastu.c(603) : warning C4244: 'initializing' :
conversion from 'long ' to 'char ', possible loss of data

M. Allison

23 years agostale spellbook pointer
nethack.rankin [Sun, 20 Jan 2002 09:53:36 +0000 (09:53 +0000)]
stale spellbook pointer

     If you get interrupted while reading a spellbook and then
the book gets destroyed or you change levels, the object pointer
remembered for the book will be invalid and could accidentally
match one subsequently allocated to some other book.  That would
result in "you continue your efforts to memorize the spell" when
starting to read that other book; it would also end up bypassing
the reading difficulty check and reuse the old book's delay counter.

     I don't remember who reported this.  It was quite some time
ago and I have an abandoned patch dated last March from when I
first started to fix it.

Files patched:
  include/extern.h
  src/save.c, shk.c, spell.c

23 years agocompile fix
nethack.rankin [Sun, 20 Jan 2002 09:22:16 +0000 (09:22 +0000)]
compile fix

23 years agolava effects for monsters and objects
cohrs [Sun, 20 Jan 2002 07:04:18 +0000 (07:04 +0000)]
lava effects for monsters and objects
This patch, based on code sent to us by <Someone> well over a year ago, addresses
bugs recently resurfaced.  Namely, that lava does not generally do anything
to monsters or objects that land in java.  Newly renamed minliquid() handles
both water and lava, and new fire_damage() is used similar to water_damage().

23 years agoJousting follow-up
kmhugo [Sun, 20 Jan 2002 06:26:33 +0000 (06:26 +0000)]
Jousting follow-up

Fix an oversight.

23 years agomonster spells
arromdee [Sun, 20 Jan 2002 06:17:20 +0000 (06:17 +0000)]
monster spells
This fixes the problem with my monster spell changes which let monsters
summon monsters around you when they don't even know you're around.

The summoned monsters should appear where the monster thinks you are, if
you're invisible or displaced.

I have not prevented them from summoning monsters when you are in a temple,
nor have I prevented them from aggravating monsters several times when you're
out of sight.

Messages should be a little smarter, taking into account number of monsters
and invisibility/displacement.

--Ken A

23 years agoJousting
kmhugo [Sun, 20 Jan 2002 05:44:46 +0000 (05:44 +0000)]
Jousting

Players wielding a lance while riding will "joust" monsters
they attack.

Note that monsters don't get pushed into inaccessable tiles such
as walls, doors, iron bars, water, or lava; they stay at the edge.
Further refinements are possible for these cases.

23 years agomap update followup to lev_comp.l change
cohrs [Sat, 19 Jan 2002 19:08:24 +0000 (19:08 +0000)]
map update followup to lev_comp.l change

The change to allow digits in maps causes the comments that were
incorrectly placed inside MAP/ENDMAP blocks to be seen as valid
map lines.  They were quietly skipped before by the old scanner.
Move them out.
-dlc

23 years agoRemove the obsolete /old files from README.
nethack.allison [Sat, 19 Jan 2002 14:13:23 +0000 (14:13 +0000)]
Remove the obsolete /old files from README.

23 years agoPut the tmac.n head back to what it was in 3.3.1
nethack.allison [Sat, 19 Jan 2002 13:41:15 +0000 (13:41 +0000)]
Put the tmac.n head back to what it was in 3.3.1
so that it will not be included in the diff between
the versions.

Also note that the -ko option in effect for that file
causes it to leave the value at whatever is
checked in from now on.

23 years agoTesting CVS keyword tag.
nethack.allison [Sat, 19 Jan 2002 13:17:20 +0000 (13:17 +0000)]
Testing CVS keyword tag.

Michael

23 years agoTesting CVS keyword tag.
nethack.allison [Sat, 19 Jan 2002 13:15:51 +0000 (13:15 +0000)]
Testing CVS keyword tag.

Michael

23 years agochange revision
nethack.allison [Sat, 19 Jan 2002 12:59:18 +0000 (12:59 +0000)]
change revision

23 years agoRemove it to put it back in again for head mod test.
nethack.allison [Sat, 19 Jan 2002 12:53:38 +0000 (12:53 +0000)]
Remove it to put it back in again for head mod test.

23 years agolookat of high priests
nethack.rankin [Sat, 19 Jan 2002 06:52:03 +0000 (06:52 +0000)]
lookat of high priests

     One from <Someone>'s list:  there's no particular reason for
the High Priest of Moloch in the temple on the sanctum level in
Gehennom to have his identity concealed when he's detected from
a distance.  I also changed the concealment of the Astral Plane
to stop when you're adjacent to the priest, since #chat--among
other things, such as simply entering the temple--provides other
means of identifying which temple it is once you're there.

Files patched:
  include/extern.h
  src/do_name.c, pager.c

23 years agofixes33.2 typo
kmhugo [Sat, 19 Jan 2002 06:12:37 +0000 (06:12 +0000)]
fixes33.2 typo

23 years agoLine numbering in lev_comp files
kmhugo [Sat, 19 Jan 2002 06:06:16 +0000 (06:06 +0000)]
Line numbering in lev_comp files

This patch allows the digits 0-9 to be used to indicate line numbers
in the MAP...ENDMAP arrays of level files.  This makes it a wee
bit easier to place features.  The digits get stripped out before
the map is interpreted.

23 years agoRemove e-mail address in sources
kmhugo [Sat, 19 Jan 2002 05:43:49 +0000 (05:43 +0000)]
Remove e-mail address in sources

We shouldn't include third-party e-mail addresses in sources that
will become public.

23 years agoRemove files duplicated in devteam module
kmhugo [Sat, 19 Jan 2002 05:39:57 +0000 (05:39 +0000)]
Remove files duplicated in devteam module

23 years agoAutoquiver fix
kmhugo [Sat, 19 Jan 2002 05:34:34 +0000 (05:34 +0000)]
Autoquiver fix

Implement a patch which <Someone> posted on the newsgroup back in September:
"If I had my druthers, daggers would be chosen over other
weapons if there's no missiles or suitable ammo available, and weapons
not designed for throwing wouldn't be chosen at all."

23 years agoAdd # commands to wizhelp.
nethack.allison [Sat, 19 Jan 2002 04:38:29 +0000 (04:38 +0000)]
Add # commands to wizhelp.

23 years agowiz_level_change cleanup
nethack.rankin [Sat, 19 Jan 2002 04:15:46 +0000 (04:15 +0000)]
wiz_level_change cleanup

     The new routine needed to do something with u.ulevelmax
(which controls whether lost levels can be regained via magic).
This sets it to the new level rather than having it go up or
down the same amount as the user specified in the level change,
which yields a plausible reason for using this command to set
experience level explicitly to its current value.

     The new code was using a mixture of spaces and tabs for
indentation; I've totally reformatted it.

23 years agofix contributor's name
nethack.allison [Sat, 19 Jan 2002 04:12:57 +0000 (04:12 +0000)]
fix contributor's name
I don't know whether fixes33.2 will ever be made public,
but let's get the names of people whose patches we used
spelled correctly just in case.

23 years agoUpdate README to reflect recent changes.
nethack.allison [Sat, 19 Jan 2002 03:57:08 +0000 (03:57 +0000)]
Update README to reflect recent changes.

23 years agoUpdate <Someone>'s address.
nethack.allison [Sat, 19 Jan 2002 03:53:22 +0000 (03:53 +0000)]
Update <Someone>'s address.

23 years agowizard # list
arromdee [Sat, 19 Jan 2002 03:17:31 +0000 (03:17 +0000)]
wizard # list
The monpoly_control command on the wizard # command list was formatted badly.

23 years agoI already redrew this...
arromdee [Sat, 19 Jan 2002 01:57:21 +0000 (01:57 +0000)]
I already redrew this...

23 years agofix typo (change experience change)
arromdee [Sat, 19 Jan 2002 01:30:26 +0000 (01:30 +0000)]
fix typo (change experience change)

--Ken A

23 years agoCorrect Nick Number's address in lists.
nethack.allison [Sat, 19 Jan 2002 01:25:52 +0000 (01:25 +0000)]
Correct Nick Number's address in lists.

23 years agoAdd Warwick's name to mplayer.c
nethack.allison [Fri, 18 Jan 2002 20:58:11 +0000 (20:58 +0000)]
Add Warwick's name to mplayer.c

23 years agodata.base updates
nethack.allison [Fri, 18 Jan 2002 20:30:00 +0000 (20:30 +0000)]
data.base updates
Regarding the Shrieker source,
http://www.peldor.com/chapters/story678.html:
  "   The player characters depicted in these stories are copyright
   1991-2000 by Thomas A. Miller.  Any resemblance to any persons
   or characters either real or fictional is utterly coincidental.
   Copying and/or distribution of these stories is permissible under
   the sole condition that no money is made in the process.  In that
   case, I hope you enjoy them!

   Thomas A. Miller"

23 years agoFrom <Someone>
nethack.allison [Fri, 18 Jan 2002 19:14:13 +0000 (19:14 +0000)]
From <Someone>
This was caused by  character set incompatibility between message and map
windows. Apparently, Nethack is using  IBM character set (CP 437) but fonts
were create for Windows ANSI codepage. I fixed most of it by changing
character set of the fonts except for the Rogue level. I had to make changes
to src/drawing.c for Rogue level since most of Windows fonts are not capable
of displaying control characters (char. code<0x20)
And of course, disabling IBMGraphics option fixes it all.

23 years agoSome touchstone tuning...
nethack.allison [Fri, 18 Jan 2002 19:00:09 +0000 (19:00 +0000)]
Some touchstone tuning...

If you have an unidentified gray stone in your pack,
you just had to use the 'a'pply command.  If it was
a touchstone, it would be included in the list,
otherwise it wouldn't.

This allows any stone to be included in the 'a'pply
command.

Also, adds missing punctuation to the use_stone()
messages.

Also prevents rubbing a stone on itself.

23 years agoNew Gnomish Mines levels
kmhugo [Fri, 18 Jan 2002 17:21:47 +0000 (17:21 +0000)]
New Gnomish Mines levels

This patch adds several new levels from <Someone>'s Gnomish
Mines patch, after devteam revision.

The ordering of levels in mines.des has also been cleaned up.

23 years agoMonsters shouldn't use wands of digging in Sokoban
kmhugo [Fri, 18 Jan 2002 17:17:05 +0000 (17:17 +0000)]
Monsters shouldn't use wands of digging in Sokoban

A number of players have complained that Sokoban can be rendered
unsolvable without "creative nethacking" when monsters zap wands of
digging.  This patch prevents monsters from selecting wands of
digging in Sokoban.

Note that we can't simply make Sokoban HARDFLOOR, as that causes
problems with the hole generation code.

23 years agoFiles update for win32 changes
nethack.allison [Fri, 18 Jan 2002 13:06:30 +0000 (13:06 +0000)]
Files update for win32 changes

23 years agoAdd tile generation sub-project to win32
nethack.allison [Fri, 18 Jan 2002 12:57:06 +0000 (12:57 +0000)]
Add tile generation sub-project to win32

23 years ago(Qt) Old version support
warwick [Fri, 18 Jan 2002 08:47:28 +0000 (08:47 +0000)]
(Qt) Old version support
Workarounds for Qt 2.1.0beta4 (?)

23 years agoChange Mines tiles.
warwick [Fri, 18 Jan 2002 08:16:07 +0000 (08:16 +0000)]
Change Mines tiles.

This is a long-overdue change to the Mines wall tiles. I was never happy
with the Mines walls being just brown normal-walls.

23 years agopets and tripe
arromdee [Fri, 18 Jan 2002 03:15:10 +0000 (03:15 +0000)]
pets and tripe
This fixes a very, very, old bug.  I don't think there's been a version
since pets were introduced that doesn't have it.
--Ken A

23 years agoIgnore generated files.
warwick [Fri, 18 Jan 2002 02:50:06 +0000 (02:50 +0000)]
Ignore generated files.

23 years ago[Checked into cvs.]
nethack.rankin [Fri, 18 Jan 2002 02:48:30 +0000 (02:48 +0000)]
[Checked into cvs.]

     When potions of full healing got added, they included the
ability to restore lost experience levels when blessed ones are
quaffed.  This patch throttles them so that when multiple levels
have been lost, drinking multiple potions can only restore half
of those levels.  Also, it prevents them from fixing any level
loss which occurs if you polymorph into a "new man" (or woman
or dwarf, &c, where you can gain or lose up to 2 levels).

     This also makes the "golden glow" prayer result be at least
as good as blessed full healing by restoring a lost level instead
of giving 5 extra hit points when you have any recoverable lost
levels pending.

     And tangentially related:  gaining a level while polymorphed
now gives your current monster form an extra hit die in addition
to the latent boost your normal human/whatever form gets.

Files patched:
  src/exper.c, polyself.c, potion.c, pray.c

23 years agoLenses don't help when you're blind.
warwick [Fri, 18 Jan 2002 01:38:35 +0000 (01:38 +0000)]
Lenses don't help when you're blind.
This is a tweak to <Someone>'s lens patch.

23 years agolenses
arromdee [Fri, 18 Jan 2002 01:23:58 +0000 (01:23 +0000)]
lenses
This adds <Someone>'s lens patch.

This is probably it for me adding in any more user-contributed patches for
3.3.2 (except maybe coin flipping; does anyone object to it?)

--Ken A.

23 years agolevelchange
arromdee [Fri, 18 Jan 2002 01:09:28 +0000 (01:09 +0000)]
levelchange

This changes the #levelgain command to #levelchange, and allows changing
levels both up and down.

--Ken A.