--- crossfire/lib ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: Makefile.in
Revision 1.86quinet 2006/08/25 16:27:59 +10 -4
configure, aclocal.m4, utils/config.guess, utils/config.sub,
utils/ltmain.sh, include/autoconf.h.in, */Makefile.in: regenerated using
slightly newer versions of libtoolize, aclocal, automake and autoconf.
Show difference between Revision 1.85 and 1.86
Revision 1.85qal21 2006/08/09 22:07:23 +1 -1
Remove references to regions from makefiles.
Show difference between Revision 1.84 and 1.85
Revision 1.84akirschbaum 2006/06/06 16:38:41 +3 -2
Add commands rules and news to display the rules/news files.
Show difference between Revision 1.83 and 1.84
Revision 1.83tchize 2006/06/01 14:07:08 +1 -1

Fixed error in build process regarding unit test.
Our modularization is way broken, with have intredependent .a files, this should be solved.
Applied a compilation workaround suggest by gnu, twice every .a at link time. Applied an automake
workaround as we need to pass --preserver-dup-deps to autotools and to do this only current CVS
version can do it without a bit i hacking. Applied Hacking suggested by automake mailing list.
Show difference between Revision 1.82 and 1.83
Revision 1.82ryo_saeba 2006/05/05 04:25:18 +1 -1
First part of patch #1453869 courtesy Stefan Huehner (shuehner)
Show difference between Revision 1.81 and 1.82
Revision 1.81tchize 2006/05/03 16:50:24 +6 -0


Added autogeneration of html and text report for test process.
Show difference between Revision 1.80 and 1.81
Revision 1.80tchize 2006/03/22 17:06:46 +1 -0

updated configure.ac to automatically check availability of a few headers required by crossedit
Basically, it tries to compile a test code having only includes of xaw, posix, etc. Should be
enough to prevent most crossedit compilation issue but not perfect. (Should check version of lib and
try a few methods on them). crossedit/ and test/unit/crossedit are skipped by make if test fail.
Show difference between Revision 1.79 and 1.80
Revision 1.79tchize 2006/03/21 16:46:05 +4 -0

Initial commit of unit tests (see doc/Developers/testplans)
This is it, initial commit of unit test framework. It contains empty testcases
for all unit tests. See test/unit/check_shstr.c for a completed example unit test :)
Show difference between Revision 1.78 and 1.79
Revision 1.78mwedel 2006/02/25 02:41:48 +2 -2
*/Makefile{in.am}: Fix plugin makefiles so that 'make distcheck' works. Using
relative path names for files to include in distribution does not work -
need to have a makefile in each directory.
configure{.ac}: Updated as result of new Makefiles.
MSW 2006-02-24
Show difference between Revision 1.77 and 1.78
Revision 1.77cavesomething 2006/02/09 20:17:02 +3 -3
make the dm stats command print Int and damage, display in sequential order, and add a help file for the command
Show difference between Revision 1.76 and 1.77
Revision 1.76ryo_saeba 2006/02/08 15:41:54 +2 -1
Add DM command insert_into <where> <what>
Show difference between Revision 1.75 and 1.76
Revision 1.75akirschbaum 2005/11/05 04:17:18 +1 -1
aclocal.m4, configure, utils/config.guess, utils/config.sub, utils/ltmain.sh,
*Makefile.in, plugins/cfanim/Makefile, plugins/Makefile: Rebuilt.
Show difference between Revision 1.74 and 1.75
Revision 1.74gros 2005/10/18 11:54:31 +1 -1
Upgrade of the Crossfire server to version 2.0 of the plugin interface.
Upgrade of the Python plugin to version 2.0 of the plugin interface.
Gros - 18/10/05
Show difference between Revision 1.73 and 1.74
Revision 1.73qal21 2005/10/15 02:07:31 +1 -1
Add directory in preparation for template (where the template can be from the random map generator) maps.
Show difference between Revision 1.72 and 1.73
Revision 1.72akirschbaum 2005/09/09 16:09:40 +1 -1
Allow a DM to cast spells and prayers in no-magic/no-prayer areas. Add new
command "wizcast" to toggle this setting.
Show difference between Revision 1.71 and 1.72
Revision 1.71akirschbaum 2005/08/15 18:08:33 +1 -1
lib/Makefile.am, lib/Makefile.in: Actually install help file for showpets.
Show difference between Revision 1.70 and 1.71
Revision 1.70akirschbaum 2005/07/20 03:18:08 +2 -1
lib/Makefile.am, lib/Makefile.in, lib/help/whereabouts: Add help for
whereabouts command.
Show difference between Revision 1.69 and 1.70
Revision 1.69akirschbaum 2005/07/16 17:05:54 +0 -1
Remove non-existent file from list of help files to install.
Show difference between Revision 1.68 and 1.69
Revision 1.68akirschbaum 2005/07/16 13:13:52 +15 -7
*Makefile.in, aclocal.m4, configure: Rebuilt generated files.
Show difference between Revision 1.67 and 1.68
Revision 1.67mwedel 2005/07/08 20:03:41 +6 -3
configure.ac, configure, aclocal.m4, */Makefile.in: Add AM_MAINTAINER_MODE
macro to configure.ac - this should hopefully supress auto regeneration of
makefiles.in
MSW 2005-07-08
Show difference between Revision 1.66 and 1.67
Revision 1.66mwedel 2005/07/08 19:03:08 +213 -121
Commit updated makefiles so files these depend on have been updated
(aclocal/include).
MSW 2005-07-08
Show difference between Revision 1.65 and 1.66
Revision 1.65tchize 2005/05/29 10:37:53 +1 -1

