Commit Graph

  • db2620d481 crystal balls and '~' nethack.allison 2003-10-19 19:07:33 +00:00
  • b2ffe64968 breaking migrated objects Allow migrated objects to break on arrival. Added code to obj_delivery to cause this, along with a flag to keep breakage from occurring. The new flag isn't used yet, because all the current object migration involve objects that were moving/dropping. To help make this change, rloco now returns whether the object was placed or not, so caller can know if an obj pointer is still valid or not. cohrs 2003-10-18 22:55:42 +00:00
  • 4cbdae2d3b > - When polymorphed into a flying creature and being grabbed > over the water, then polymorphed into a non-flying creature > leaves you standing on the water (you can kill the creature > too and you're still on the water when you shouldn't be). > - When floating from levitation over water and being held and > removing levitation, you will fall into the water and drown or > crawl back onto land. If you crawl back onto land you're no > longer being held. > The first situation seems to be a bug, the second a possible > exploit. Both situations don't seem very correct, if you're > being held it seems you should not fall into the water/lava > until you are no longer being held. [patch contributed] It > will keep the hero held up on over the water until released if > his size is smaller than or equal to the size of the monster > holding him. [<email deleted>, patch > supplied] > nethack.allison 2003-10-18 14:59:29 +00:00
  • 6820b0520b buglist: Vlad can turn to flee and be paralyzed at the same time nethack.allison 2003-10-18 14:02:25 +00:00
  • 36faeeea3c debian bug #23229 - save file permissions Use fqname buffer 1 for restoring the save file (just like save does when creating it) so the value won't change out from under the code in unixmain. - Also moved a tty-specific hack in docompress_file that was causing the 'y' response to the "keep the save file" prompt to be echoed twice. cohrs 2003-10-16 16:18:26 +00:00
  • 716b2e81f4 from <Someone>'s list: destroy wand of digging nethack.allison 2003-10-16 02:36:26 +00:00
  • f86341a390 eating amulet of unchanging redux To keep this from growing beyond this targeted change, make eating an amulet of unchanging "un"change you, unless you're also wearing one. cohrs 2003-10-15 20:07:14 +00:00
  • b964ae9712 trunk compilation followup to iron changes cohrs 2003-10-15 16:13:59 +00:00
  • 913207b30c more patch cleanup nethack.allison 2003-10-15 12:42:07 +00:00
  • 427ec9f626 dipping non-weapon iron in fountain follow-up patch correction nethack.allison 2003-10-15 12:37:39 +00:00
  • 46296dfb5c dipping non-weapon iron in fountain nethack.allison 2003-10-15 12:32:35 +00:00
  • 9f6e99c9c1 win32tty color fix nethack.allison 2003-10-15 11:37:16 +00:00
  • 50450b7dd5 debian bug #154629 followup further testing found a trivial bug cohrs 2003-10-15 06:47:22 +00:00
  • dadeed21d2 debian bug #154629 - extended commands in gnome front end Not all of the extended commands worked in the gnome interface because '#' just caused the next character to be treated as a meta character (this was a hack I added a while back when none of the extended commands worked). Resolved by finally adding an extended command menu to the gnome interface. - updated some formatting so I could read the code - fixed startup player selection menus so accelerators work - added necessary calls to make sure selected menu item is visible - also removed some dead code cohrs 2003-10-15 06:02:27 +00:00
  • bf476cae6e additional gnome SAFERHANGUP changes Found more places where gnome interface wasn't cleaning up. cohrs 2003-10-15 02:36:34 +00:00
  • dbc6ff00df ice followup nethack.allison 2003-10-14 11:06:58 +00:00
  • d7ae45997c newline nethack.allison 2003-10-14 10:31:11 +00:00
  • 9dc6ad96da additional X11 SAFERHANGUP changes While messing around with window closure events, I found that some such events during startup were being ignored as a result a SAFERHANGUP changes. cohrs 2003-10-14 07:55:36 +00:00
  • cc2105b7b4 debian #184911 - quitting while tty mode inventory is displayed The tty menu code wasn't totally reentrant, causing it to free memory that wasn't on the heap if you had your inventory displayed, ^C then ask to see the inventory again. Solved this by converting the buffer used by process_menu_window to be heap-allocated. If the Quit code could return at this point, this would still be very bad, but since it doesn't, this is OK. cohrs 2003-10-14 07:35:01 +00:00
  • 0d533b7b39 debian #170531 - sign extension in gnome input Internals of gnome_yn_function should treat key inputs as 'int' until returning them, to avoid truncating and not sign extending as needed on platforms where char is unsigned. cohrs 2003-10-14 07:07:40 +00:00
  • 120d0b0295 debian #154627 - quiver menu item in gnome interface Add a menu item for Quiver. While testing this, found the Quit menu item still said that you quit using shift-q, so I updated that too. Trunk change includes some other exit related fixes that don't apply to the 3.4.3 branch. cohrs 2003-10-14 07:00:13 +00:00
  • 84f667c5a4 ice Warning (trunk only) nethack.allison 2003-10-13 23:54:41 +00:00
  • bf98bc9fe8 qt gcc warnings cosmetic changes to allow qt_win.cpp to compile cleanly using gcc -Wall. This corresponds to a debian report that doesn't mention a debian bug ID. The changes are not identical to the suggested debian patch. cohrs 2003-10-13 21:17:12 +00:00
  • 3480525053 debian bug 71234 - closing player selection window causes core dump Too much code was being shared between the extended command window and the popup dialogs for player selection, causing an uninitialized variable to be referenced, often resulting in a core dump. cohrs 2003-10-13 20:24:17 +00:00
  • 10160cc4d9 win32 synch nethack.allison 2003-10-13 15:40:16 +00:00
  • 99c8d27a70 win32 synch nethack.allison 2003-10-13 15:35:55 +00:00
  • 711e3ccc32 win32gui message history; also clipboard support (from <Someone>) nethack.allison 2003-10-13 14:52:15 +00:00
  • 21eaf22be4 win32gui message history; also clipboard support (from <Someone>) nethack.allison 2003-10-13 14:48:13 +00:00
  • 2d99bb91be change the "Stop eating?" question (trunk only) nethack.allison 2003-10-13 02:48:46 +00:00
  • 8bb51a2d62 typo nethack.allison 2003-10-12 22:57:51 +00:00
  • bcdb8cf7f9 Vlad won't use digging in his tower nethack.allison 2003-10-12 22:56:36 +00:00
  • 23c884cbff another melting ice follow up (trunk only) nethack.allison 2003-10-12 15:45:20 +00:00
  • afd8d17d43 melting ice follow up (trunk only) nethack.allison 2003-10-12 14:49:42 +00:00
  • 6712fc1b04 melting ice (trunk only) nethack.allison 2003-10-12 04:21:27 +00:00
  • f6425ee3c5 X11 hilite_pet Add support for hilite_pet to X11 text map mode (hilite_pet was already supported when tiles were enabled). While testing this, I found a missing newsym() in the code implementing the creation of a "tame" monster. cohrs 2003-10-12 03:55:17 +00:00
  • 9cca788ef0 fixes catchup kmhugo 2003-10-12 02:50:43 +00:00
  • dc5a2cf1d4 Deafness tidbit kmhugo 2003-10-12 02:39:31 +00:00
  • 701054d012 eating an amulet of unchanging Prompted by a suggestion on the newsgroup and from <Someone>, allow eating an amulet of unchanging to remove intrinsic polymorph. cohrs 2003-10-11 18:54:48 +00:00
  • 79961e0d85 throwing while polymorphed <Someone> suggested that a dragon, lacking hands, shouldn't be able to throw things. Dragons can pick things up, and it seems they can throw things the same way. However, it does seem that a notake() monster, which cannot pick things up, shouldn't be able to throw things either. cohrs 2003-10-11 18:38:24 +00:00
  • 8ee1ecd2ea hiding under a cockatrice corpse Reported a while back, a (stonable) hiding monster will hide at a location containing only a cockatrice corpse. While it would be interesting to allow monsters to try, and stone themselves as a result, I chose the simpler fix which is to not have monsters hide in such situations. I found the hiding code was duplicated in several places, so I moved it into a new hideunder() function that works for both the hero and monsters. cohrs 2003-10-10 23:01:42 +00:00
  • 219e091d82 U685 - billing for tin usage When moving the code to bill for tins before eating them (to charge for them at the pre-eating hunger status), several cases were able to bypass billing. Moved the bill checking code to a new costly_tin() subroutine so it could be called in all the necessary places. cohrs 2003-10-10 22:53:28 +00:00
  • d590efacad buglist: splashing nethack.allison 2003-10-10 15:53:27 +00:00
  • 5cf49afd75 #U578: Various bug reports > <email deleted> > on Tuesday, August 5, 2003: > Warriors on the Valkyrie quest may be male. [...] nethack.allison 2003-10-10 13:36:53 +00:00
  • acadeb1c32 win32tty bit nethack.allison 2003-10-10 04:53:17 +00:00
  • 9726ece28c Remove very old buglist entry > You cannot stop eating, transcribing, or removing armor, save > the game, restore it, then expect to continue. These use > static data structures which aren't saved. nethack.allison 2003-10-08 03:48:59 +00:00
  • 27749e572e more context (trunk only) - reading spellbooks - taking off nethack.allison 2003-10-08 03:31:06 +00:00
  • 9c24966fe2 message history followup Add a couple missing prototypes removed an unused variable cohrs 2003-10-06 02:55:55 +00:00
  • bc70857749 win32tty changes nethack.allison 2003-10-05 23:00:05 +00:00
  • 4775dd3cbf headings in option menus nethack.allison 2003-10-05 19:56:22 +00:00
  • f6f6c1f0d5 saving message history (trunk only) nethack.allison 2003-10-05 13:43:16 +00:00
  • a5c8b517d2 X11 dynamic map mode selection Prompted by a question from Pat a long time back, this change finally allows tiles or text map mode to be chosen dynamically at runtime (using the "tiled_map" option) rather than having to pick it via an X resource and keep your selection until you exit. This brings map mode selection up to a level similar to most other graphical window ports. In addition, the map mode automatically switches to text on the Rogue level, also like other graphical window ports. The default mode for the X11 binary is now tiles, once again, like most (all?) other graphical window ports. The patch also removes some dead X11 code that is unlikely to be useful again. cohrs 2003-10-03 02:09:27 +00:00
  • ed8ce13d8f eels in lava <Someone> reported that randomly placed aquatic monsters can end up in lava. The placement code allowed lava whenever the WET flag was passed to it. This was so passing (WET|DRY) would match all locations, but it's not appropriate for when only the flag WET is used. Since we have no levels currently affected by this bug, I fixed it only in the trunk. cohrs 2003-10-02 04:23:59 +00:00
  • 6c734c22eb nagas eating <Someone> suggested that nagas should eat. This seems reasonable. I made all but the black omnivores. The black are similar to the AD&D spirit naga, which are listed as carnivores, while AD&D's other nagas are omnivores, so I took the same approach. cohrs 2003-10-02 03:39:57 +00:00
  • d91171b491 U666 - inserting gold into a container The special-case code for the full menu style lacked an #ifndef GOLDOBJ to handle the case where gold is the only thing in the hero was carrying. cohrs 2003-10-01 03:37:55 +00:00
  • 1e2d502ac6 potion-from-sink and the corpsenm field Change the code involved to use a new #define for the field, like other overloaded uses of corpsenm. Also remove one check for this field from potion.c: there are no blessed potions from sinks. cohrs 2003-09-30 18:55:02 +00:00
  • 2d8bc8875e kicking a drawbridge There was some unreachable code in dokick related to drawbridges. Since I liked the current "Ouch!" behavior, I moved the drawbridge test inside the IS_STWALL code but made sure to update the maploc so kickstr would return the right thing. Since there may be more than one drawbridge (perhaps it should test for Valkyrie?) changed the kickstr prefix for drawbridge to "a". cohrs 2003-09-30 18:49:48 +00:00
  • 8a4816f775 putting a saddle on a cockatrice If you try to put a saddle on a cockatrice, you turn to stone, even if wearing gloves. This seemed inconsistent with other cases, and I couldn't think of a reason why you'd touch the cockatrice with another body part, so I added the uarmg test. cohrs 2003-09-30 18:46:49 +00:00
  • 0594b9b621 win32gui: missing but for UI tweaks (from <Someone>) nethack.allison 2003-09-30 03:44:34 +00:00
  • 1bdf37ec00 SAFERHANGUP win32gui (from <Someone>) nethack.allison 2003-09-30 03:42:01 +00:00
  • 4349f52899 SAFERHANGUP win ce (from <Someone>) nethack.allison 2003-09-30 03:41:02 +00:00
  • 3671f12b0a conflicting delayed killers fixes entry for the delayed killers change cohrs 2003-09-29 21:33:51 +00:00
  • 559be58c21 conflicting delayed killers Introduce a new set of functions to manage delayed killers in the trunk, used in addressing the various reports of delayed killer confusion. Since existing delayed killers are related to player properties, the delayed killers are keyed by uprop indexes. I did this to avoid adding yet another set of similar identifiers. - the new delayed_killer() is used for stoning, sliming, sickness, and delayed self-genocide while polymorphed. Some other timed events don't use it (and didn't use the old delayed_killer variable) because they use a fixed message when the timeout occurs. - A new data structure, struct kinfo, is used to track both delayed and immediate killers. This encapsulates all the info involved with identifying a killer. The structure contains a buffer, which subsumes the old killer_buf and several other buffers that didn't/couldn't use killer_buf. - the killer list is saved and restored as part of the game state. - the special case of usick_cause was removed and a delayed killer list entry is now used in its place - common code dealing with (un)sliming is moved to a new make_slimed function - attempted to update all make dependencies for new end.c -> lev.h dependency, sorry if I messed any up cohrs 2003-09-29 19:24:20 +00:00
  • a89fa75f4c U678 - message ordering cohrs 2003-09-29 16:22:11 +00:00
  • b6d32e499d U675 fix nethack.allison 2003-09-29 02:20:18 +00:00
  • e1f5ddd820 sound cleanup kmhugo 2003-09-28 03:42:50 +00:00
  • 3cd543ce74 lint tidbit kmhugo 2003-09-28 00:10:23 +00:00
  • d024c09602 ^X tabbed field support nethack.allison 2003-09-27 22:37:52 +00:00
  • 9f0949394f guidebook grammar bit cohrs 2003-09-27 15:55:35 +00:00
  • 64e75e05e4 win32gui (from <Someone>) nethack.allison 2003-09-27 12:30:28 +00:00
  • 0288c5321a animation of wielded statue nethack.rankin 2003-09-26 10:27:36 +00:00
  • 0ee0cc96da vms catchup (context) nethack.rankin 2003-09-26 09:56:38 +00:00
  • c2f12b8d30 dismounting next to a boulder It makes sense that if you cannot normally move to a location containing a boulder, dismounting there should be avoided if possible. It seems that it should be possible to land there if there's no other choice. Perhaps doing so should result in damage, but that's not in this patch. cohrs 2003-09-26 03:31:09 +00:00
  • c72aafcd40 fog cloud and aquatic monsters <Someone> pointed out the inappropriate appearance of the 3.4.2 message when fog clouds have you engulfed if you happen to be polymorphed into an aquatic creature. It does seem that a fog cloud should not cause added damage to amphibious creatures, which includes breathless (but non-flaming) monsters. I also thought another message was more appropriate for flaming creatures (see on_fire()), and added a special case for that. gulpum was missing symmetric code and I added it there too. cohrs 2003-09-26 01:03:46 +00:00
  • 929f9ce2c7 various tests of flaming monsters This change adds a new flaming() macro and uses it in several places where the list of flaming monsters was tested. on_fire() didn't list salamanders as already being on fire, but should have. A couple other cases were not updated to include flaming sphere. cohrs 2003-09-26 00:37:24 +00:00
  • 96b56a7bd7 U673 - hooks and grappling hook working thru walls While wearing the Eyes of the Overworld, one could use a hook or pole thru walls. The bug report thought they should work past a boulder, but I disagree, given a pole or hook's rigid nature, and did not special case that. couldsee() is not affected by the Eyes, so use that after checking cansee(). cohrs 2003-09-25 22:44:27 +00:00
  • 4375fc7846 killer messages Incorporate various killer message grammar fixes suggested by <Someone>. Mostly these deal with using the proper killer_format and prefix ("the" or no "the") for unique and type_is_pname monsters, or death to to eating their corpses. One case is handled by a general fix to name_to_mon to allow it to deal with "Croesus' corpse". The pre-3.4.1 topten behavior for "starved to death" messages is also restored. cohrs 2003-09-25 16:56:56 +00:00
  • db011864c0 U651 - avoid declaring errno unnecessarily Some changes for standard C platforms, to avoid declaring errno explictly. Such platforms should declare errno in errno.h, which is already included in the files in question. cohrs 2003-09-24 02:12:22 +00:00
  • afea61ef57 U659 - "destroy" manes Nethack's manes are based on AD&D manes which are in turn based on the manes of Roman legend. They are supposed to be spirits of the dead. To that end, added them to the nonliving() macro. The biggest behavioral change is that death spells no longer effect them, which does technically make them a bit tougher but also makes sense. Also, they're so wimpy, it's hard to believe anyone would use a death/disintegration on them anyway. cohrs 2003-09-24 01:29:54 +00:00
  • d706e044b4 U665: gold and unpaid containers The choice was to avoid one of the two sellobj() calls in in_container. Since I liked the message ordering "put gold into... credit" better than "credit... put gold into", the code now avoids the 1st sellobj call for coins. cohrs 2003-09-23 22:01:14 +00:00
  • 2d59f9d8db context build changes for Unix - removed an extraneous space from Makefile.src that confused GNU make - unixmain.c still had a couple uses of flags.move cohrs 2003-09-22 05:21:53 +00:00
  • 92d59e2fe6 fix cvs macro nethack.allison 2003-09-21 13:34:52 +00:00
  • dc9dee3e0d commit new file context.h nethack.allison 2003-09-21 13:32:36 +00:00
  • 22ad303fee victual follow-up nethack.allison 2003-09-21 13:25:56 +00:00
  • c12d797531 trunk only: preserving context (remaining files) nethack.allison 2003-09-21 11:57:26 +00:00
  • 18e971e442 trunk only: preserving context (sys files) nethack.allison 2003-09-21 11:56:11 +00:00
  • 22ce5ed6f2 trunk only: preserving context (src files) nethack.allison 2003-09-21 11:52:54 +00:00
  • 74b834c774 trunk only: preserving context (include files) nethack.allison 2003-09-21 11:46:53 +00:00
  • c3960b1d49 SAFERHANGUP followup jwalz 2003-09-19 16:32:41 +00:00
  • 018123c007 SAFERHANGUP support for win32tty nethack.allison 2003-09-19 11:22:00 +00:00
  • 22fe9838f3 SAFERHANGUP support for win/Qt. Now all the current Unix window-ports support it. cohrs 2003-09-19 04:08:37 +00:00
  • d66bd647e6 more SAFERHANGUP make "done_hup" volatile on platforms where this matters, since hangup() now returns when it didn't used to. cohrs 2003-09-19 03:55:33 +00:00
  • 40b5b12673 SAFERHANGUP This is an initial round of SAFERHANGUP hangup changes. It introduces SAFERHANGUP, provides the core framework, and enables it for UNIX. cohrs 2003-09-19 03:15:49 +00:00
  • 1382c6c028 oracles/rumors for offerings As suggested in a message from <Someone>, add a rumor and an oracle regarding priestly donations. Keni's suggested wording was incorporated. A spelling error in another oracle is also fixed. cohrs 2003-09-18 03:03:12 +00:00
  • 5e443536d8 "your" artifacts This patch introduces a change to yname() and Yname2() that avoids the possessive "your" for the hero's normal, fully identified artifacts. Quest artifacts still get the possessive, as do all other objects and all objects not in the hero's possession. shk_your()/Shk_Your() are used in many places with a specific, generalized name for the object, so I didn't introduce the artifact behavior there, although I did change them to append a space, which simplified some other code. Through added use of yname(), there may be some places that used to just say "corpse" that will now be more descriptive via yname()'s use of cxname(). I'm sure <Someone> will point out any such places that are too onerous, although nothing obviously is. cohrs 2003-09-18 02:52:40 +00:00
  • 9402d6dc54 Don't use regex by default - that way player can share/transport their nethack.cnf between platforms bettery. Wildcards suffice anyway. warwick 2003-09-16 03:45:58 +00:00
  • b6ff9d7d73 Use __BIG_ENDIAN__ rather than __ppc__ (more portable, more meaningful). warwick 2003-09-16 00:20:18 +00:00
  • 3eb58528dd redundant comparison bit cohrs 2003-09-15 16:20:38 +00:00
  • e62bd5eb14 wish bit nethack.allison 2003-09-15 10:47:30 +00:00
  • b4b37dde28 buglist: autodig nethack.allison 2003-09-15 03:49:28 +00:00
  • e919b2e01c buglist: desacrated temples and blindness. nethack.allison 2003-09-15 03:08:56 +00:00