Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: configure.ac | |||
Revision 1.24 | quinet | 2006/08/25 16:23:18 | +18 -14 |
configure.ac: add option to disable unit tests, fix incorrect usage of AC_ARG_ENABLE for dmalloc, fix some typos. | |||
Show difference between Revision 1.23 and 1.24 | |||
Revision 1.23 | mwedel | 2006/06/30 00:46:52 | +2 -2 |
acinclude.m4, aclocal.m4, configure, configure.ac: Fix crossedit header detection - even when passed --with-x to configure and having all the files, it wouldn't find the headers because it didn't pass in the correct -I options for where they sit. Also, update for 1.9.1 release. MSW 2006-06-29 | |||
Show difference between Revision 1.22 and 1.23 | |||
Revision 1.22 | mwedel | 2006/05/18 00:27:43 | +4 -2 |
This commit adds support for the map2 protocol command (10 layer map). This changes how the data is stored and sent to the client. This also implements the idea of client handling map animations, so adds some object flags so that the server knows if it should let the client handle animations or not. Support for the original map protocol command is removed. --- aclocal.m4: rebuilt configure.ac: Add checks for zlib.h, libz - not used right now, but will probably be used in the future, so no reason to remove it. common/loader.l: Add client_anim_sync, client_anim_random FLAGS. common/map.c: Add add_face_layer() to set face for a layer. Redo/simplify update_position to store faces away based on layering criteria. common/time.c: Replace long pticks with a uint32, since size of a long will vary, and we now send pticks to the client as a 32 bit value. crossedit/CrEdit.c: Update the draw logic based on the fact there are more layers now. crossedit/Edit.c: Comment out some code that probably should be fixed. Replace calls of SET_MAP_FACE with SET_MAP_FACE_OBJ doc/Developers/protocol: Updated with map2, tick protocol additions. Reorganize the parameters in the setup protocol command so they are now listed in alphabetical order. include/autoconf.h.in: Add HAVE_ZLIB_H define. include/define.h: Update for the FLAG_CLIENT_ANIM values. include/face.h: Remove MapLook structure - no longer used. include/global.h: change extern type for pticks from long to uint32 include/map.h: Change MAP_LAYERS to 10. Add definitions for what each map layer is. Remove GET/SET_MAP_FACE macro - no longer used, GET/SET_MAP_FACE_OBJ replaces it. Add GET_MAP_FACE_OBJS which returns pointer to all the object info for the space. Remove faces from MapSpace structure. include/newclient.h: Update with new defines used for map2 protocol command. include/newserver.h: Change type of faces in map_cell_struct to be uint16 to be consistent. Change 'count' to 'darkness' to more accurately describe what it represents. Add MAP2_COORD_OFFSET define. Add Map2Cmd to MapMode enum. Add map_scroll_x/y to socket structure so we send those as part of map2 command. Add tick field to socket structure to know if we should send tick data to the client. server/login.c: Remove extern long pticks declaration - declared in global.h - don't need to declare it again locally. socket/info.c: Rewrite magic map code to use GET_MAP_FACE_OBJ instead of GET_MAP_FACE macros. socket/init.c: Initialize new fields in socket structure to 0. socket/loop.c: If client wants tick data sent, send one each tick. socket/request.c: Add setup responses for tick, map2 requests. Remove some extra code in Map1a setup. Send error message to client if not using at least Map1 protocol level. Modify map_newmap_cmd() to clear scroll information when using Map2. Remove original (map0) protocol logic. Update map_clearcell() to clear all 10 layers. Replace MAX_LAYERS with MAP_LAYERS. Add add_head() to remove some of the complication from update_space(). Add code in draw_client_map1() to find which 3 layers to send to the client from the 10 we now have. Add map2_add_ob(), map2_delete_layer(), check_space_for_heads(), draw_client_map2() to handle map2 protocol. Add send_tick() - sends tick to client, but also forces flush of data to reduce lag. utils/config.guess.utils/config.sub,utils/ltmain.sh: rebuilt MSW 2006-05-15 | |||
Show difference between Revision 1.21 and 1.22 | |||
Revision 1.21 | tchize | 2006/05/03 16:50:23 | +8 -5 |
Added autogeneration of html and text report for test process. | |||
Show difference between Revision 1.20 and 1.21 | |||
Revision 1.20 | tchize | 2006/03/22 17:06:45 | +12 -6 |
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.19 and 1.20 | |||
Revision 1.19 | tchize | 2006/03/21 16:46:00 | +50 -2 |
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.18 and 1.19 | |||
Revision 1.18 | mwedel | 2006/02/25 03:08:51 | +2 -2 |
Update some of the documentation - way out of date. Update configure.ac for 1.9.0 release. MSW 2006-02-18 | |||
Show difference between Revision 1.17 and 1.18 | |||
Revision 1.17 | mwedel | 2006/02/25 02:41:48 | +6 -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.16 and 1.17 | |||
Revision 1.16 | gros | 2005/10/18 11:54:30 | +4 -4 |
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.15 and 1.16 | |||
Revision 1.15 | mwedel | 2005/08/11 01:22:53 | +2 -2 |
Update for release 1.8.0. include/Makefile.am: missing quest.h file Rest automatic rebuild MSW 2005-08-10 | |||
Show difference between Revision 1.14 and 1.15 | |||
Revision 1.14 | mwedel | 2005/07/08 19:56:55 | +3 -1 |
configure.ac, configure, aclocal.m4: 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.13 and 1.14 | |||
Revision 1.13 | mwedel | 2005/07/08 19:06:43 | +5 -1 |
configure.ac,configure: Updated checks for --with-python MSW 2005-07-08 | |||
Show difference between Revision 1.12 and 1.13 | |||
Revision 1.12 | tchize | 2005/05/07 06:51:19 | +23 -5 |
Corrected silinesses in code. Now compiles when CFLAGS=-ansi -pedantic | |||
Show difference between Revision 1.11 and 1.12 | |||
Revision 1.11 | mwedel | 2005/01/24 01:55:44 | +6 -2 |
configure, configure.ac, include/autoconf.h.in: Update for version 1.7.0. Add check for libz - needed by libpng (at least on my system), which is needed for the editor. MSW 2005-01-23 | |||
Show difference between Revision 1.10 and 1.11 | |||
Revision 1.10 | mwedel | 2004/04/27 02:08:02 | +2 -2 |
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.9 and 1.10 | |||
Revision 1.9 | mwedel | 2003/10/01 01:55:15 | +3 -2 |
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.8 and 1.9 | |||
Revision 1.8 | mwedel | 2003/09/23 00:21:26 | +2 -1 |
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.7 and 1.8 | |||
Revision 1.7 | mwedel | 2003/04/04 23:39:46 | +2 -2 |
acinclude.m4: Update path to find python includes, since aclocal.m4 gets derived from this file. configure.ac, configure: Add utils/scores.pl to list of files to substitute on. common/loader.l, loader.c: Add subtype for objects - will be used in future work. common/object.c: Add subtype diff check in CAN_MERGE() common/porting.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have hardcoded 777 permissions. doc/Makefile.in, doc/Makefile.am, doc/Developers/Makefile.am, doc/Developers/Makefile.in: Move some of the spell docs around and merge them together doc/Developers/objects: Add notes about subtype. doc/Developers/spells: New file, contains preliminary work on spell objects. include/config.h: Remove command about DM_MAIL and LIBDIR from file, as they are options no longer present. Update comment about SAVE_MODE, and add SAVE_DIR_MODE include/object.h: Add subtype field to object. server/login.c: Have it use SAVE_DIR_MODE when doing the mkdir, and not have hardcoded 6700 permissions. utils/Makefile.in: Updated to know about scores.pl utils/scores.pl.in: New file - reads player file to generate HTML score file. MSW 2003-04-04 | |||
Show difference between Revision 1.6 and 1.7 | |||
Revision 1.6 | mwedel | 2003/03/07 23:35:31 | +4 -1 |
Patch for 64 bit experience total, as well as flexible number of levels. Basically, max level is now dynamic, set in exp_table file. Experience is now a 64 bit value, so much higher totals now allowed. To allow for flexible levels, add new function - did_make_save() which is used for players/monsters to see if they make their saving throw - this is necessary because the savethrow[] array may not be as large as max level - did_make_save takes this into account. NOTE: If your updating a server, you will need to copy over/set up a new exp_table file that has max_levels defined and at least one of the tables uncommented. There are no longer any compiled in defaults -- configure, configure.ac: Add AC_CHECK_SIZEOF calls for long and long long so we can know which one to use for 64 bit support (other checks may need to be added) common/exp.c: Remove levels table, replace it with a 64 bit pointer. Change init_experience to allocate appropriately sized table, have it read max_level value from exp_table file. Replace atoi calls with atoll to get 64 bit value. Update dump_experience to properly print 64 bit values. common/info.c: Update dump routines that dump exp to properly print 64 bit values. common/init.c: Add initializing for settings.max_level value. common/item.c: Update sprintf's to handle 64 bit output of exp (speed) value in objects. common/living.c: change MAX_EXP define, update MAX_EXP_IN_OBJ define, add MAX_SAVE_LEVEL which corresponds to how large the savethrow table is. Change MAXLEVEL to settings.max_level. Change level_exp() to return 64 bit value, other updates in functions to use 64 bit values. Add did_make_save() function. common/loader.l, common/loader.c: Update load/save routins of exp to deal with 64 bit values. common/map.c: Update calculate_difficulty to use 64 bit values when storing exp - unlikely to make a difference, since unlikely any map will get to a point where it has that much exp on it. common/porting.c: Remove dead code from save_long(), add save_long_long() to save 64 bit values. include/autoconf.h.in: SIZEOF_LONG and SIZEOF_LONG_LONG values added. include/global.h: Add code to typedef sint64/uint64 types based on what type gives us those values. Add max_level to settings array. include/libproto.h: rebuilt. include/living.h: Replace exp field with 64 bit value. include/player.h: Update party kill log exp tracking to have 64 bit values. lib/exp_table: Udpate comments about max_level, uncomment what was the default table so new installs have working table. Add 5 levels to all the tables. random_maps/monster.c: Update place_monsters to use 64 bit when storing exp total for map/per square. server/apply.c: Replace MAXLEVEL with settings.max_level, add did_make_save calls where appropriate server/c_misc.c: have statistics command properly print 64 bit exp value. server/c_wiz.c: Have stats command properly display 64 bit value. server/hiscore.c: Replace exp values with 64 bit values, update to properly load/display them. server/player.c: replace savethrow[] reference with did_make_save() server/skill_util.c: Update skills command to properly show 64 bit exp values. server/spell_effect.c: replace savethrow[] reference with did_make_save(), allow players to cast directors right beneath themselves, but other walls must be on empty space. MSW 2003-03-07 | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | mwedel | 2003/02/25 01:18:02 | +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.4 and 1.5 | |||
Revision 1.4 | tchize | 2002/12/31 07:36:42 | +2 -2 |
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.3 and 1.4 | |||
Revision 1.3 | mwedel | 2002/10/08 01:38:22 | +10 -17 |
configure, configure.ac: Remove --enable-old-layout option - that is more than 3+ years old now. Add --enable-dmalloc option so code can be compiled with dmalloc debugging without needing to change/rebuild the configure files. common/porting.c: Add stdarg.h to list of included files. include/autoconf.h.in: rebuilt, HAVE_LIBDMALLOC undef added. random_maps/square_spiral.c: fix bound checking value. MSW 2002-10-07 | |||
Show difference between Revision 1.2 and 1.3 | |||
Revision 1.2 | mwedel | 2002/09/14 23:56:36 | +2 -2 |
Update for 1.4.0 release. Rename CREDITS to AUTHORS, add a NEWS file, and remove utils/crossloop.tmpl which isn't need in CVS. MSW 2002-09-14 | |||
Show difference between Revision 1.1 and 1.2 | |||
Revision 1.1 | mwedel | 2002/09/07 17:08:05 | None |
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. | |||
First version |