common/arch.c, common/loader.l (loader.c): Modify the load routines
to strip off trailing whitespace in object names and other_arch fields -
I believe this is why altars to Sorig did not generally work, and while
generally that white space should not exist, doing a little extra checking
for it is not a bad idea - MSW 4/26/2000
Add HOLY_ALTAR type, and use that for praying over for gods and the
like.
doc/crossfire.doc: Add description of HOLY_ALTAR type and meaning
of fields.
common/map.c: Disable consecration code for altars.
include/define.h: Add type for HOLY_ALTAR
include/sproto.h: Update for change of some functions below.
server/c_wiz.c: Modify setgod command to call become_follower with
proper second arg.
server/gods.c: Change become_follower to take object pointer to god instead
of name, since the holy_altar has the pointer in its other_arch.
Modify pray_at_altar to use the new fields, as well as fixed
what seemed to be numerous bugs in that function.
sever/skills.c: Change check from ALTAR to HOLY_ALTAR, also change
check to see if HOLY_ALTAR is consecrated by looking at the
other_arch field.
server/spell_effect.c: Update consecrate so that caster must be
higher effective level than the altar, also update for
differing fields.
maps/thomas/sisters/shrine0, map/thomas/sisters/tower0: Remove
title from altars on these maps - these were the only two maps
using old style altars consecrated to a god. Since it appears the
real purpose of the altars on these maps was to trigger something
else, they were kept as old style altars.
arch/gods/altars (relocated from arch/indoors, as I think the new
location makes more logical sense): Update for new fields/format.
This also affects lib/archetypes, lib/bmaps.paths, lib/crossfire.xpm,
lib/crossfire.cfb
lib/adm/archsearch.pl: Modified to hunt out old archetypes - some of the
changes could be useful in general cases.
MSW 4/26/2000
248 lines of code changed in 11 files:
Relocating altars to arch/gods - only way to do that seems to be remove
and re-add MSW 4/26/2000
2 lines of code changed in 30 files:
Remove trailing whitespace in sorig's name MSW 4/26/2000
1 lines of code changed in 1 file:
arch/gods/altars (relocated from arch/indoors, as I think the new
location makes more logical sense): Update for new fields/format.
MSW 4/26/2000
28 lines of code changed in 10 files:
common/arch.c, common/loader.l (loader.c): Modify the load routines
to strip off trailing whitespace in object names and other_arch fields -
I believe this is why altars to Sorig did not generally work, and while
generally that white space should not exist, doing a little extra checking
for it is not a bad idea - MSW 4/26/2000
34 lines of code changed in 2 files:
server/spell_util.c: Fix move_golem so that multi square avatars (golems)
don't hit themselves. Remove will_hit_self function (only used in
move_golem), since it did not work. Change structure & indenting of
move_golem function so it isn't quite so nested - functionality
remains the same. When we do find something to kill in move_golem,
call attack_ob against it instead of hit_map - hit_map is not save
for multi object hitters. MSW 4/24/2000
89 lines of code changed in 2 files:
Key usage change: Add new command 'usekeys' that specify how keys
are searched for. The three options are inventory, keyrings, and containers.
These options apply to both standard keys and special keys. If the player
has a key for the door but it is in a container that will not be used,
print a friendly message of the key name and container name. Files
affected:
help/usekeys: Added describing options
lib/Makefile.in: Addition of help/usekeys above.
include/player.h: Add new enumeration and entry into player structure
include/sproto.h: New function prototype
server/apply.c: change of Find_Key to new function with slightly
different options
server/c_misc.c: add function to support 'usekeys command.
server/commands.c: addition of usekeys command
server/player.c: rewrite & rename of find_key command, as well as changes
to move_player_attack
Mark Wedel 4/21/2000
157 lines of code changed in 7 files:
Update formatting to look better on standard width display - MSW 4/21/2000
10 lines of code changed in 1 file:
Add key ring to item_types and item_types.h file in the container
category. MSW 4/21/2000
5 lines of code changed in 3 files:
Change Makefile.in to use perl that configure has found when
running items.pl script - MSW 4/21/2000
4 lines of code changed in 2 files:
Add help/usekeys to distribution and Makefile.in to get used.
Mark Wedel 4/21/2000
24 lines of code changed in 2 files:
License: Add license file for the client - MSW 4/20/2000
343 lines of code changed in 2 files:
Many updates - MSW 4/20/2000
49 lines of code changed in 1 file:
config.h, config.h.in: Add WORDS_BIGENDIAN define to file. MSW 4/20/2000
6 lines of code changed in 2 files:
gx11.c: Update so that it
has the same set of command line options that x11.c does (-nocache, -nosound)
Only update keycodes for the
local keyboard for standard keybindings. Custom keybindings will keep their
old/original keycodes, which is often needed. Add -updatekeycodes option so
have it update all keycodes. MSW 4/20/2000
44 lines of code changed in 1 file:
x11.c, xutil.c, client.h, client.man: Only update keycodes for the local
keyboard for standard keybindings. Custom keybindings will keep their
old/original keycodes, which is often needed. Add -updatekeycodes option so
have it update all keycodes. client.man updated to describe the
-updatekeycodes command. MSW 4/20/2000
9 lines of code changed in 1 file:
cfsndserv.c: Various changes
1) Add support for sound on Sun (solaris) systems - another init_audio
function added.
2) If in SOUND_DEBUG mode, also print out the audio device we would try to
use. Also, add x,y coordinates when printing debug information when
playing a sound.
3) Add various casts to reduce compiler warnings on going from
signed char to unsigned char data types.
4) For 16 bit output, big endian (sparc) should now work - have two
sections when packing the sound information to pack it the write direction
depending on endianess of the machine.
5) Ignore the device entry in the .crossfire/sndstat file - using that
resulted in incompatibilities between system types. If player needs
to use a specific audio device, the AUDIODEV environmental variable
can be used.
--MSW 4/20/2000
163 lines of code changed in 1 file:
configure.in (and configure): Many fixes:
1) On solaris, add -R flag to linker options if --with-xpm-lib=dir is
used - needed to run the client when dynamic linking is used.
2) Add AC_C_BIGENDIAN check - we need to know the byte order for sound
to work on both sparc and other systems properly. NOTE - when running
autoconf, you will get a warning about that line.
3) Add detecition for solaris audio include, and add appropriate declarations
to use it.
4) Fix for xpm check - if X11 includes are in a nonstandard place,
it would fail to find xpm.h since that includes some standard X11 files.
Add X_CFLAGS which includes any necessary -I options for this to work.
--MSW 4/20/2000
482 lines of code changed in 2 files:
x11.c, xutil.c, client.h: Only update keycodes for the local keyboard
for standard keybindings. Custom keybindings will keep their old/original
keycodes, which is often needed. Add -updatekeycodes option so have
it update all keycodes. MSW 4/20/2000
27 lines of code changed in 3 files:
add closing comment - the missing close comment was just resulting
in warnings of 'comment detected inside comment' - the change does not
affect the execution of the code. MSW 4/20/2000
1 lines of code changed in 1 file:
See CHANGES file.
23 lines of code changed in 9 files:
Remove extra semicolor that was resulting in compiler warnings.
Update mail address/copyright date.
Mark Wedel 4/18/2000
3 lines of code changed in 1 file:
See CHANGES file.
87 lines of code changed in 50 files:
See CHANGES file.
191 lines of code changed in 12 files:
commit for various updates I have made to the file in the last few
days. Mark Wedel 4/13/2000
32 lines of code changed in 1 file:
Cosmetic fixes - updates to rcsid string to include right file name
as well as updates to mail address and/or additions to top banner.
Mark Wedel 4/13/2000
60 lines of code changed in 7 files:
Change to use /usr/bin/perl instead of /usr/local/bin/perl - real change is to
find perl in configure.in and call the scripts with that. Mark Wedel
4/13/2000
3 lines of code changed in 3 files:
Fix rcsid string so it gets properly updated. Mark Wedel 4/13/2000
1 lines of code changed in 1 file:
Updated my mailing address to be accurate - Mark Wedel 4/12/2000
2 lines of code changed in 1 file:
Update my mailing address - Mark Wedel 4/13/2000
3 lines of code changed in 3 files:
Change to use /usr/bin/perl instead of /usr/local/bin/perl - real change is
to find perl in configure.in and call the scripts with that. Mark Wedel 4/13/2000
1 lines of code changed in 1 file:
Recommit - apparantly I forgot to check this in.
Makefile.in, doc/Makefile.in: Modified so that making the docarchive
now works. The make must be done from the top level for it to work, since
some values are passed, but the doc/Makefile.in was missing some declarations
and had some other fixes that needed to be done. msw 3/22/2000
3 lines of code changed in 1 file:
Recommit - I thought I did this before, but it was not showing up in the
repository.
Makefile.in, doc/Makefile.in: Modified so that making the docarchive
now works. The make must be done from the top level for it to work, since
some values are passed, but the doc/Makefile.in was missing some declarations
and had some other fixes that needed to be done. msw 3/22/2000
3 lines of code changed in 1 file:
update fiel for animation update, x11.c and removal of some files.
Mark Wedel 4/12/2000
19 lines of code changed in 1 file:
x11.c: Add code into gen_draw_face so if a request to draw a nonexistant face
is performed, it will handle the problem gracefully. Mark Wedel, 4/12/2000
29 lines of code changed in 1 file:
commands.c, client.h: Change animation code to dynamically allocate space
needed for animations instead of using a statically defined/sized array to
contain the face information. This fixes a bug with icors causing the client
to crash (it had more animations than the static array had), and this method
is just generally a good idea. Mark Wedel, 4/12/2000
30 lines of code changed in 2 files:
server/skill_util.c: Fixed some log messages that were lacking a newline at
the end. SK_level(): Rewrite of this function to simplify its structure.
Print error message if we find an invalid level. Add top copyright/contact
banner (msw) Patch by Jan Echternach, applied & checked in by Mark Wedel,
4/12/2000
47 lines of code changed in 1 file:
server/apply.c, server/monster.c: Fix in apply.c for encounter maps
so that proper message is generated, and differentiate behaviour if it
is a floor vs not a floor. Also, change to both files in that apply_below
stops at the floor object. Patch by Jan Echternach, applied & checked in by
Mark Wedel, 4/12/2000
12 lines of code changed in 1 file:
server/apply.c, server/monster.c: Fix in apply.c for encounter maps
so that proper message is generated, and differentiate behaviour if it
is a floor vs not a floor. Also, change to both files in that apply_below
stops at the floor object. Patch by Jan Echternach, applied & checked in by
Mark Wedel, 4/11/2000
21 lines of code changed in 3 files:
server/apply.c, doc/crossfire.doc: Fix to prevent server crashes when monster
applies poison object. doc file is updated to include accurate information on
values in poison object. Patch by Jan Echternach, applied & checked in by
Mark Wedel, 4/11/2000
25 lines of code changed in 3 files:
Updated for people who have CVS Access. Should also be more
accurate of who current developers are compares to past developers.
MSW 4/6/2000
25 lines of code changed in 1 file:
CREDITS, server/main.c: Add Peter Gardner to list of credits.
Mark Wedel 4/4/2000
43 lines of code changed in 3 files:
Updated for changes to fire_swarm() arguments. Mark wedel 4/4/2000
5 lines of code changed in 1 file:
server/spell_util.c:
New argument of fire_swarm() to specify whether it's a magic attack.
All swarm spells except meteor swarm are now magic (just as the
underlying basic spell).
New function fire_arch_from_position() which doesn't use the owner's
position as the starting position of the fired arch.
move_swarm_spell(): Correctly set owner and magic in call to
fire_arch_from_position().
(-> "cause many wounds" is working now)
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000
39 lines of code changed in 1 file:
server/spell_effect.c, magic_wall():
Fix calculation of duration of darkness spell. Before, you could get
huge negative speed values with high experience levels, which meant very
short duration.
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000
3 lines of code changed in 1 file:
server/attack.c, attack_message():
More messages. "grind to dust" is more damage than "shred to pieces".
Patch by Jan Echternach, applied & checked in by Mark Wedel, 4/4/2000
15 lines of code changed in 1 file:
server/apply.c, improve_armour():
Maximum armour value reduced to 90. Items can now always be improved up
to this value. For armour x you need level x, not level x + 1 as before.
esrv_send_item() and fix_player() also called if only magic value was
improved. Patch by Jan Echternach, applied & checked in by Mark Wedel,
4/4/2000
22 lines of code changed in 1 file: