server/attack.c: Modify drain attack code so that if some agent of the
player is doing the drain (eg, avatar, summoned monster, or even spell),
player gets exp added to his total. Otherwise, the agent could suck all
the exp out of the monster, resulting in no gain for the player.
Also, fix bug in drain code where uninitialized value was being used
if enemy had 0 protection to drain.
MSW 2002-08-30
55 lines of code changed in 2 files:
Fix the level/exp for some monsters - these all had levels which
was much higher than the actually difficulty the monster should be.
MSW 2002-08-28
11 lines of code changed in 9 files:
Various bugfixes:
common/map.c: Change so that same logic is used to determine pclose/fclose
that is used to determine popen/fopen - otherwise, compressed map
files probably don't work properly.
common/treasure.c: Do a memset to make sure entire treasureslist is
set to sane values.
lib/archetypes: Fix 'slaying' field (which determines spell name) in
god_spelldirect_face_of_death and god_spelldirect_finger_of_death
server/apply.c: Fix infinite loop if the player had cursed items
that needed to be unapplied to apply an item - setting up next
item iteration was inside if check when it shouldn't be. Also,
print message to player if this is the case.
server/monster.c: Better format some of the code for improved readability.
Fix indentation of can_see_enemy. Clean up invisiblity check - may
have fixed a bug - old code should have worked, but wasn't very
readable.
server/move.c: Fix some bad code from last checkin - didn't fix
the crash on no floor for door type, and instead removed
check type from next line by accident.
server/player.c: Remove call for init_beforeplay - this is already
properly called, and re-calling it resulted in some things being
redone when they shouldn't be.
server/skills.c: Add message if there is nothing to steal form the monster.
server/spell_effect.c: Improve message when invisiblity duration is
maximized.
socket/init.c: change O_NDELAY to O_NONBLOCK of fcntl.
MSW 2002-08-25
91 lines of code changed in 10 files:
Fix 'slaying' field (which determines spell name) in
god_spelldirect_face_of_death and god_spelldirect_finger_of_death.
MSW 2002-08-25
4 lines of code changed in 2 files:
Pickups: added pickups for spellbooks,skillscrols,normal book/scroll. Patch created by Aprogas
mids 2002/08/22
23 lines of code changed in 3 files:
Pickups: created submenus and added pickups for spellbooks,skillscrols,normal book/scroll. Patch created by Aprogas
mids 2002/08/22
168 lines of code changed in 1 file:
doc/Developers/objects: Update with new (better) information from
Todd Mitchell. Doc is more complete, and now has an index which
should make it easier to find things.
server/move.c: Fix dereferencing NULL problem - was looking at op->above,
but op could be NULL if the map had no objects on a space (typically
not the case, but...) No reason I can see that we care about the object
above - just process in normal order.
MSW 2002-08-21
678 lines of code changed in 3 files:
Oops - forgot to add the new files.
Was also working from old archive that didn't have the winter terrain -
now added that.
MSW 2002-08-20
54 lines of code changed in 76 files:
Add archetypes from Todd Mitchell. These add wolfs and bears,
with bodyparts for them. Also changes races for readable scroll
objects so that scrollcase objects can be used. Add ruined tower.
New images for some objects. Races and treasures updated to support
these new archs.
Commited by MSW 2002-08-20
62 lines of code changed in 2 files:
Add archetypes from Todd Mitchell. These add wolfs and bears,
with bodyparts for them. Also changes races for readable scroll
objects so that scrollcase objects can be used. Add ruined tower.
New images for some objects.
Commited by MSW 2002-08-20
57 lines of code changed in 55 files:
common/item.c: Update comment about possible sorting improvements.
gtk/gx11.c: Add missing foodbeep functionality to GTK client.
MSW 2002-08-13
10 lines of code changed in 3 files:
server/time.c: Possible fix for bug seen on metalforge -
in move_player_mover, make sure we are working with the head of the
monster.
MSW 2002-08-13
7 lines of code changed in 2 files:
More spoiler-html fixes - was not including attacktype information, but
also fixed some formatting issues.
common/item.c: Include attacktypes in describe_monster.
doc/scripts/Makefile.in: Add monsters-extract.pl file.
doc/spoiler-html/Makefile.in: Update to use ../scripts/monster-extract.pl
file, remove monster-extract file.
doc/spoiler-html/spoiler.html: rebuilt.
MSW 2002-08-11
271 lines of code changed in 6 files:
Rebuilt spoiler with corrected resistance values for the items.
MSW 2002-08-09
3 lines of code changed in 1 file:
Fix script to correct handle items with negative resist values.
MSW 2002-08-09
1 lines of code changed in 1 file:
Fix spoiler-html generation to show resistances. Need to do normal spoiler
next. Add a new docs/scripts directory to hold the common scripts,
instead of spoiler, spoiler-html, playbook, and playbook-html each having
their own copies.
configure, configure.in: Add doc/scripts directory.
doc/spoiler-html/Makefile.in: Update build directions to use
../scripts/items-extract.pl
doc/spoiler-html/spoiler.html: Rebuilt with updated information.
doc/scripts/Makefile.in: Makefile for directory.
doc/scripts/items-extract.pl: perl version of the items-extract file.
doc/spoiler-html/items-extract: awk version - no longer used.
MSW 2002-08-02
610 lines of code changed in 7 files:
common/item.c: Have describe monster show resistances of monsters - useful
for spoiler output, as well probe spell.
server/disease.c: Fix typo.
MSW 2002-08-02
13 lines of code changed in 3 files:
include/global.h: add FREE_AND_CLEAR_STR macro, relocate DELETE_STRING
by the other macros.
server/c_misc.c: Fix string printout in applymode function.
server/disease.c: Update name_pl in diseases.
server/player.c: replace FREE_AND_CLEAR with FREE_AND_CLEAR_STR - was
freeing data that shouldn't be freed.
MSW 2002-08-01
16 lines of code changed in 5 files: