[root]/trunk/crossfire/crossedit
Cnv
(0 files, 0 lines)
bitmaps
(0 files, 0 lines)
doc
(0 files, 0 lines)
include
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 233 (100.0%) | 4927 (100.0%) | 21.1 |
mwedel | 83 (35.6%) | 1930 (39.2%) | 23.2 |
akirschbaum | 47 (20.2%) | 1227 (24.9%) | 26.1 |
tchize | 10 (4.3%) | 769 (15.6%) | 76.9 |
uid200 | 30 (12.9%) | 535 (10.9%) | 17.8 |
cvs | 30 (12.9%) | 289 (5.9%) | 9.6 |
ryo_saeba | 10 (4.3%) | 99 (2.0%) | 9.9 |
michtoen | 6 (2.6%) | 19 (0.4%) | 3.1 |
qal21 | 3 (1.3%) | 12 (0.2%) | 4.0 |
quinet | 1 (0.4%) | 10 (0.2%) | 10.0 |
mids | 1 (0.4%) | 8 (0.2%) | 8.0 |
pjka | 1 (0.4%) | 7 (0.1%) | 7.0 |
cavesomething | 1 (0.4%) | 5 (0.1%) | 5.0 |
garbled | 2 (0.9%) | 4 (0.1%) | 2.0 |
elsbernd | 2 (0.9%) | 4 (0.1%) | 2.0 |
peterm | 3 (1.3%) | 3 (0.1%) | 1.0 |
jbontje | 1 (0.4%) | 3 (0.1%) | 3.0 |
azzie | 1 (0.4%) | 2 (0.0%) | 2.0 |
rower | 1 (0.4%) | 1 (0.0%) | 1.0 |
make branche directories, delete old trunk.
0 lines of code changed in 36 files:
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.
10 lines of code changed in 1 file:
Impliment cfpython map invalidation. Change behavoir of EVENT_MAP*
5 lines of code changed in 1 file:
Add more files to .cvsignore
2 lines of code changed in 1 file:
Add .cvsignore files, courtesy Rapha��l Quinet - quinet
0 lines of code changed in 1 file:
Add EVENT_DESTROY. Allow execute_event to be called from common.
5 lines of code changed in 1 file:
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.
1 lines of code changed in 1 file:
Use 'NULL' for pointers.
1 lines of code changed in 1 file:
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
20 lines of code changed in 2 files:
Second part of patch #1453869 courtesy Stefan Huehner (shuehner)
1 lines of code changed in 1 file:
First part of patch #1453869 courtesy Stefan Huehner (shuehner)
4 lines of code changed in 1 file:
Added autogeneration of html and text report for test process.
6 lines of code changed in 1 file:
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.
1 lines of code changed in 1 file:
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 :)
48 lines of code changed in 2 files:
Use const when possible. Patch courtesy Stefan Huehner.
2 lines of code changed in 2 files:
Massive cleaning of code. Shouldn't be any functional change.
1 lines of code changed in 1 file:
Apply patch #1439143 (code-cleanup: crossedit) by Stefan Huehner: Remove
unused code, add static/const where appropriate.
34 lines of code changed in 14 files:
Apply slightly modified patch #1428309 (code-cleanup: const, static) by
Stefan Huehner: add const/static to functions/variables. Remove some type
casts.
1 lines of code changed in 1 file:
spell listing support
5 lines of code changed in 1 file:
crossedit/Makefile.in: Rebuilt.
5 lines of code changed in 1 file:
Apply slightly modified first part of patch #1275563 (Crossedit: fix map
attributes window): make the map attributes dialogs work again.
701 lines of code changed in 9 files:
Commit for new blocking code. Not going to dictate all the changes -
but will outline the broad points. Note also that the
doc/Developers/objects is updated and goes into more details also.
- check for P_WALL no longer used - instead, need to use GET_MAP_MOVE_BLCOK
and check against movement type of objects.
- arch_blocked() changed to ob_blocked(), now takes object. Needed because
just looking at archetype move_ values is no longer sufficient.
- find_first_free_spot() changed to take object, since it just calls
arch_blocked()
- FLAG_FLYING removed, now in move type.
- walk_on/walk_off/fly_on/fly_off removed - now based on move_on and
move_off fields.
- Map space structure extended to hold the move_on/move_off, etc
values so that we can shortcut some processing by not having to
check every object on the space when something enters it if
move_on isn't set.
- archetypes recollected - boulders needed move_walk to properly trigger
buttons.
- Note that the new plugin code has to be fixed up for the new movement
code. Look for FIXME in plugins/cfpython/cfpython_object.c
MSW 2005-11-15
1 lines of code changed in 1 file:
Fix compiler warnings. Most changes do not change the program (remove unused
variables, convert "if(x = y)" into "x = y; if(x)"); a few actually fix
(possible) problems (fix uninitialized variables, fix printf format
specifiers, fix mismatches between signed and unsigned variables, add missing
return and default statements).
5 lines of code changed in 2 files:
Code improvements:
common/image.c: Declare some variables and functions as static or const; add
safeguards while loading config files; remove support for numeric face
names (no active archetype or map does use it); in free_all_images()
deallocate memory allocated for smoothing.
crossedit/xutil.c: Remove assignment to nrofpixmaps since ReadBmapNames()
already sets this variable.
include/{global.h, libproto.h, loader.h}: Remove now static variables and
functions.
1 lines of code changed in 1 file:
common/{arch.c, object.c}, crossedit/{Attr.c, Defines.h, Edit.c},
include/libproto.h, server/{plugins.c, time.c}: Rename functions with
mixed-case names to lower case only.
crossedit/Defines.h: Remove prototypes for nonexisting functions.
4 lines of code changed in 3 files:
Add (slightly reformatted) patch #1276121 (Crossedit: handle big faces) by
Kevin Rudat:
crossedit/CrEdit.c: UpdatePosition(): Use new drawing subroutines.
crossedit/CrFace.c: DrawObject(): Use new drawing subroutine.
crossedit/CrList.c: Redisplay(): Use new drawing subroutine.
crossedit/CrUtil.c, crossedit/CrUtil.h: Remove FaceDraw(), add DrawFacePart()
and DrawPartObject().
crossedit/png.c: Upload the whole image, not just the top-left corner.
96 lines of code changed in 6 files:
Add patch #1274385 by Kevin Rudat to make crossedit draw floors on tiles with
items.
crossedit/CrEdit.c: Add call to update_position() in UpdatePosition().
5 lines of code changed in 1 file:
Add patch #1271417 by Kevin Rudat to stop crossedit losing regions. Patch is
slightly modified to properly handle all map fields.
crossedit/Edit.c: Copy all map fields in MapMoveScrollResize(). Do not add a
msg header to already existing maps.
crossedit/crossedit.c: Call init_regions() at program initialization.
56 lines of code changed in 2 files:
Use const char* instead of char* when possible. Removed unused variables from weather code.
1 lines of code changed in 1 file:
Fix spelling errors in string constants.
3 lines of code changed in 2 files:
*Makefile.in, aclocal.m4, configure: Rebuilt generated files.
23 lines of code changed in 1 file:
A few more fixes
3 lines of code changed in 1 file:
A few more fixes
87 lines of code changed in 2 files:
server/{login.c, player.c}: Fix buffer overflow with pl->title. Based on patch
by Scott Kullberg.
crossedit/{Edit.c, Cnv/CnvPrompt.c}, server/{ban.c, hiscore.c, login.c,
player.c, shop.c, win32.c}: Properly terminate destination string of strncpy
with '\0'.
3 lines of code changed in 1 file:
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
6 lines of code changed in 1 file:
Commit updated makefiles so files these depend on have been updated
(aclocal/include).
MSW 2005-07-08
267 lines of code changed in 1 file:
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
169 lines of code changed in 1 file:
*Makefile.in, aclocal.m4, configure, utils/config.guess, utils/config.sub,
utils/ltmain.sh: Rebuild generated files.
288 lines of code changed in 1 file:
Load can modify self->w only, if self->w was created, which is not alwas the case
2 lines of code changed in 1 file:
common/{map.c, readable.c, treasure.c}, crossedit/Attr.c, server/{apply.c,
attack.c, c_wiz.c, init.c, monster.c, pets.c, shop.c, skill_util.c, skills.c,
spell_attack.c, spell_effect.c, time.c}, socket/{info.c, request.c}: Add
missing newline character to LOG() messages.
1 lines of code changed in 1 file:
(58 more)