Commit Graph
854 Commits
Author SHA1 Message Date
cohrs cebf048c50 Qt 2.1 support again
Fix the Qt code so it compiles wth Qt 2.1 again (Install.Qt still claims
the code works on Qt 2.0 and above).  One or more of the changes made this
week broke compilation on my RedHat Linux 6.2 system.  Qt 2.1 is still the
most recent Qt shipped by RedHat for this version.
2002-01-12 07:56:49 +00:00
arromdee cba72d9cf0 I haven't seen anyone get confused by a data.base description in a long long
time.  I think it's because the modern data.base contains so many quotes that
have nothing to do with Nethack that nobody tries to use data.base to figure
out how to handle monsters any more.
2002-01-12 05:45:26 +00:00
arromdee d5d7f15007 Fix some steed/wounded legs things. Also add a wizard-only enlightenment
message specifying that the steed has wounded legs.
2002-01-12 05:37:33 +00:00
nethack.allison f64c0ac241 Since the touchstone uses objclass oc_color we need
to make that field unconditional, otherwise
NetHack won't compile without TEXTCOLOR defined.

Also provides at least an interim solution for the has_color()
problem that Warwick pointed out.

Lastly, Archeologists know touchstones.
2002-01-12 02:16:09 +00:00
nethack.allison 2e62cf4194 get rid of another warning
M. Allison
2002-01-11 22:51:58 +00:00
nethack.allison ab5a3361c7 probable typo fix in mcastu.c
M. Allison
2002-01-11 22:40:39 +00:00
kmhugo ebfe7ebb28 Initial submission 2002-01-11 18:02:22 +00:00
warwick a7cbd7c9c2 Some more stuff missed for the splash screen in Qt windowport. Sorry! 2002-01-11 08:31:08 +00:00
warwick 31b0ddda0b Some stuff missed for the splash screen in Qt windowport. 2002-01-11 08:23:37 +00:00
warwick a3f40cb340 Disables HTML Guidebook until it is available. 2002-01-11 07:13:51 +00:00
warwick df13e93d67 Adds to Qt windowport:
- "Saved game" dialog (could be useful in other ports - plain C code used)
   - "splash screen"
   - compact mode cleanup for 240x320 displays
   - messages-on-map overlay display
   - allows online reading of Guidebook in HTML format (coming soon)
2002-01-11 07:03:12 +00:00
nethack.rankin 318308396b minor reformatting 2002-01-11 04:03:06 +00:00
warwick 1bb96586d6 Fix Qt "compact mode" (as used on handhelds or other tiny screens) to work
on normal Qt (not just Qt/Embedded).
2002-01-11 03:02:44 +00:00
arromdee 157840766d Finally overhauled some spell stuff. --Ken A.
Summary of spell changes:
-- wimpiness of 'default' spell fixed by doing half damage for magic resistance
instead of 1 damage, and using half monster level instead of 1/3.  It may
still need tweaking, but is much better than before.
-- 'default' spell for cleric monsters is now the wounds spell, by analogy with
wizard monsters.
-- added clerical lightning strike, flame strike, gush of water
-- all spells should now say the monster is casting a spell, and all spells
should have messages.  (Side effect: monsters speeding up by other means
also give a message saying so).
-- casting undirected spells is not affected by whether the monster knows
where you are.  Monsters that are attacking your displaced image, that are
several squares away, or that are peaceful can use undirected spells.
-- messages should correctly say whether the spell is undirected (a monster
was always casting at thin air or pointing at you and cursing, without checking
to see if the spell wouldn't require pointing)
-- Monsters which are attacking your displaced image, etc. use up mspec_used.
If they are casting an undirected spell, the spell still works.
-- Monsters which are not attacking can cast spells that don't attack.
-- If a monster didn't have ranged spellcasting ability (which most don't),
it would print a curse message from buzzmu() every round it was at range,
creating a useless stream of constant curse messages

I still haven't made spellcasters "smarter" in the sense of noticing whether
you have reflection, fire resistance, etc.  That opens a big can of worms
because it would mean giving monsters a memory.