MOTD now splitted in 3 files: rules, news and motd.
They are sent on connection to client in this exact order.
Show difference between Revision 1.64 and 1.65
Revision 1.64tchize 2005/05/06 16:10:16 +120 -212

added a new command to identify the type of text send to client.
media tags can be included inside them. Those text types include
scrolls, books, message of the day, signs, aso.
See protocol doc for details
Show difference between Revision 1.63 and 1.64
Revision 1.63mwedel 2005/03/22 01:28:22 +3 -3
Update Makefile.in so that it will install the regions file.
MSW 2005-03-21
Show difference between Revision 1.62 and 1.63
Revision 1.62akirschbaum 2005/03/09 13:17:52 +217 -117
*Makefile.in, aclocal.m4, configure, utils/config.guess, utils/config.sub,
utils/ltmain.sh: Rebuild generated files.
Show difference between Revision 1.61 and 1.62
Revision 1.61akirschbaum 2004/12/10 03:34:08 +1 -1
Use correct filename 'server_speed'.
Show difference between Revision 1.60 and 1.61
Revision 1.60temitchell 2004/08/29 11:43:20 +1 -1
- add new directory for datafiles to local dir (var/crossfire/datafiles)
Show difference between Revision 1.59 and 1.60
Revision 1.59mwedel 2004/06/14 23:12:42 +1 -1
Remove the 'name' help file. No command exists.
MSW 2004-06-14
Show difference between Revision 1.58 and 1.59
Revision 1.58mwedel 2004/05/20 00:49:52 +1 -1
include/book.h: Increase the size of BOOK_BUF, so inscribed books can hold
more informatin.
lib/Makefile.am, lib/Makefile.in: Add the 'rename' to the list of help
files.
lib/archetypes: update the glyph/rune spells to have proper face.
lib/bmaps, lib/crossfire.* - add glyph.111 image.
server/gods.c: Modify tailor_god_spell() to look harder to find a god -
necessary for glyph spells.
server/spell_attack.c: Give players 50% of exp for monsters they charm.
MSW 2004-05-19
Show difference between Revision 1.57 and 1.58
Revision 1.57mwedel 2004/04/27 02:35:33 +1 -1
Re-add bmaps.paths to list of files to include in distribution. While
it is not needed by the target, if it is missing, the makefiles try to
rebuild it, which it may not be able to do.
MSW 2004-04-26
Show difference between Revision 1.56 and 1.57
Revision 1.56mwedel 2004/04/27 02:08:32 +29 -49
configure, Makefiles: Rebuilt for 1.6.0 release
doc/*/Makefile.am: Modified to use one makeps.pl utility in scripts directory.
doc/scripts/makeps.pl: Make this the definitive copy - fix problem with it
trying to combine big images when it doesn't need to. Remove other copies.
doc/playbook/chap1.tex, doc/playbook/chap5.tex: Fix some obvious errors,
but overall, the playbook is still quite out of date.
doc/playbook/treas2-extract: Have it not include abilities in given items,
have it properly deal with multiple underscores in arch names.
doc/spoiler-html/spoiler.html, doc/spoiler.ps: Rebuilt
MSW 2004-04-26
Show difference between Revision 1.55 and 1.56
Revision 1.55tanner 2004/03/04 17:46:53 +27 -6
Make the .pl (perl scripts) be installed 755.
Show difference between Revision 1.54 and 1.55
Revision 1.54mwedel 2004/01/21 02:13:31 +253 -99
Rebuilt with up to date aclocal/automake/autoconf so that they all work
properly.
MSW 2004-01-20
Show difference between Revision 1.53 and 1.54
Revision 1.53tchize 2004/01/18 04:51:04 +99 -253


Rebuilded Makefile.in using autogen.sh because of recent add of a file in server/
Also rebuilded loader.c for linux because loader.l was modified by a windows developper.
Show difference between Revision 1.52 and 1.53
Revision 1.52mwedel 2003/10/01 01:55:17 +1 -0
utils/player_dl.html utils/player_dl.pl.in: New files - scripts for allowing
character directories to be downloaded over the web.
configure.ac: Add check for 'tar', so that we can put it in the script above.
Makefile.in (All of them): Changed because TAR variable propogated to them.
MSW 2003-09-30
Show difference between Revision 1.51 and 1.52
Revision 1.51mwedel 2003/09/23 00:21:28 +37 -92
Add conditional compilation to the stop level Makefile.am so that it
only tries to compile crossedit if we have X libraries. Also, rebuild
the files with older version of aclocal/autoheader/automake, so it
shouldn't have as many troubles with some peoples systems.
MSW 2003-09-22
Show difference between Revision 1.50 and 1.51
Revision 1.50mwedel 2003/09/13 00:01:34 +4 -0
Updated code for skill + spell code. skills and spells are now objects.
tuning these now means changing the archetypes. New spells can now
be added just by making a new archetype. Lots of code cleanup
also done.
MSW 2003-09-12
Show difference between Revision 1.49 and 1.50
Revision 1.49temitchell 2003/07/25 21:10:40 +1 -1
- addition of Banish command. This ad a new file for ban.c to check in
var called banish where banished IPs are stored.
- modified kick command to kill the socket and really kick the player.
- touched up the get player by name so the messages are more generic.
Show difference between Revision 1.48 and 1.49
Revision 1.48tchize 2003/06/19 05:59:28 +90 -37

Added support for smoothing to the client.
This will allow (i hope) better graphical results while using very
little bandwidth overhead.
Changes done follows:
- Added protocol command MapExtendedInfos and smooth commands to server
- Added a SetUp paramater in protocol for activating smoothing
(disabled by default) or more general Extended map infos
- Added file lib/smooth a text file containing some smoothing info a
client might ask the server about.
- Changed loader.l to be able to mark an object as 'smoothed' in
archetypes (the smoothlevel parameter) and rebuild loader.c
accordingly
- Changed lib/Makefile.am to install lib/smooth file in shared folder
- Rebuild the Makefiles.am and the Configure script (using autogen.sh)

To be able to smooth, A client commit (the common part+ the gtk part)
will follow and an archetypes commit will also follow.

I will also detail changes to the protocol within a few days
Server has been tested with older client to check backward compatibility
Show difference between Revision 1.47 and 1.48
Revision 1.47mwedel 2003/05/26 23:37:00 +6 -2
lib/collect.pl.in: Modify it so that it will collect .trs (treasure) files and
build a treasures.bld from that as well as the existing treasures file. In
this way, treasure information for objects can be put in the arch
directory.
lib/Makefile.am, Makefile.in: Modified so that it copies over the
treasures.bld to treasures in the destination directory. Have
the collect directive also build the images, so that a double
make isn't necessary.
lib/treasures.bld: Added file - like the archetypes, this is the pre-
build treasure file. Until .trs files are added, this will just
match the treasures file with some additional comments.
MSW 2003-05-26
Show difference between Revision 1.46 and 1.47
Revision 1.46mwedel 2003/04/02 02:12:53 +2 -2
TODO: Various updates
aclocal.m4,configure: Update path to find python (fix again)
common/image.c: Minor update to a ocmment in the code.
common/los.c: Add missing P_OUT_OF_MAP checks that resulted in some incorrect
LOS calcuations.
include/funcpoint.h: Remove draw_func function pointer.
lib/Makefile.am, in: Remove bmaps.paths to from being installed or being part
of distribution - bmaps.paths is only needed when collecting the image
lib/*: Rebuilt
server/c_object.c: Patch by Bernd Edler to have the apply functions take into
acount if the item is equipped or not when looking for good matched items.
server/commands.c: Move printlos to normal commands. I don't think it reveals
any information that is in any way harmful. And since it dumps the
output to the players screen, no concern of it filling up log files.
Also, when doing LOS debugging, it is pointless to have it as a DM command
because LOS is ignored for DM's.
server/disease.c: Modify remove_symptoms to remove all symptoms the player
may have a disease. Modify infect_object() to not allow a creature to
have more than one instance of the same disease.
socket/info.c: remove draw() - instead, draw_client_map() can be used,
as that is most the only thing draw() did anyways.
socket/loop.c: Update draw() calls to draw_client_map()
socket/request.c: Remove special handling for darkness==4 cases (first
space that is in full darkness) - this is extra complications and causes
display problems. Update draw_client_map() to include the little bit
of logic that draw() had that this function did not have.
MSW 2003-04-01
Show difference between Revision 1.45 and 1.46
Revision 1.45mwedel 2003/02/25 02:15:39 +4 -2
Fix lib/Makefile.am - some lines got split/joined that should not
have been.
Rebuilt some of the doc files.
MSW 2003-02-24
Show difference between Revision 1.44 and 1.45
Revision 1.44mwedel 2003/02/25 01:18:07 +2 -2
*/Makefile.in, related files: Updated for 1.5.0
server/attack.c: Don't change weak wall image if no damage was actually done.
server/c_object.c: Include math.h - needed for pow()
server/spell_effect.c: fix infinite loop in town_portal
MSW 2003-02-24
Show difference between Revision 1.43 and 1.44
Revision 1.43garbled 2003/01/29 18:07:06 +1 -1
New materialtype system for crossfire. Based in concept on my original
design, but rewritten from scratch to make it easily extensible.

