nethack.allison [Sat, 16 Mar 2002 13:57:08 +0000 (13:57 +0000)]
>Rubbing a clove of garlic on a gray stone to see if it went "scritch,
>scritch": "You make scratch marks on the stone".
cohrs [Sat, 16 Mar 2002 06:11:17 +0000 (06:11 +0000)]
minor Guidebook.mn update
- remove a strange \! in the section for Blind users
- update the wording in the subsequent paragraph to be consistent with
the wording in the preceeding IBMgraphics paragraph
jwalz [Fri, 15 Mar 2002 22:07:24 +0000 (22:07 +0000)]
<Someone> pointed out a possible infinite loop here.
jwalz [Fri, 15 Mar 2002 22:06:46 +0000 (22:06 +0000)]
It was pointed out that we didn't add names quite everywhere.
nethack.allison [Thu, 14 Mar 2002 13:10:17 +0000 (13:10 +0000)]
djgpp parts to general gcc parts
nethack.allison [Thu, 14 Mar 2002 12:54:06 +0000 (12:54 +0000)]
Move tile2bmp.c to win/share
This is so it can be shared with Qt.
If, for some reason, we have to cut another source tarball for
3.4.0, then this will be included. Otherwise, this will
turn out to be a post-3.4.0 patch.
nethack.rankin [Wed, 13 Mar 2002 11:22:03 +0000 (11:22 +0000)]
fix wizard mode crash (SPLEVTYPE)
Set SPLEVLTYPE to "soko1-1"; visit soko4-* (or minetown)
on the way there; oops: access violation from deferencing a
null pointer.
nethack.rankin [Wed, 13 Mar 2002 07:40:47 +0000 (07:40 +0000)]
split long line
A source line being 190 characters wide is rather excessive.
nethack.allison [Wed, 13 Mar 2002 07:14:24 +0000 (07:14 +0000)]
A couple of patches are required unfortunately
Unfortunately a couple of glitches were encountered during the build of
the DOS binary.
Also, somewhere along the way the ability to separate the debug info
for the win32 tty binary into its own PDB file was removed from
Makefile.msc. I wasn't aware of that until I went to build the binary,
and discovered that I had no PDB file to stow away for bug
reports.
warwick [Wed, 13 Mar 2002 06:04:53 +0000 (06:04 +0000)]
Workaround bug in SHARP SL5500 ROM.
(not essential for 3.4.0, since the SL5500 port still needs more work anyway)
nethack.allison [Wed, 13 Mar 2002 03:12:17 +0000 (03:12 +0000)]
Mark sources non-beta and update patchlevel
cohrs [Wed, 13 Mar 2002 02:59:38 +0000 (02:59 +0000)]
nethack.txt update
- created on RedHat Linux 7.2 using standard tools
cohrs [Wed, 13 Mar 2002 02:57:42 +0000 (02:57 +0000)]
Guidebook.txt update
- created on RedHat Linux 7.2 using standard tools
cohrs [Wed, 13 Mar 2002 00:54:43 +0000 (00:54 +0000)]
more credits
- update dat/history to match Guidebook
- use my name consistently :-)
cohrs [Wed, 13 Mar 2002 00:38:12 +0000 (00:38 +0000)]
Guidebook credits
- remove several people from the 3.4 list who haven't contributed in a while
nethack.allison [Tue, 12 Mar 2002 23:07:59 +0000 (23:07 +0000)]
(from <Someone>)
- fixed bug as From a bug report.
validxxxx functions cannot handle ROLE_RANDOM and ROLE_NONE
parameters like ok_xxxx functions do
cohrs [Tue, 12 Mar 2002 22:41:48 +0000 (22:41 +0000)]
undef WIZARD
- quiet a gcc warning if WIZARD is undefined
jwalz [Tue, 12 Mar 2002 21:30:05 +0000 (21:30 +0000)]
Another pre-ANSI bit.
cohrs [Tue, 12 Mar 2002 17:17:50 +0000 (17:17 +0000)]
more help file clarifications
- A pcwin team member reported that the ^<dir> notation used in a couple
help files was confusing
nethack.allison [Tue, 12 Mar 2002 15:50:46 +0000 (15:50 +0000)]
missing porthelp band
This band was accidentally left out of the patch for porthelp the other day.
nethack.allison [Tue, 12 Mar 2002 14:10:24 +0000 (14:10 +0000)]
document set_option_mod_status in window.doc
nethack.allison [Tue, 12 Mar 2002 11:59:10 +0000 (11:59 +0000)]
a statement in window.doc didn't reflect code
nethack.allison [Tue, 12 Mar 2002 11:51:03 +0000 (11:51 +0000)]
win32 menus must accept all of the accelerators
cohrs [Tue, 12 Mar 2002 07:29:59 +0000 (07:29 +0000)]
documentation updates
- various commands were missing from various help files
- fix a few inconsistencies between similar help files
- M-2 doesn't do #twoweapon when number_pad is enabled
- M-? usually displays #? help info
- weasel-word the reason the screen shown in the Guidebook looks little like
several windowports
- document the playersuffix syntax in the nethack.6 man page
nethack.allison [Tue, 12 Mar 2002 06:24:00 +0000 (06:24 +0000)]
Add fixes* to the manifest.
nethack.allison [Tue, 12 Mar 2002 05:15:40 +0000 (05:15 +0000)]
beta feedback - add more wc options
- splash_screen (boolean for whether to display splash screen at startup)
- player_selection:dialog|prompts
Also moves the font and window manipulation stuff in defaults.nh
further down the file, so that a tty users doesn't have to wade
through it all to find the character adjustment samples.
nethack.allison [Mon, 11 Mar 2002 23:38:59 +0000 (23:38 +0000)]
(from Yitzhak)
nethack.allison [Mon, 11 Mar 2002 23:37:05 +0000 (23:37 +0000)]
(from Yitzhak)
more porthelp and documentation
nethack.allison [Mon, 11 Mar 2002 22:33:21 +0000 (22:33 +0000)]
(from Yitzhak)
patch: rollback alt-key changes
nethack.allison [Mon, 11 Mar 2002 20:56:53 +0000 (20:56 +0000)]
(from <Someone>)
Correct Makefile.gcc for win32
nethack.allison [Mon, 11 Mar 2002 16:45:16 +0000 (16:45 +0000)]
Add "experimental section" to config.h
- Move GOLDOBJ into the experimental section.
nethack.allison [Mon, 11 Mar 2002 11:28:46 +0000 (11:28 +0000)]
(from Yitzhak)
rollback alt-b
nethack.rankin [Mon, 11 Mar 2002 08:46:54 +0000 (08:46 +0000)]
unleashing untame monsters
Fix several cases that earlier patches didn't address.
If a leashed monster becomes untame, detach the leash.
warwick [Mon, 11 Mar 2002 08:18:47 +0000 (08:18 +0000)]
Sometimes there is no main widget.
nethack.rankin [Mon, 11 Mar 2002 08:00:21 +0000 (08:00 +0000)]
leash groundwork
Add another parameter to m_unleash. This should not introduce
any change in behavior.
nethack.rankin [Mon, 11 Mar 2002 06:41:47 +0000 (06:41 +0000)]
steed/leash bit
It's possible to leashed a saddled pet and them ride it,
but it wasn't possible to remove the leash while mounted. This
fixes that; it also lets you put the leash on your steed while
mounted, but there's nothing wrong with that.
nethack.allison [Mon, 11 Mar 2002 06:21:45 +0000 (06:21 +0000)]
doc bit
nethack.allison [Mon, 11 Mar 2002 06:17:31 +0000 (06:17 +0000)]
Summarize past version 3.3 in Guidebook and dat/history.
nethack.allison [Mon, 11 Mar 2002 04:36:54 +0000 (04:36 +0000)]
(from <Someone>)
Fix crash.
WIN_MAP was used without before initialization in mswin_select_map_mode
nethack.allison [Mon, 11 Mar 2002 03:17:49 +0000 (03:17 +0000)]
(from <Someone>)
- changed splash screen fonts to measure in logical pixels rather that
points.
Points are 1/72 inch regardless of screen resolution. If screen resolution
changes so does visible image size. If font is measured in points then its
visible size remains the same. The text is getting cut off (or becomes to
small for the image) as a result.
nethack.allison [Mon, 11 Mar 2002 02:40:43 +0000 (02:40 +0000)]
Remove high-bit characters in recent comment
jwalz [Mon, 11 Mar 2002 02:31:42 +0000 (02:31 +0000)]
Get the god name right in comments.
nethack.allison [Mon, 11 Mar 2002 02:29:42 +0000 (02:29 +0000)]
various things
- a couple of README updates
- some color changes for windowcolors
- prevent crash From a bug report, but better than a crash. It
probably renders the map_mode:fit_to_screen ignored in defaults.nh.
nethack.allison [Mon, 11 Mar 2002 00:59:40 +0000 (00:59 +0000)]
fix some porthelp nits
- also add some windowcolors documentation
cohrs [Sun, 10 Mar 2002 23:03:46 +0000 (23:03 +0000)]
add new sys/unix file to Files
nethack.allison [Sun, 10 Mar 2002 22:30:47 +0000 (22:30 +0000)]
Add win32 port help support.
nethack.allison [Sun, 10 Mar 2002 19:07:17 +0000 (19:07 +0000)]
Some win32 updates
(There will be a couple more patches to follow in a bit)
nethack.allison [Sun, 10 Mar 2002 17:41:11 +0000 (17:41 +0000)]
(from Yitzhak) part2
part 2 touches only port files
Makes Borland happy with current sources.
Fixes bug in WM_PAINT handling in rip/splash code.
Fixes getline() bug (H0009)
Tidies up source.
Fixes up copyright notices.
Adds TODO docs for Borland. (Removes "TODO" note)
Small changes to defaults formatting.
Fixes ALT key on Graphical Port non NetHack mode.
Hilites pet in Graphical Port text mode.
Also Implements windowcolors for status and message window in graphical port.
On graphical port,
tested to see it actually works.
Tested on platforms Makefile MSC/BCC Graphical/Console, MSC IDE for
compile and run and performing hilite pet in graphical text, not
displaying rawio, alt key.
nethack.allison [Sun, 10 Mar 2002 17:35:16 +0000 (17:35 +0000)]
(from Yitzhak) part1
part 1 touches core files
ntconf.h changes differ slightly from Yitzhak's original.
Makes Borland happy with current sources.
Hides "rawio" on Graphical Port which doesn't do anything with rawio
nethack.allison [Sun, 10 Mar 2002 13:31:51 +0000 (13:31 +0000)]
Makefile fix following depend. changes
nethack.allison [Sun, 10 Mar 2002 04:15:43 +0000 (04:15 +0000)]
Update the dependencies in win32
jwalz [Sun, 10 Mar 2002 04:05:59 +0000 (04:05 +0000)]
Lint part 2, mostly parameters.
arromdee [Sun, 10 Mar 2002 01:00:06 +0000 (01:00 +0000)]
wizkit
This fixes the wizkit so that if someone wishes for a non-object such as
a trap, not only is no message printed, but we don't try to create anything.
Incidentally, if you have two bad wizkit items in a row, you get told to hit
space to continue, then you can hit space, then the error message for the
second bad item is printed on the same line as the first hit space message.
(I haven't tried to fix that.)
jwalz [Sun, 10 Mar 2002 00:30:53 +0000 (00:30 +0000)]
Lint part 1, unused variables, routines, and return codes.
cohrs [Sat, 9 Mar 2002 19:28:16 +0000 (19:28 +0000)]
dipping into burning potions
- candles, et al, light via catch_lit
- non-weapons can be damaged
- only flammable items can be damaged, previously SILVER objects, for example,
would get a message, but add_erosion_words wouldn't display a damage word
- can't track burnt food, put this in the "seems" case too
- PLASTIC items are is_flammable, which is appropriate for all current uses
- paper gets destroyed (special artifacts excepted by earlier check)
- a cursed potion now spills even if not dipping weapons
- charge for damaging unpaid objects this way
- still very hard to destroy PYEC this way
cohrs [Sat, 9 Mar 2002 17:42:22 +0000 (17:42 +0000)]
more dead code
nethack.allison [Sat, 9 Mar 2002 11:30:26 +0000 (11:30 +0000)]
(from <Someone>)
cohrs [Sat, 9 Mar 2002 07:17:00 +0000 (07:17 +0000)]
writing in fog
- if you engrave in a cloud, the surface type should only be "air" if you're
on the air level
cohrs [Sat, 9 Mar 2002 06:55:52 +0000 (06:55 +0000)]
more update_inventory calls
in passive_obj and erode_armor
cohrs [Sat, 9 Mar 2002 06:41:49 +0000 (06:41 +0000)]
parallel unix make bits
- Pat noticed that makedefs -z makes both vis_tab.[ch], but they could be
built by two makes via make -j, causing corruption
- make -j at top level failed for similar reasons, added several
dependencies to ensure a valid ordering
- these changes will cause extra things to be built if you "make"
individual targets at the top level, but have little effect it you're a
real power user and "make" the actual target in the right directory
dean [Sat, 9 Mar 2002 05:08:27 +0000 (05:08 +0000)]
MPW #pragma unused updates
nethack.rankin [Sat, 9 Mar 2002 04:47:49 +0000 (04:47 +0000)]
vms update: sync Makefile.src with `make depend'
cohrs [Sat, 9 Mar 2002 04:10:24 +0000 (04:10 +0000)]
lava effects while riding
- a case missed by the earlier lava patch, if you enter the lava while
mounted, your steed would be unaffected if you were lifesaved
- fix by making more code shared with the is_pool case
arromdee [Sat, 9 Mar 2002 03:29:36 +0000 (03:29 +0000)]
get rid of nori
nethack.allison [Sat, 9 Mar 2002 03:14:59 +0000 (03:14 +0000)]
B10003 fixed.
jwalz [Sat, 9 Mar 2002 03:13:18 +0000 (03:13 +0000)]
Run 'make depend', after fixing up output.
nethack.allison [Sat, 9 Mar 2002 02:58:46 +0000 (02:58 +0000)]
Something Janet pointed out.
cohrs [Sat, 9 Mar 2002 02:56:46 +0000 (02:56 +0000)]
fixing bad luck via sacrifice
- From a bug report: if sacrifice doesn't clear the timeout until prayer,
your bad luck is cleared, but if it does, your luck could remain negative
nethack.allison [Sat, 9 Mar 2002 02:32:35 +0000 (02:32 +0000)]
(from <Someone>)
- fixed tab-stop order for player selection dialog
- minor changes to the dialog layout
jwalz [Sat, 9 Mar 2002 02:20:28 +0000 (02:20 +0000)]
There's no point in mailing this out, but there doesn't seem to be a way
to stop it.
jwalz [Sat, 9 Mar 2002 01:59:47 +0000 (01:59 +0000)]
Make pre-ANSI compiler happy.
nethack.allison [Sat, 9 Mar 2002 01:08:54 +0000 (01:08 +0000)]
Remove a fixes34.0 entry that corresponded to removed code.
nethack.allison [Sat, 9 Mar 2002 00:56:39 +0000 (00:56 +0000)]
bit
nethack.allison [Sat, 9 Mar 2002 00:43:14 +0000 (00:43 +0000)]
winhack.c mods
- change sprintf -> Sprintf macro
- fix sprintf syntax
- point to a www.nethack.org URL, rather than a Microsoft one
cohrs [Fri, 8 Mar 2002 23:41:57 +0000 (23:41 +0000)]
provide linux build instructions in the source distro
nethack.allison [Fri, 8 Mar 2002 23:30:04 +0000 (23:30 +0000)]
Update dungeoneers list (<Someone>, Teemu).
nethack.allison [Fri, 8 Mar 2002 22:23:04 +0000 (22:23 +0000)]
(from <Someone>)
This patch implements Michael's idea to have a "NetHack mode" for
keypresses. It only does the Alt-keys now, but it should be easy
to extend to pressing space in dialogs; I left that out as we still
have to agree on a new dialog look.
The setting that you choose from the menu is stored in the registry.
Reading and writing the registry is done on init_nhwindows and
exit_nhwindows; there also is a menu item to delete the registry
settings (which makes sure they are not stored again this session.)
This provides a framework for future registry settings.
Also,
Alt-tab should show the app title when a menu or text window is up.
I left the app title as it was, although I still favour "Graphical
Version" or "With Graphics"; Anyway, that's only one resource string.
nethack.allison [Thu, 7 Mar 2002 23:54:15 +0000 (23:54 +0000)]
slap against floor while riding
> Greetings! <Someone> suggested I report this bug to you:
> in 3.3.1, riding a horse while blind, I ate a bad carrot (to
> unblind myself) and got the message, "Blecch! Rotten food! The
> world spins and you slap against the floor." Upon regaining
> consciousness, I found I was still safely mounted on my steed,
> raising the question of what part of me could have "slapped
> against the floor." I thought I would have fallen off my
> horse, or at least have slumped against it. <Someone> said in his
> reply to me on rgrn: "Looks like Yet Another message that
> fails to take riding into account; should be easy enough for
> the DevTeam to fix, though, since it's one that's already
> being modified for levitation and the like." Hope this helps.
> Thanks very much! <email deleted>
>
nethack.allison [Thu, 7 Mar 2002 23:36:53 +0000 (23:36 +0000)]
As Kevin pointed out.
nethack.allison [Thu, 7 Mar 2002 23:24:11 +0000 (23:24 +0000)]
follow-up to <Someone>'s patch.
I left a couple of prepanic() calls in there accidentally
when modifying the patch.
Michael
nethack.allison [Thu, 7 Mar 2002 23:09:59 +0000 (23:09 +0000)]
(from <Someone>)
Here's a patch that checks whether the common control
library is available and up-to-date
[slightly modified from <Someone>'s version to reduce
indentation one level, and to fix wrap-around
in the patch]
nethack.allison [Thu, 7 Mar 2002 21:50:20 +0000 (21:50 +0000)]
Something <Someone> reported. Ensure that an early panic() doesn't
cause an access violation in win32 graphical port.
nethack.allison [Thu, 7 Mar 2002 21:12:51 +0000 (21:12 +0000)]
(from <Someone>)
Here's the gcc makefile.
nethack.allison [Thu, 7 Mar 2002 13:01:17 +0000 (13:01 +0000)]
(from <Someone>)
Here's the gcc makefile. I also cleaned up the batch file a
little and added instructions to install.nt.
I copied most of the items from the existing Makefiles,
including the 32x32 tile support, even though that is not
available. This way comparing the makefiles is easiest :-)
nethack.allison [Wed, 6 Mar 2002 19:02:49 +0000 (19:02 +0000)]
win32 shknam updates
nethack.allison [Wed, 6 Mar 2002 18:54:13 +0000 (18:54 +0000)]
win32: Consistent Makefile naming now that we have at least 2
Makefile.nt -> Makefile.msc
nethack.allison [Wed, 6 Mar 2002 17:46:49 +0000 (17:46 +0000)]
Support iflags.menu_tab_sep in the #enhance menu.
nethack.allison [Wed, 6 Mar 2002 16:51:17 +0000 (16:51 +0000)]
Ensure that vision is not used during done()
(and panic() which calls done())
This uses the flag that <Someone> recently added.
At least one crash in the past was caused by
? -> panic() -> done(11) -> * vision_recalc(2) -> newsym() -> crash!
if u.ux and u.uy are 0
nethack.allison [Wed, 6 Mar 2002 16:18:27 +0000 (16:18 +0000)]
Ensure that each win/win32 source file has a copyright statement
and mentions the NetHack license.
nethack.allison [Wed, 6 Mar 2002 05:16:17 +0000 (05:16 +0000)]
(from Yitzhak)
Addresses <Someone>'s point that ALT-F4 in game-over, still brings up the
save/quit/cancel dialog box. This makes ALT-F4 equivalent to quitting
without any further disclosure/windows, but makes sure the game exits
properly so it will save the bones and the record file. I also cleaned
up the mhrip.c to use macros for all magic numbers.
cohrs [Wed, 6 Mar 2002 04:14:30 +0000 (04:14 +0000)]
another "your corpse" case
- switch aobjnam() to use cxname, not xname
- update Tobjnam() comment, since it can still use xname w/o confusion
A specific case that's fixed: You begin bashing monsters with your corpse.
nethack.allison [Wed, 6 Mar 2002 02:56:46 +0000 (02:56 +0000)]
(from <Someone>)
- added support for iflags.randomall (-@)
- echo yn_function selection to the message window (as From a bug report
nethack.allison [Wed, 6 Mar 2002 02:05:14 +0000 (02:05 +0000)]
weapon shattering follow-up
nethack.allison [Wed, 6 Mar 2002 01:58:07 +0000 (01:58 +0000)]
more weapon shattering
The Kop Kaptain's rubber hose shatters from the force of your blow!
Rubber hoses are an individual exception that would need to be dealt
with explicitly, since the PLASTIC they're made of is floppy rather
than rigid as for other PLASTIC items.
nethack.allison [Wed, 6 Mar 2002 01:43:01 +0000 (01:43 +0000)]
*** empty log message ***
nethack.allison [Wed, 6 Mar 2002 00:22:37 +0000 (00:22 +0000)]
<Someone>'s potion of polymorph suggestion
> Should a potion of polymorph autoidentify if the item dipped into it
> polymorphs into (as far as you know) the same item? It just seemed
> odd, choosing "Z - a wand of light" to dip into a potion, to get
> "Z - a wand of light" returned, and the potion identified.
>
> (Ideally, I'd like to see it be "Nothing seems to happen.", as for
> a failed-this-time unicorn horn.)
cohrs [Tue, 5 Mar 2002 07:46:40 +0000 (07:46 +0000)]
iron bars and wallification
- iron bars should be treated like doors with respect to wallification
cohrs [Tue, 5 Mar 2002 06:21:05 +0000 (06:21 +0000)]
allow locks to be forced again
- use uwep's oc_wldam value, not chest's oc_wldam value, for computing chance.
oc_wldam has always been 0 for all containers
- the code was broken for a long time, but was masked by the off-by-1 error
in checking the chance, allowing a 1% chance of forcing
- the result is that forcing locks is a lot easier
nethack.allison [Tue, 5 Mar 2002 05:11:45 +0000 (05:11 +0000)]
Use mswin for the window port name since that is used in the window port itself.
nethack.allison [Tue, 5 Mar 2002 05:03:48 +0000 (05:03 +0000)]
add windowcolors option
Add option windowcolors to control foreground/background
color of menu, message, status, and text windows.
(foreground color is the text color).
The value of the colors is window port specific, the
core code handles the storing of the strings only.