2213732f1c
steed, stethoscope, and a vortex
nethack.allison
2003-07-19 16:39:46 +00:00
db4b55a6de
typo fix in comment
nethack.allison
2003-07-19 12:42:39 +00:00
43d7d6f27d
multiple statues and stone-to-flesh
nethack.allison
2003-07-19 12:39:55 +00:00
9608015ac8
new makemon() flag
nethack.allison
2003-07-19 12:24:32 +00:00
39a0544360
B05001 - eating a tin in a stack on the floor Make sure to splitobj tin.tin before calling bill_dummy_object. Avoids charging to all the stacked tins when you eat the 1st one.
cohrs
2003-07-19 03:29:21 +00:00
99bcdf6a4e
expand wincap options to second field
nethack.allison
2003-07-17 01:35:31 +00:00
83c28e6ff8
stone to flesh bit
nethack.allison
2003-07-16 23:13:51 +00:00
d5ad0b62b6
yet another README.linux update clarify the installation of NetHack.ad as NetHack.
cohrs
2003-07-15 00:36:50 +00:00
17b7bc1bd6
B03008 - stop_occupation while digging in a pit If you dug in a pit next to a sleeping, angry monster, you'd stop every turn due to a complex check at the end of dochugw. It turned out this was due to a long-standing bug in the special case vision code that failed to set the COULD_SEE bit for the locations where it set the IN_SIGHT bit. It looks like the underwater code had the same problem (it didn't set the bit, obviously there are no pits underwater). However, the same could occur if you see the angry, sleeping monster with Xray vision. In this case, setting COULD_SEE is not appropriate, so added a mcanmove check to the complex check in dochugw.
cohrs
2003-07-14 05:57:11 +00:00
3ef8dfe4aa
B04007 - invisible steed glyph while chatting and blind Avoid ever putting an "I" on the hero's location by checking it in map_invisible(). It appeared there were a few other special cases that could call map_invisible() for actions involving the steed, so checking there catches them all.
cohrs
2003-07-14 00:52:26 +00:00
f8abb8c8cc
B04003 - keep saddle with steed corpse if possible
nethack.allison
2003-07-13 13:22:19 +00:00
567a501bdd
U537 - autosearching while digging a trapped statue Noticing a statue trap animate should stop your occupation. That avoids the reported "You hit the with all your might." message.
cohrs
2003-07-13 05:17:49 +00:00
5314fbe5b6
catchup patch Looks like I forgot to commit a change to the dev version of fixes34.2.
cohrs
2003-07-13 01:12:44 +00:00
8eb6614a56
fix B04004 "lead steed" into pit after landmine
nethack.allison
2003-07-12 16:59:32 +00:00
b88e0a13ab
fix B04005 and B04006
nethack.allison
2003-07-12 14:55:44 +00:00
08bbe34a9f
suppress DOS djgpp build warning
nethack.allison
2003-07-08 00:30:40 +00:00
d6c730031a
compilation gcc warning bits I noticed I hadn't tried VISION_TABLES in a while.
cohrs
2003-07-06 22:29:48 +00:00
362518c3ac
BSD and POSIX Finally got around to installing OpenBSD (rev 3.3) in a vmware partition. Found that several #if BSD's were inappropriate for modern BSD's. Haven't installed FreeBSD or NetBSD, but based on reading their man pages, these changes are needed there too. Mostly due to POSIX time() signature.
cohrs
2003-07-06 22:06:46 +00:00
3f7873514e
B04002 fix for misplaced pet loyalty
nethack.allison
2003-07-06 14:13:06 +00:00
85c062ce47
Document the process of fighting a cross-compile into submission.
jwalz
2003-07-05 23:20:22 +00:00
a3278098d4
Tweak to compile.
jwalz
2003-07-05 22:37:10 +00:00
9f31602b14
Guidebook.mn nit Make the "help" and "race" look the same as other entries. This is purely cosmetic so I haven't put it in 3.4.2.
cohrs
2003-07-05 20:35:21 +00:00
00c666a80f
B04001 - Staff of Aesclepius message while swallowed Since cansee() is false for all locations while swallowed, need to test if the monster being hit is the one that swallowed you to ensure that various artifact hit messages, including the DRLI message, are printed.
cohrs
2003-07-01 01:33:42 +00:00
669633eb21
U491: xorns, digging and pits Digging a pit while a xorn set the trap time, but falling into a pit did not. While lookin at this, it occurred to me that the same inconsistency might occur while polymorhing from/to a xorn, and there was.
cohrs
2003-06-30 06:08:06 +00:00
fc40ccd7d2
random numbers on linux Switch the default Linux build behavior to use random instead of lrand48, since lrand48 exhibits some obviously non-random behavior. random() has been in glibc for a long time. Even if no other changes are made to nethack's random number generator, this will improve the Linux behavior.
cohrs
2003-06-30 04:18:29 +00:00
b633b91875
SF patch 536615: travel cache This is derived from the proposed patch and feedback to it. This applies the last-position cache behavior without an option, making the behavior more like it is for interfaces with a mouse, where holding the mouse still acts the same way as the travel cache. The code is not #ifdef'd either.
cohrs
2003-06-30 04:00:14 +00:00
cec8e1ee31
clicklook (main trunk only) This allows the use of the right mouse button to look at things on the screen when the 'clicklook' option is set.
nethack.allison
2003-06-30 02:09:04 +00:00
00addd7eea
SF patch 414711: stethoscope fix Incorporate the submitted stethoscope fix.
cohrs
2003-06-30 01:54:23 +00:00
21b26e867d
shopkeeper geography From: <Someone> I dunno if this is relevant but "Gomel" is actually not in Ukraine but in Belarus. I am pretty sure because I have been there.
cohrs
2003-06-26 00:53:10 +00:00
71fbc01113
U510: yet another update_inventory call When armor becomes ungreased, update_inventory to reflect the change.
cohrs
2003-06-19 02:26:49 +00:00
45460e3f9a
more DOS gcc makefile
nethack.allison
2003-06-15 15:56:03 +00:00
abe2701a1c
DOS gcc makefile fix
nethack.allison
2003-06-15 15:23:13 +00:00
a686589b1f
guidebook building command I found that the setting of GUIDECMD sys/unix/Makefile.doc didn't cut it with groff-1.18. Also, the command was duplicated in the rule to generate Guidebook.txt.
cohrs
2003-06-12 05:16:20 +00:00
90c03c2f0a
corpses on ice use of obj recharged field A while back, I noticed that there was a custom use of the obj->recharged flag in mkobj.c for tracking corpses on ice. It's much more obvious for those of us that don't have the entire source base memorized to follow the usual convention of adding a #define to obj.h. That's what this change does.
cohrs
2003-06-12 04:49:09 +00:00
2a3e8c9fc4
webbing over stairs Due to limitations in some interface's display capabilities, don't let polymorphed players web over stairs or ladders. As a side effect, this side-steps missing checks for webs when going up or down stairs and ladders.
cohrs
2003-06-12 03:32:58 +00:00
8105adfae5
Long ago we received a bug report complaining that hilite_pet on Win32 (tty) wasn't respecting the setting of "use_inverse" (plain "inverse" at the time I think).
nethack.allison
2003-06-12 03:28:39 +00:00
ecd72571fd
Guidebook.txt sync note that trunk and 3.4.2 guidebooks are different.
cohrs
2003-06-08 20:02:54 +00:00
42d336aa94
U393 - jousting puddings into a polymorph trap caused 2 identical new monsters Because hmon_hitmon caches the monster data type, it needs to update this whenever the monster might polymorph. It already did this for potions, but not for jousting. There are other more complex ways this could be addressed.
cohrs
2003-06-08 19:36:45 +00:00
ec13f16ff7
U393 - unix hangups in endgame Unix code does not always go thru hangup() when EOF is encountered. There is a similar end_of_input() that is sometimes called instead, which was missing a test of program_state.something_worth_saving.
cohrs
2003-06-08 18:31:57 +00:00
e33b62192c
U338 - dismounting into known traps When dismounting by choice and not impaired, the player could end up in a known trap even if better positions were available. This change allows the landing spot to prefer non-traps in these cases.
cohrs
2003-06-08 17:51:57 +00:00
083efbb630
font_size descriptions In May 2002, <Someone> wrote: >In src/options.c, there are these options with their descriptions: > >##################### >{ "font_size_map", "the size of the map font", 20, DISP_IN_GAME }, > /*WC*/ >{ "font_size_menu", "the size of the map font", 20, DISP_IN_GAME > }, /*WC*/ >{ "font_size_message", "the size of the map font", 20, > DISP_IN_GAME }, /*WC*/ >{ "font_size_status", "the size of the map font", 20, DISP_IN_GAME > }, /*WC*/ >{ "font_size_text", "the size of the map font", 20, DISP_IN_GAME > }, /*WC*/ ##################### > >Surely all those descriptions shouldn't be the same?
nethack.allison
2003-06-08 00:22:28 +00:00
70b0a44a80
look vs pickup
nethack.allison
2003-06-01 17:42:49 +00:00
f65a13cfbe
look vs pickup
nethack.allison
2003-06-01 15:54:41 +00:00
bc2215268b
random level teleport fix
nethack.rankin
2003-06-01 14:52:04 +00:00
1add9289c0
quiet warning A recent patch triggered a warning about signed/unsigned mismatch in an assignment.
nethack.allison
2003-06-01 14:19:16 +00:00
678e05096d
some lint cleanup
nethack.rankin
2003-05-31 07:14:21 +00:00
c845548c36
Make enhanced ammo last longer.
jwalz
2003-05-28 21:54:37 +00:00
be7e8373f4
That one $(LD) needs to be an $(LD). $(CC) will link in the non-shared C library and cause problems with address space for something NetHack's size.
jwalz
2003-05-28 17:33:54 +00:00
47bbe26073
Unify usage of $(CC) vs. $(LD) for linking to always $(LINK), set to $(CC) by default. Necessary for C++ builds where the C++ compiler driver must be used to link, adding libraries that the C compiler driver does not know about.
warwick
2003-05-28 05:36:57 +00:00
f61e3ceefe
another grammar bit My e-mail archive shows this was originally reported as one of several items in R871. Clean up a hit message when wielding cream pies.
cohrs
2003-05-25 23:21:20 +00:00
1f712ac626
U303 - starting the game as a male valkyrie A core fixup if the the port startup code sets an invalid flags.female when starting a new game. The old comment regarding being unable to change flags.female was not completely correct. The flags.pantheon can be used to differenciate new games from a restored game.
cohrs
2003-05-25 20:28:41 +00:00
702c373619
untested FreeBSD compilation fix this particular fix has been sitting around my inbox for a while although we've had reports of FreeBSD build problems for a long time. While it's untested, it certainly looks like the unfixed system.h had a case that could not be reached. bsdi seems like it needs to be handled the same way.
cohrs
2003-05-25 19:03:55 +00:00
8fcb235336
golem statue vs stone-to-flesh move the fixes entry for this from 35.0 to 34.2 since the fix got inserted into the 3.4.2 source and is not detrimental to the branch.
cohrs
2003-05-25 17:40:51 +00:00
b115b536c1
B03005 - canceling monster redux Revert the code, but add a comment. The behavior is not obvious to everyone.
cohrs
2003-05-25 17:21:21 +00:00
dde1a1ceec
B03006 - Searching trapped chests When attempting to disarm a trapped chest, wisdom should only be exercised when not confused. It stands to reason that even if you manage to find a trap in a confused/hallucinating state, wisdom shouldn't be exercised.
cohrs
2003-05-25 05:04:11 +00:00
1d2b62de95
B03005 - Canceling monsters Since monster cancellation sticks, it doesn't makes sense for Magicbane to cancel a monster more than once. Tweaked the messages to deal with this fact. I decided to not make Magicbane's random effect "intelligent", which is what changing it to use some other attack against a canceled monster would be.
cohrs
2003-05-25 03:47:31 +00:00
dce0e0cb33
use Is_box While inspecting some code, I noticed that detect.c wasn't using Is_box in some places it should have been.
cohrs
2003-05-25 02:35:16 +00:00
9a39064b8f
more perm_invent handling
nethack.rankin
2003-05-24 04:07:14 +00:00
aace75a34d
B03004 - candelabrum in bones file curse the candelabrum, like other similar artifacts
cohrs
2003-05-24 01:59:11 +00:00
4b22aa7bff
sitting in lava and other utraptype sit messages Several cases in the trap block of code in dosit() were caused by utraptype being set to values not corresponding to an actual trap. <Someone> reported back in 12/02 that the "sitting in lava" killer message could not occur, but the special-case sit messages for TT_INFLOOR and TT_BURIEDBALL couldn't occur either.
cohrs
2003-05-23 02:47:45 +00:00
73fa09fac7
class genocide by species name Incorporate a mod submitted by <Someone> to implement the TODO in the class genocide code by walking thru the species to find a class to genocide if the user input does not match the class description.
cohrs
2003-05-23 02:47:42 +00:00
82cef26512
sitting in lava and other utraptype sit messages Several cases in the trap block of code in dosit() were caused by utraptype being set to values not corresponding to an actual trap. <Someone> reported back in 12/02 that the "sitting in lava" killer message could not occur, but the special-case sit messages for TT_INFLOOR and TT_BURIEDBALL couldn't occur either.
cohrs
2003-05-22 01:43:21 +00:00
ac3746d055
B03003 - throwing short swords <Someone> pointed out a disagreement between the comment and code in throwing_weapon(): comment says daggers & knife can be thrown, but code also allowed short swords. Assuming the comment was correct, changed the code to match.
cohrs
2003-05-21 22:08:22 +00:00
3862424fa7
choking on non-food <Someone> (also later forwarded by <Someone>) reported that choking while eating non-food always resulted in calling it a "quick snack". lesshungry() depends on an occupation to tell if you are actually eatig or not, but since non-food is eaten in one turn, no occupation was set. Took his suggestion of setting the occupation temporarily to cause lesshungry() call choke() appropriately in this case.
cohrs
2003-05-21 18:32:40 +00:00
e6ed77f634
U464 - picking up items while swallowed in a shop The bug report referred to greased hands, but that doesn't affect the behavior. If you drop an object while swallowed or engulfed in a shop, and that object had previously been picked up from the shop floor, the object was treated as costly. In some cases, this could result in impossible errors later on. Perhaps object ox & oy should be modified when in player/monster inventory, but this fix addresses the specific problem by not doing the costly check while swallowed.
cohrs
2003-05-21 17:12:47 +00:00
bbaa40993b
U472 - untrapping squeaky board with a can of grease If using a permanent inventory window, the charges weren't updated immediately.
cohrs
2003-05-21 15:15:27 +00:00
902b4e67ef
Insert static to match declaration.
jwalz
2003-05-20 14:10:11 +00:00
64618b9690
Borland bit
nethack.allison
2003-05-20 10:23:52 +00:00
1b512c4a49
more "disclose" handling
nethack.rankin
2003-05-20 08:25:45 +00:00
b13c70597d
U468 - disclose default clarify the "disclose" default value in opthelp
cohrs
2003-05-20 03:39:02 +00:00
b4ed1755fe
more knight capitalization Capitalize a bunch of "Us"s. <Someone> comments that some other "We" and "Our" actually referred to a group. I disagree and left them alone.
cohrs
2003-05-20 03:24:30 +00:00
14c12765a0
U433 - infinite loop with place_branch This solution is mostly a band-aid. Make sure information set by join_map that is overlaid by the MAP is cleared out. This ensures that place_branch will never consider invalid data. A new function, remove_rooms(), with a helper, remove_room(), takes care of this, but only for rooms created by join_map, which addresses the only known case that causes this problem. There's a possibility that some other strange behavior, especially in minetn-6, will be fixed by this as well. The problem of disconnected caves on minetn-6 is not yet addressed.
cohrs
2003-05-20 02:05:45 +00:00
619da67425
B02005 - Boulder and vision followup put back code to remove LAUNCH_UNSEEN from the mask that got lost when I re-arranged the change.
cohrs
2003-05-19 13:41:01 +00:00
462858bd31
B02005 - Boulder and vision add another bit to the flags passed to launch_obj so it can print the initial "rumbling" message at the appropriate time rather than having the caller print the message, possibly out of order.
cohrs
2003-05-18 21:04:49 +00:00