In a nutshell:

Each of the old materialtypes (metal, glass, stone, wood) are now a class
of materials. When an item in the game is created, if it does not have a
specific materialname of it's own, a materialname is generated randomly
from the matching entries in the "lib/materials" file. This file
contains all of the saving throws, and other material specific
modifications for each of the expanded materials.

Materials can be manually specified in the arch with the "materialname"
directive. Such as the gold coins, which are specified to be made of,
you guessed it, gold.

Saving throws have been slightly rewritten to use the new materialtypes,
and a few other minor details associated with materialtypes have been
patched up.

Adding a new type of stone or wood, is as simple as adding a new entry in
the lib/materials file. The game will automatically start distributing
them around randomly.
Show difference between Revision 1.42 and 1.43
Revision 1.42mwedel 2003/01/02 01:05:30 +36 -89
Rebuild automatically generated files, as they had become out of
data.
treasures: Remove some extra 'mores' before the end of the lists for
the pet monster tresurelists that were causing warnings at server
startup.
Makefile.in - rebuilt, my config is somehow different that it doesn't like
the .in file built previously.
MSW 2003-01-01
Show difference between Revision 1.41 and 1.42
Revision 1.41tchize 2002/12/31 07:36:49 +89 -36

Added crossfire-config to the build list of the configure.ac and regenerated the Makefiles and
configure.in to handle it
Show difference between Revision 1.40 and 1.41
Revision 1.40mwedel 2002/09/28 02:19:39 +1 -1
Mostly bugfixes, but the addition of a wiz 'hide' command which makes the
wiz out of sight so to speak.
--
common/loader.l, common/loader.c: Fix bug where flag values were being saved
with actual value of the flag (eg, 32768, 16, etc) instead of 1/0 value -
Code effectively worked the same, just was a bit odd looking at save files.
include/player.h: Add hidden element to player structure.
include/sproto.h: Add command_hide(), update proto for players_on_map()
lib/Makefile.am, lib/Makefile.in: add wizhelp/hide file.
server/apply.c: Add error checking to converts so it doesn't crash if the
converter doesn't have a proper other_arch. Modify shopmats so that they
don't transport spell effects, like fireballs an burning hands.
server/attack.c: Modify code so players can drain other players exp.
server/c_misc.c: Modify various functions to not show info on hidden DM.
server/c_wiz.c: Add command_hide(), clean up command_invisible() a bit.
server/commands.c: Add hide command to dispatch table.
server/main.c: Add code to not update players on map for hidden dm.
server/player.c: Give hidden dm perpetual invisiblity.
server/skills.c: Only get exp if you actually stole an item - fixes abuse
whereby players who couldn't carry item could continually 'steal' it from
monster and just gain exp.
server/swap.c: modify players_on_map() to take addition arg to determine if
real players on map should be shown, or if we shouldn't count hidden dms.
socket/info.c: Modify code so that oldsockets don't get reports on high verbose
messages.
socket/metaserver.c: Modify metaserver update to not include hidden dms.
utils/Makefile.in: update datestmp.
MSW 2002-09-27
Show difference between Revision 1.39 and 1.40
Revision 1.39mwedel 2002/09/11 01:21:46 +1 -1
INSTALL: Update directions with new automake method.
common/Makefile.am, common/Makefile.in: Fix code for building the libproto.h
file - it was including loader.l and not loader.c
common/exp.c: Add init_experience() and dump_experience() functions -
init_experience() loads the experience table from a file. Add default
experience table into this file
common/init.c: Add call to init_experience()
common/living.c: Remove experience tables - players can select the one they
want by changing the exp_table file. Remove reference to new_levels[] -
only levels[] is used now for the formentioned reason.
include/config.h: Update notes about SIMPLE_EXP system.
include/libproto.h: rebuilt.
lib/Makefile.am, lib/Makefile.in: Add exp_table to list of files.
lib/exp_table: New file that contains experience information.
server/c_object.c: Modify command_take() to look for objects above the player
to pick up, then objects below. This fixes the bug with not being able
to use the take command on items from a chest the player opens without
moving off the space.
server/init.c: Add -mexp dump switch to dump the experience table. Allow
the simple experience system to be set in the settings file.
server/skill_util.c: Fix oddness in calc_skill_exp() which could result
in add amounts of exp given.
MSW 2002-09-10
Show difference between Revision 1.38 and 1.39
Revision 1.38mwedel 2002/09/07 17:08:07 +427 -164
Automake patch - all files.
The changes for the source files is using confdir instead of
datadir.
Patch by Jacek Konieczny (jajcus@bnet.pl), applied by Mark Wedel,
2002-09-07.
Show difference between Revision 1.37 and 1.38
Revision 1.37mwedel 2002/09/07 16:41:20 +2 -1
include/sproto.h: rebuilt
lib/help/killpets: New file
lib/Makefile.in: Add help/killpets file.
server/c_misc.c: Add command_kill_pets().
server/commands.c: add killpets command which kills your pets.
server/monster.c: Add some code in check_enemy so that the enemy
has to be a monster/generator/player to be considered valid -
I was seeing things like arrows ending up as target enemies.
MSW 2002-09-07
Show difference between Revision 1.36 and 1.37
Revision 1.36mwedel 2002/07/17 23:45:35 +1 -0
Add dm command 'freeze' which freezes a player from doing anything for some
amount of time.
include/sproto.h: rebuilt.
lib/Makefile.in: Add freeze to wizhelp files.
lib/wizhelp/freeze: New file.
server/c_wiz.c: Add command_freeze(). Also, break out
get_other_player_from_name() - several functions need the same logic
of getting a player named X that is not us - making it a function
reduces the duplicate code. Fix some formatting for some functions.
server/commands.c: Add command_freeze to the dispatch table.
MSW 2002-07-17
Show difference between Revision 1.35 and 1.36
Revision 1.35mwedel 2002/07/16 00:21:24 +3 -0
lib/Makefile.in: add a 'archonly' directive that only collects archetypes
and doesn't collect images.
lib/archetypes: rebuilt for fixes made to arches.
lib/collect.pl.in: modified to take second parameter -ARCHONLY, that causes
it not to save out animation, bmaps and faces file.
server/apply.c: Change order of print when applying/unapplying - print out
the 'you apply/unapply' before we print out the changes that applying
the item does. It seems odd for it to be 'you feel stronger. you apply
xyz'. Fix can_apply_object() so that if a player needs to unapply
several items, the right return code is returned and we don't say
the player has a choice.
server/player.c: Fix missing clearing of player->next.
MSW 2002-07-15
Show difference between Revision 1.34 and 1.35
Revision 1.34mwedel 2002/07/14 23:57:12 +2 -1
-- Start body commit notes --
Major commit. This adds body locations which is used for equipping items.
Equipment has information which body part it gets equipped to, and monsters
have information on how which body locations they can have.

