Directory trunk/crossfire/crossedit/

Directory Created:
1999-04-02 14:10
Directory Deleted:
2006-09-19 02:24
Total Files:
0
Deleted Files:
36
Lines of Code:
0

[root]/trunk/crossfire/crossedit
                Folder removed from repo Cnv (0 files, 0 lines)
                Folder removed from repo bitmaps (0 files, 0 lines)
                Folder removed from repo doc (0 files, 0 lines)
                Folder removed from repo include (0 files, 0 lines)

Lines of Code

trunk/crossfire/crossedit/ Lines of Code

Developers

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

Most Recent Commits

mwedel 2006-09-19 02:24 Rev.: 4942

make branche directories, delete old trunk.

0 lines of code changed in 36 files:

  • trunk/crossfire/crossedit: .cvsignore (del), App.c (del), App.h (del), Attr.c (del), Attr.h (del), Bitmaps.c (del), Bitmaps.h (del), CrEdit.c (del), CrEdit.h (del), CrEditP.h (del), CrFace.c (del), CrFace.h (del), CrFaceP.h (del), CrList.c (del), CrList.h (del), CrListP.h (del), CrUtil.c (del), CrUtil.h (del), Crossedit.ad (del), Crossedit.ad.h (del), Defines.h (del), Edit.c (del), Edit.h (del), Makefile.am (del), Makefile.in (del), MapAttr.c (del), MapAttr.h (del), README (del), Str.c (del), Str.h (del), TODO (del), crossedit.c (del), png.c (del), proto.h (del), stubs.c (del), xutil.c (del)
quinet 2006-08-25 16:28 Rev.: 4836

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:

  • trunk/crossfire/crossedit: Makefile.in (+10 -6)
qal21 2006-08-12 14:38 Rev.: 4785

Impliment cfpython map invalidation. Change behavoir of EVENT_MAP*

5 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: stubs.c (+5)
qal21 2006-07-29 11:36 Rev.: 4729

Add more files to .cvsignore

2 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: .cvsignore (+2)
ryo_saeba 2006-07-29 05:13 Rev.: 4727

Add .cvsignore files, courtesy Rapha��l Quinet - quinet

0 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: .cvsignore (new)
qal21 2006-07-28 01:45 Rev.: 4711

Add EVENT_DESTROY. Allow execute_event to be called from common.

5 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: stubs.c (+5)
tchize 2006-06-01 14:07 Rev.: 4617


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:

  • trunk/crossfire/crossedit: Makefile.in (+1 -4)
akirschbaum 2006-05-21 07:54 Rev.: 4586

Use 'NULL' for pointers.

1 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: Attr.c (+1 -1)
mwedel 2006-05-18 00:27 Rev.: 4568

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:

  • trunk/crossfire/crossedit: CrEdit.c (+9 -15), Edit.c (+11 -1)
ryo_saeba 2006-05-05 04:41 Rev.: 4559

Second part of patch #1453869 courtesy Stefan Huehner (shuehner)

1 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: stubs.c (+1 -1)
ryo_saeba 2006-05-05 04:26 Rev.: 4558

First part of patch #1453869 courtesy Stefan Huehner (shuehner)

4 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: Makefile.in (+4 -1)
tchize 2006-05-03 16:50 Rev.: 4554



Added autogeneration of html and text report for test process.

6 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: Makefile.in (+6)
tchize 2006-03-22 18:06 Rev.: 4546


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:

  • trunk/crossfire/crossedit: Makefile.in (+1)
tchize 2006-03-21 17:46 Rev.: 4543


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:

  • trunk/crossfire/crossedit: Makefile.am (+4 -3), Makefile.in (+44 -22)
ryo_saeba 2006-03-18 12:15 Rev.: 4539

Use const when possible. Patch courtesy Stefan Huehner.

2 lines of code changed in 2 files:

  • trunk/crossfire/crossedit: Attr.c (+1 -1), CrEdit.c (+1 -1)
ryo_saeba 2006-03-18 10:05 Rev.: 4534

Massive cleaning of code. Shouldn't be any functional change.

1 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: xutil.c (+1 -1)
akirschbaum 2006-03-16 15:59 Rev.: 4532

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:

  • trunk/crossfire/crossedit: App.c (+9 -14), App.h (+1 -6), Attr.c (+1 -1), CrEdit.c (+2 -2), CrFace.c (+2 -2), CrList.c (+4 -4), CrUtil.c (-1), Defines.h (-17), Edit.c (+7 -5), Str.h (+4 -4), crossedit.c (+3 -3), png.c (+1 -1), proto.h (-18), xutil.c (-17)