Known bug: the higher level a monster is, the more spells it has; since it
chooses a noncombat spell by randomly picking a spell and casting if it
happens to be noncombat, the higher level the monster is the greater the
chance of getting nothing.
2002-01-11 01:09:07 +00:00
kmhugo 95143950a9 Macintosh util update
* Updated preprocessor conditionals for the MPW compilers.
* Remove obsolete Mac code in util/*_comp.l.
2002-01-10 06:55:12 +00:00
kmhugo 87843397c3 Macintosh port update
Several long-awaited updates for the Macintosh port, by Dean
Luick and myself.  This set affects Mac-only files.

* Update the support for MPW compilers.
* Use new system call names provided for in the latest Apple
  Universal Headers.
* Tune up some of the includes for CodeWarrior.
* Define YY_NEVER_INTERACTIVE for the dungeon and level compilers.
* Remove pointless debugging code.
* Clean up some unterminated comments.
2002-01-10 06:53:52 +00:00
cohrs 631df10a34 setuwep, et al, cleanup 2002-01-10 06:52:05 +00:00
kmhugo 46bd9b925c * Fix some formatting in cmd.c. 2002-01-10 06:49:35 +00:00
kmhugo 478555f1ee Macintosh updates
* Updated preprocessor conditionals for the MPW compilers.
* Use new system call names provided for in the latest Apple
  Universal Headers.
* Tune up some of the includes for CodeWarrior.
* Define YY_NEVER_INTERACTIVE for the dungeon and level compilers.
* Remove pointless debugging code.
2002-01-10 06:48:27 +00:00
arromdee 1d86d33fde Fix drain life "problem" (zapping it at the floor required you to reach the
floor) by not making it wipe engravings to begin with.

--Ken A.
2002-01-10 06:08:58 +00:00
nethack.allison 50c0ace9a8 typo fix: NetHack not Nethack in the Guidebook. 2002-01-10 05:31:09 +00:00
nethack.allison 6684ef88d5 update doc/lists for Warwick 2002-01-10 02:09:54 +00:00
nethack.allison 10e513fdbf Housekeeping for Warwick 2002-01-10 02:06:27 +00:00
arromdee 4cb64966f3 remove extra buglist entry
This should be removed from the buglist since it was just implemented.
Also, I get to test my CVS setup this way. :-)
2002-01-10 01:24:01 +00:00
nethack.allison 9b7d9f29b5 From a bug report: monsters hit by polymorph
magic while wearing dragon scales/scale mail were being turned
into random monsters instead of into dragons.

Also

Two items from <Someone>'s list.

Files patched:
  include/obj.h
  src/mon.c, muse.c, worn.c, zap.c
2002-01-09 13:10:13 +00:00
nethack.allison ef26fdaeb4 small touchstone credit 2002-01-09 05:31:47 +00:00
nethack.allison 6a400206d8 add touchstone information to mythos. 2002-01-09 05:25:04 +00:00
nethack.allison d983e196db Sokoban modification
Add some mimics
2002-01-09 04:37:32 +00:00
nethack.allison 767335698b <Someone>'s touchstone code and a bee swarm bit. 2002-01-09 03:31:30 +00:00
nethack.allison 40e0f19b53 Ken's leather cloak. 2002-01-09 00:33:38 +00:00
nethack.allison c9dc2a3c40 prisoners
Prisoners for the Dark One's dungeon <email deleted>
2002-01-08 04:45:56 +00:00
nethack.allison a0b13b1b25 compression fix fix
Ken:
Fix an error in my fix for compression error messages.

No Makefile.src change should be necessary because files.c depends on hack.h,
which "depends" on wintty.h (actually ifdef USE_TRAMPOLI, but the Makefile
doesn't know that).
2002-01-08 04:44:07 +00:00
nethack.allison 17f15477e1 auto credit
Yes, you were right.  There is a reason to have a separate auto_credit flag.
2002-01-08 04:42:29 +00:00
nethack.allison 59f5ed1cbb This adds Wingnut's auto-credit patch (except it doesn't use a separate
auto_credit flag; that's what sell_response is for).

follow-up comment from Pat:
     This introduces behavior that I consider to be buggy.
You need something separate from sell_response, otherwise if
you answer (a)ll when the shopkeeper still has money you end
up selling everything for credit without being asked when he
runs out of cash in the middle of the transation.  Avoiding
that is the reason for the old behavior in the first place.
2002-01-07 12:35:06 +00:00
cohrs c77073be31 sync changes since last snapshot 2002-01-07 02:12:04 +00:00
jwalz 7218689e70 Import to new server 2002-01-05 21:06:03 +00:00
jwalz 244d692830 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 151a25df14 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz a91cc7270f *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 25e8787986 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 51c77c339e *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz ddc2aa945c *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 3b626d43f5 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz fc32b8449d *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz e05bd7f847 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz c7f9ab9a77 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 9b3573ac39 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 055f3a5850 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz d65638f405 *** empty log message *** 2002-01-05 21:06:03 +00:00
jwalz 994b738270 *** empty log message *** 2002-01-05 21:06:03 +00:00