As part of this work, I also did a lot of code cleanup.

To use this, you must use up to date archetypes - the ones included
in this commit are fine - just make sure you install them. If
you don't, players will not be able to equip items.

common/arch.c: Initialize body_used to be same as body_info for
archetypes - this way when monsters are created, they can
start equipping items right away.
common/exp.c: update new_exp() - some flags it checked for before no longer
exist or have new names.
common/info.c: describe_item() now takes second parameter - update
dump_abilities to use new calling convention.
common/item.c: Add table that describes the body_info locations and
their names. Add functions that calculate item power for objects
that don't have it set. Update display functions to show
item_power in items. Update describe_monster() - use_horn/wand/rod
merged into just use_range. Modify describe_item() to take second
paramater - who the item is being described for. Show item_power
in describe_item.
common/living.c: Pull out MAXLEVEL from being defined in this file -
define in in define.h, since other files use it. Add NUM_STATS
define - replace hard coded values of having just 7 stats with it.
Update change_abil to not display that the player has a new
attacktype when equipping a bow that has it - fix_player() ignores
the attacktype of the bow, so it was incorrect information.
fix_player(): Initialize player ranges structure to null -
will get filled in by code in function, updated to deal with
updating the body_used data from body_info in the objects.
Replace instances of last_heal with gen_sp_armour. Rearrange
some code to make function more readable.
common/loader.c, common/loader.l: Remove the variable_const information - no
longer needed and confusing for new people when adding in new object
elements. Add set_body_info() - parses the string from the load file and
sets the appropriate array element. Add check_loaded_object() - does
sanity checking for an object after finished loading - replaces need for
long processing directive in the actual rules by having seperate function.
Remove unused flags from load directives (apply_once, no_pretext,
can_apply), add some new ones (item_power, gen_sp_armour), update others
to can_use_range. Replace flag_links with simple array that contains the
name for each corresponding flag. Update get_ob_diff to not use the V_
values and just include the actual string name - all recent changes have
done this, just updated for old stuff. Update get_ob_diff to save new
values that have been added.
common/object.c: clear_object: Modify to use memset to clear
the structure to zero - this is less error prone than listing
all the specific values, and probably faster. Also, makes it
easier to add new elements - no need to update object.c in most
cases.
common/player.c: Remove get_player_ob routine - this is now merged
in with get_player_ob in server/player.c. Remove generate_ext_title -
not used.
common/readable.c: Update to pass second argument to describe_item.
common/treasure.c: Update to calculate item_power of generated items.
Clean up a lot of code formatting. Update add_abilities
to use gen_sp_armour values, not last heal (note, it appears
the last_heal values weren't being used before). Update
calls to describe item to take second parameter.
doc/Developers/objects: Update will_apply notes, add note about
item_power, body location.
include/define.h: Comment out unused flags (flag_apply_once, flag_paralyzed,
flag_no_pretext, flag_ready_rod, flag_read_horn). Add flag_use_shield.
rename flag_use_wand to flag_use_range. rename flag_ready_wand to
flag_ready_range. Add flag_ready_scroll. Update ARMOUR_SPELLS access
macro. Add AP_PRINT flag to apply flags. Add CAN_APPLY_.. return types
for can_apply_object function.
include/includes.h: add strftime, mktime checks to this file.
include/libproto.h: rebuilt.
include/living.h: Add NUM_STATS define, update extern declarations
to use it for sizing.
include/loader.h: remove the V_.. info and xbm_.. externs that were not
used.
include/newserver.h: Remove ext_tile information.
include/object.h: Add Body_Locations structure, NUM_BODY_LOCATIONS define.
Add definitions for WILL_APPLY values. Clean up object structure -
formatting is now consistent, ordering of values groups values
together more logically. Update all types to use the int8/int16/int32
types. Several unused fields removed.
include/player.h: Update rangetype enum. Add unapplymode enum.
Clean up player structure - type updates, unused fields removed,
formatting fixed up.
include/spells.h: remove range_name extern. Update SpellTypeFrom
field to combine wand/rod/horn into spellMisc - none of the
spell casting code was differentiating these.
include/sproto.h: rebuilt.
lib/Makefile.in: Add new help files (applymode, bind, brace)
lib/archetypes: rebuilt for body_info, gen_sp_armour, item_power,
can_use_shield information.
lib/artifacts: updated for item_poer and gen_sp_armour changes.
lib/treasures: remove unused _force for player treasure.
plugin/plugin_python.c: Change FLAG_USE_WAND to FLAG_USE_RANGE.
server/apply.c: Move stftime, mktime to include/includes.h. Remove
draw_find() - one line function can just as easly be in the
code itself. Update calls to long_desc to pass second parameter.
move gravestone_text() to player.c file. Add direction parameter to
apply_scroll() - in this way monsters can use it properly.
Remove dead code. Update apply_special function. Add
unapply_special(), get_item_from_body_location(), unapply_for_ob(),
and can_apply_object() functions.
server/attack.c: Remove SET_FLAG(op, FLAG_PARALYZED) line - no code
was ever checking status of FLAG_PARALYZED.
server/c_misc.c: add command_body() which dumps body information for
player. Update who as idle element in player structure removed -
was not being used by anything. Add command_applymode() to
set players prefered unapply method. Remove calls to unlock_player()
in various functions - unlock_player() has not done anything
meaningful for a while.
server/c_object.c: Modify long_desc to take a second parameter
which is who is examing the object. this is needed so that we
can pass it down to some of the lower level functions.
Update calls to describe_item to pass this second parameter.
remove FLAG_NO_PRETEXT code - no archetyps were using it. When
examining objects, also tell player where to put them on.
server/c_range.c: Update legal_range() - we now store the object that
is responsible for a range in the player object, so code is
much simpler. Update change_spell() to not destroy golem
just by readying another spell - we now let players regain control
of golems after switching to another range. Update change_spell
to use item name of object for range description.
server/c_wiz.c: remove reference to count_left from player object -
field removed from structure.
server/commands.c: add new commands (applymode, body) to command dispatch
table.
server/login.c: Remove unlock_player() and lock_player() and calls to it -
current checking of names at login should be sufficient to
prevent duplicates. Remove dead code from check_name. Update
load/save code for unapply mode value. Add set_flag(op,
FLAG_USE_SHIELD) if player is allowed to use armor - needed since
flag_use_shield is really a class feature and so is not automatically
updated for old player files.
server/main.c: Remove references to count_left. memset marker object to
NULL - seems to increase stability on metalforge server.
server/monster.c: Many updates related to the body info - monsters follow some
rules as players. Add monster_should_cast_spell function - monsters will
use this for all spellcasting related actions (abilities, scrolls, wands,
etc). Update for merged rod/horn/wand ranges. Update bow use by monsters
- they don't actually need to equip it to fire - this way we don't need to
constantly swap the monsters weapons between the bow and melee item. Use
fire_bow from player.c for most of the work. Modify scroll usage -
monster will use it when player is near, not when it first picks it up.
Add FLAG_READY_SCROLL to denote the monster has a scroll to use. Also,
monster now casts it in appropriate direciton. Merge the
monster_use_wand/rod/horn into monster_use_range. Modify
check_good_weapon and check_good_armour to just look at the stats of the
two items without needing the monster to apply it first.
server/player.c: Print motd in green so it is more noticable. Update
get_player function to do work it did before as well as that of
get_player_ob. Have get_player take a parameter which is the object of
the player if he has one. Modify to use memset to clear the player
structure - more sure fire than explicitly listing values to initialize.
Remove calls to unlock_player. Modify fire_bow so that monsters can also
use the function. Add fire_misc_object() to fire_wand/rod/horn - removes
code from fire(). Add gravesetone_text() to this file.
server/shop.c: Update to pass second parameter to describe_item().
server/skill_util.c: Update check_skill_to_fire since there are fewer
rangetypes now. change range_scroll name to range_golem, as that is
a bit more accurate for what it actually does. Modify show_skills()
to show player his item power and total of items he has equipped.
server/skills.c: Add second paramater to long_desc, remove references to
count_left.
server/spell_effect.c: Add second paramater to long_desc, remove references to
count_left. Update range_scroll to range_golem
server/spell_util.c: remove references to count_left. Update messages
if player trying to cast where he can't with new range names.
socket/info.c: Update range information and how we display what it is -
we will use the object name of the range if available. Remove
reference last_known_spell, last_shoot, last_spell, last_value
player structure fields.
socket/init.c: Remove ext_title information.
socket/request.c: Add element for life_stealing in the resistance array.
Remove references to idle, count_left in player structure. remove
ext2 title information.
MSW 2002-07-14
-- End body commit notes --
Show difference between Revision 1.33 and 1.34
Revision 1.33uid39786 2002/07/05 17:22:29 +2 -1
common/arch.c: Add 'unlocked' match for item_matched_string.
lib/help/drop, lib/help/dropall: Help files for these commands.
lib/Makefile.in: Update to include help commands above.
server/spell_effect.c: Fix formatting of summon_pet() function. Modified so
that it no longers sucks player spellpoints when casting it via scroll -
scrolls should not cast the player spellpoints. No idea why that code was
there - in fact, casting off a scroll used more sp than casting from
memory. Modify cast_cause_disease() function so that if the passed
direction is 0, we refer to the facing and cast in that direction - this
means spells of cause disease now work. Also perform some minor formatting
changes in the function.
TODO: Add not about inscription.
MSW 2002-07-05
Show difference between Revision 1.32 and 1.33
Revision 1.32mwedel 2002/07/01 18:04:10 +1 -1
socket/request.c: If players were using the original map command with
an even map size, server would try to send too much data to client -
checking in server would result in an abort. Modify code to now properly
send right number of spaces.
lib/Makefile.in: remove extraneous / in front of motd entry in file list.
include/version.h: Update for version 1.3.0
Makefile.in: Update for version 1.3.0
lib/archetypes: rebuilt.
MSW 2002-07-01
Show difference between Revision 1.31 and 1.32
Revision 1.31mwedel 2002/07/01 03:00:29 +1 -1
lib/Makefile.in: Fix error in variable not being surrounded by parens.
MSW 2002-06-30
Show difference between Revision 1.30 and 1.31
Revision 1.30mwedel 2002/06/15 01:22:38 +17 -7
lib/Makefile.in: modified so that it doesn't overwrite commonly customized
files (eg, motd, dm_file, ban_file). These files will get installed
on new installations.
MSW 2002-06-14
Show difference between Revision 1.29 and 1.30
Revision 1.29mwedel 2002/04/28 22:56:15 +10 -1
Changes for 1.2.0:
Makefile.in, include/version.h: Update for 1.2.0 release
lib/Makefile.in: have it make an archive for the archetypes.
MSW 2002-04-28
Show difference between Revision 1.28 and 1.29
Revision 1.28jbontje 2002/03/21 08:43:39 +3 -3
Oops, forgot adding the 'faces' directive
mids 2002-03-21
Show difference between Revision 1.27 and 1.28
Revision 1.27jbontje 2002/03/21 08:40:51 +1 -1
Add install of faces file.
Thanks to Lord_Devi for reporting this.
mids 2002-03-21
Show difference between Revision 1.26 and 1.27
Revision 1.26mwedel 2002/03/20 00:27:46 +3 -0
Updates for 1.1.0 release - pretty much all minor bug fixes, like
compiler warning messages, invalid ANSI C constructs, missing files to
include in the distribution.
Makefile.in, include/version.h: update version.
include/Makefile.in: Add some missing files
include/libproto.h, sproto.h: rebuilt to prevent compiler warnings
lib/Makefile.in: Include the wizhelp files in the archive.
server/apply.c, server/skill_util.c: fix invalid code (function parameter
names can't match structs/typedefs), add a missing return value.
server/c_move.c, server/c_new.c, server/c_object.c, server/commands.c,
server/daemon.c: Don't include the sproto.h if CEXTRACT is defined.
server/plugins.c: fix printf command that was printing wrong value type.
doc/spoiler-html/Makefile.in: Remove extraneous newline
Show difference between Revision 1.25 and 1.26
Revision 1.25tanner 2002/02/14 18:54:46 +2 -2
Replaced hard coded perl with @PERL@ which is what configure finds for you.
Show difference between Revision 1.24 and 1.25
Revision 1.24mwedel 2002/02/05 23:54:46 +3 -4
common/map.c: load_map_header: If the map message is empty, don't copy
uninitialized data as the message. This fixes various crashes.
lib/Makefile.in: Remove the adm/*xpm* utilities, as they are no longer
needed or distributed.
server/apply.c: set the player speed to zero after they use a savebed.
Fixes crashes with players that have constant image animation (fireborns)
when they apply the savebed and the map then gets swapped out.
server/plugins.c: Fix some serious memory leaks. Some still remain, with
my comments included.
server/skills.c: Removed unused variable.
MSW 2002-02-05
Show difference between Revision 1.23 and 1.24
Revision 1.23jbontje 2002/01/17 16:44:46 +3 -2
Add helpfile for teleport. mids 2002-01-17
Show difference between Revision 1.22 and 1.23
Revision 1.22garbled 2002/01/04 01:36:10 +28 -0
Fix the makefile up to install the wizhelp, and remove an accidentally
committed file.
Show difference between Revision 1.21 and 1.22
Revision 1.21mwedel 2001/12/31 02:35:48 +9 -8
This change lets the server have multiple image sets. The client
can then request which image set to use, and the server will use
that image set, falling back to other sets as necessary. I have tested
this with CVS client, and works fine at least in terms of old functionality.
=
doc/Makefile.in: Add images file which describes image guideline.
doc/Protocol: Various updates - some things missing, added other notes
about facesets.
doc/images: New file, describes guidelines for image sets, as well
as some of the internals
include/newserver.h: Update for multiple image set - redid most of the
image definitions as they were out of date with only png being supported.
include/sockproto.h: rebuilt
lib/Makefile.in: remove crossfire.png, add crossfire.0, crossfire.0. Update
build directions to use crossfire.0 instead of crossfire.png
lib/adm/collect_images.pl: Modified to collect all the image sets, remove
support for collect xpm and xbm images.
lib/crossfire.0: new file, base images
lib/crossfire.1: new file, alternate images
lib/image_info: New file, describes image sets.
lib/crossfire.png, lib/xpmtopix.pl.in: Removed - no longer needed.
socket/Makefile.in: add image.c file.
socket/image.c: Moved all image related data in this file - this includes
loading the image files, as well as the protocol commands.
socket/init.c: move read_client_images to image.c file. set ns->faceset
and ns->facecache to 0. Move freeing of image data to image.c
socket/request.c: fixed some indentation inconsistencies.add setup commands
for faceset as facecache. Move SetFaceMode,SendFaceCmd,esrv_send_face
to image.c file.
MSW 2001-12-31
Show difference between Revision 1.20 and 1.21
Revision 1.20mwedel 2001/12/03 01:51:40 +3 -10
This checkin for the most part removes support for xpm and xbm graphics -
now the only image supported is the png.
common/arch.c: comment out printing on warning of object having no type -
getting 300 meaningless messages at startup is annoying.
common/image.c: Remove X11 color information from colorname array. Remove
processing of color_fg and color_bg information from face file - only
use color_fg if no magicmap information is available - foreground
and background infoformation was only needed for bitmap graphics.
common/loader.c, loader.l: Add elevation element, comment out some logging
messages that are excessive and only really relevant for people
who want to fix them (really should be in the collect script
anyways). Remove some unused code.
common/map.c: add outdoor field to map structure - add support for loading
and saving it.
crossedit/App.c,crossedit/CrUtil.c, crossedit/Defines.h, crossedit/crossedit.c
crossedit/xutil.c: Remove support for non png graphics.
crossedit/Attr.c: Add support for elevation variable, remove code for non
png graphics.
doc/map-technical: Add note about outdoor field.
include/face.h: remove fg, bg fields from face struecture.
include/global.h: Update colorname array definition.
include/loader.h: Add V_ELEVATION field.
include/map.h: Add outdoor field to map structure.
include/newserver.h: Update types so it only loads/knows about png information.
include/object.h: Add elevation field to object structure.
lib/Makefile.in: Remove support for building crossfire.xpm and crossfire.xbm
files.
lib/animations, lib/archetypes, lib/bmaps, lib/bmaps.paths, lib/crossfire.png,
lib/faces: Rebuilt. Main difference is a few sea types, and the fact
that it hadn't been collected for a while.
server/spell_effect.c: Modify dimension door so that it calls MapNewmapCmd
so that fog of war does not get confused. Also, removes call to
draw as functions further up will do that.
server/spell_util.c: Remove color information from attack information that
shuffle_attack uses.
socket/init.c, socket/request.c: Remove support for non png images.
MSW 2001-12-02
Show difference between Revision 1.19 and 1.20
Revision 1.19garbled 2001/10/07 02:21:53 +2 -1
Modify the changes file to reflect the attackmessage stuff, and add the
lib/attackmess file for loading the damage messages. Now DM's can edit
the attackmessages that the player sees.

garbled 2001-10-06
Show difference between Revision 1.18 and 1.19
Revision 1.18mwedel 2001/08/02 01:35:35 +1 -1
Fix up so that distclean now clears out all appropriate files - MSW 2001-08-01
Show difference between Revision 1.17 and 1.18
Revision 1.17mwedel 2001/07/13 23:13:05 +2 -2
Map tiling checkin. MSW 2001-07-13
Show difference between Revision 1.16 and 1.17
Revision 1.16mwedel 2001/04/27 19:47:45 +2 -1
Added collect_images.pl to files to be part of distributions.
MSW 2001-04-27
Show difference between Revision 1.15 and 1.16
Revision 1.15mwedel 2001/03/20 01:07:47 +3 -2
Updates for 0.97.0 release:
archetypes rebuilt (affecting most of the lib files)
Makefile.in modified to include some missing files to release works properly.
Most of the scripts changed because of substitution via configure.
MSW 2001-03-19
Show difference between Revision 1.14 and 1.15
Revision 1.14tanner 2001/02/15 16:05:25 +12 -4
Create BININSTALL for several of the perl files to they get installed into
${prefix}/bin instead of ${prefix}/share.

Part of making the building of a server rpm easier.
Show difference between Revision 1.13 and 1.14
Revision 1.13cvs 2000/12/03 18:40:04 +3 -3
Checking for partial resistance code. Various minor errors also fixed
(compiler warnings, unused variables, Makefile.in changes, etc).
PR code also includes support to send protections to the client.
Show difference between Revision 1.12 and 1.13
Revision 1.12cvs 2000/11/29 00:31:44 +0 -3
Remove the maps from being included in the archive release.
MSW 2000-11-28
Show difference between Revision 1.11 and 1.12
Revision 1.11mids 2000/11/25 16:09:29 +4 -0
Added the option "make distclean" in all the Makefile.in
Show difference between Revision 1.10 and 1.11
Revision 1.10pjka 2000/11/24 10:55:25 +2 -1
lib/settings was not included into the tar in 'make archive'
Show difference between Revision 1.9 and 1.10
Revision 1.9cvs 2000/11/14 01:35:05 +4 -0
metaserver update:
common/init.c: Add meta_ fields to settings structure initialization.
include/global.h: Add meta_ fields to settings structure.
include/sockproto.h: Updated for new meta_ functions.
lib/Makefile.in: Have it install settings file.
lib/settings: Default settings file with some metaserver default value.s
server/init.c: Add load_settings file. Add call to metaserver_init.
server/main.c: Add call to metaserver_update in do_specials.
socket/Makefile.in: Add metaserver.c to list of files.
socket/metaserver.c: File that deals with metaserver related data.
socket/item.c: Remove some unused variables. Unrelated to metaserver changes.
socket/loop.c: Add calls to metaserver_update in block_until_new)connection. Change
function so that if there are no active players, it still timeouts and
does metaserver update. Basically changed to do it the way the
WATCHDOG code did it.
End of metaserver update. MSW 2000-11-13
Show difference between Revision 1.8 and 1.9
Revision 1.8peterm 2000/09/26 18:55:06 +0 -1
No need to cp -r maps.
Show difference between Revision 1.7 and 1.8
Revision 1.7cater 2000/05/19 01:12:20 +1 -1
*** empty log message ***
Show difference between Revision 1.6 and 1.7
Revision 1.6cater 2000/05/19 01:08:13 +1 -1

19/05/2000 John Cater
Added srcdir to help/save - Fixed an installation problem
Show difference between Revision 1.5 and 1.6
Revision 1.5cater 2000/05/19 01:05:01 +1 -1
*** empty log message ***
Show difference between Revision 1.4 and 1.5
Revision 1.4cvs 2000/05/13 18:44:45 +8 -11
crossedit/xutil.c: Merge bitmap & pixmap load routine into one called
ReadImages, function modified to use above format.
crossedit/App.c: Call ReadImages to load images.
include/newserver.h: Change FaceInfo structure to have arrays of data
and datalength instead of explicity entries for pixmap vs bitmap data.
lib/adm/make_xpm_file.pl, lib/crossfire.cfb, lib/xbmtobdf.c: Removed -
either note needed or replaced by new naming scheme.
lib/adm/collect_images.pl: Replacement/improvement of make_xpm_file.pl
above - this handles all image formats (xbm, xpm, png). This is
also more intelligent in that it will not try to rebuild the image files
if there is not a valid arch directory.
lib/crossfire.png, lib/crossfire.xbm (new files): .png file is for png
images. xbm is to keep with the new standardized naming convention used
and is for the bitmaps.
lib/crossfire.xpm: New format used in file.
lib/Makefile.in: Modified to collect via new script as well as new
directives to collect (png files).
socket/init.c: Modified to load with the new format and data structures.
socket/request.c: Modified to send data with the new data structures
provided.
Show difference between Revision 1.3 and 1.4
Revision 1.3cvs 2000/04/22 01:06:46 +1 -1
Add help/usekeys to distribution and Makefile.in to get used.
Mark Wedel 4/21/2000
Show difference between Revision 1.2 and 1.3
Revision 1.2cvs 1999/06/19 15:51:52 +4 -1
Update lib/Makefile.in to create empty bookarch and temp.maps files as
part of install process. - msw
Show difference between Revision 1.1 and 1.2
Revision 1.1uid200 1999/04/02 13:10:04 None
Initial revision
First version
Revision 1.1.1.1uid200 1999/04/02 13:10:04 +0 -0
First CVS revsion: crossfire-0.95.3
Show difference between Revision 1.1 and 1.1.1.1


File made using version 1.98 of cvs2html by leaf at 2011-07-21 18:01