akirschbaum 2006-02-10 18:59 Rev.: 4442

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:

  • trunk/crossfire/crossedit: stubs.c (+1 -1)
cavesomething 2006-01-09 14:35 Rev.: 4358

spell listing support

5 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: stubs.c (+5 -1)
akirschbaum 2005-12-09 16:34 Rev.: 4108

crossedit/Makefile.in: Rebuilt.

5 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: Makefile.in (+5 -2)
akirschbaum 2005-12-09 16:24 Rev.: 4107

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:

  • trunk/crossfire/crossedit: Attr.c (+5 -14), Crossedit.ad (+3 -13), Crossedit.ad.h (+3 -13), Defines.h (+1), Edit.c (+84 -225), Edit.h (+2 -2), Makefile.am (+2), MapAttr.c (new 541), MapAttr.h (new 60)
mwedel 2005-11-16 03:16 Rev.: 4037

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:

  • trunk/crossfire/crossedit: Edit.c (+1 -1)
akirschbaum 2005-10-28 14:08 Rev.: 3937

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:

  • trunk/crossfire/crossedit: Attr.c (+3 -2), Edit.c (+2 -1)
akirschbaum 2005-10-24 15:48 Rev.: 3928

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:

  • trunk/crossfire/crossedit: xutil.c (+1 -1)
akirschbaum 2005-10-07 12:54 Rev.: 3821

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:

  • trunk/crossfire/crossedit: Attr.c (+1 -1), Defines.h (+1 -3), Edit.c (+2 -2)
akirschbaum 2005-08-30 17:15 Rev.: 3579

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:

  • trunk/crossfire/crossedit: CrEdit.c (+31 -23), CrFace.c (+1 -1), CrList.c (+1 -1), CrUtil.c (+60 -14), CrUtil.h (+2 -1), png.c (+1 -1)
akirschbaum 2005-08-28 03:18 Rev.: 3567

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:

  • trunk/crossfire/crossedit: CrEdit.c (+5)
akirschbaum 2005-08-28 01:58 Rev.: 3566

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:

  • trunk/crossfire/crossedit: Edit.c (+55 -9), crossedit.c (+1)
ryo_saeba 2005-07-17 06:00 Rev.: 3460

Use const char* instead of char* when possible. Removed unused variables from weather code.

1 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: stubs.c (+1 -1)
akirschbaum 2005-07-16 16:10 Rev.: 3454

Fix spelling errors in string constants.

3 lines of code changed in 2 files:

  • trunk/crossfire/crossedit: Attr.c (+2 -2), png.c (+1 -1)
akirschbaum 2005-07-16 13:14 Rev.: 3451

*Makefile.in, aclocal.m4, configure: Rebuilt generated files.

23 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: Makefile.in (+23 -10)
ryo_saeba 2005-07-15 10:48 Rev.: 3438

A few more fixes

3 lines of code changed in 1 file:

  • trunk/crossfire/crossedit: Makefile.in (+3 -1)
ryo_saeba 2005-07-15 10:42 Rev.: 3437

A few more fixes

87 lines of code changed in 2 files:

  • trunk/crossfire/crossedit: Makefile.am (+1), stubs.c (new 86)
akirschbaum 2005-07-10 08:54 Rev.: 3423

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:

  • trunk/crossfire/crossedit: Edit.c (+3 -1)
mwedel 2005-07-08 20:03 Rev.: 3408

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:

  • trunk/crossfire/crossedit: Makefile.in (+6 -3)
mwedel 2005-07-08 19:03 Rev.: 3403

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:

  • trunk/crossfire/crossedit: Makefile.in (+267 -165)
tchize 2005-05-06 16:10 Rev.: 3245


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:

  • trunk/crossfire/crossedit: Makefile.in (+169 -283)
akirschbaum 2005-03-09 14:17 Rev.: 3109

*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:

  • trunk/crossfire/crossedit: Makefile.in (+288 -166)
elsbernd 2005-03-08 07:58 Rev.: 3107

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:

  • trunk/crossfire/crossedit: Edit.c (+2 -1)
akirschbaum 2005-03-06 15:38 Rev.: 3099

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:

  • trunk/crossfire/crossedit: Attr.c (+1 -1)

(58 more)

Generated by StatSVN 0.7.0