|
Login: mwedel
Fullname: mwedel
Revisions: 2767
Lines of Code: 106460
Added Lines of Code: 629218
Lines of Code per Change: 38.5
|
Date | Author | File/Message |
---|---|---|
2/25/06 3:08 AM | mwedel |
Update some of the documentation - way out of date.
Update configure.ac for 1.9.0 release. MSW 2006-02-18 (6 Files changed, 51 Lines changed) configure.ac 1.18
(+2
-2)
AUTHORS 1.2
(+1
-1)
configure 1.60
(+10
-10)
README 1.17
(+27
-37)
ChangeLog 1.579
(+3
-0)
DEVELOPERS 1.21
(+8
-49)
|
2/25/06 2:41 AM | mwedel |
*/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 (18 Files changed, 2342 Lines changed) plugins/cfanim/include/Makefile.am 1.1 added 3
plugins/common/Makefile.am 1.1 added 3
plugins/cfanim/Makefile.in 1.3
(+146
-39)
plugins/Makefile.in 1.3
(+1
-1)
plugins/cfpython/Makefile.am 1.7
(+4
-2)
ChangeLog 1.578
(+6
-0)
plugins/cfanim/Makefile.am 1.3
(+3
-2)
plugins/common/include/Makefile.am 1.1 added 2
configure 1.59
(+311
-182)
plugins/common/include/Makefile.in 1.1 added 395
configure.ac 1.17
(+6
-2)
lib/Makefile.in 1.78
(+2
-2)
plugins/cfpython/include/Makefile.in 1.1 added 402
plugins/Makefile.am 1.2
(+1
-1)
plugins/cfpython/Makefile.in 1.8
(+146
-39)
plugins/common/Makefile.in 1.1 added 507
plugins/cfanim/include/Makefile.in 1.1 added 395
plugins/cfpython/include/Makefile.am 1.1 added 9
|
2/17/06 2:04 AM | mwedel |
common/map.c: Modify ob_blocked() to properly handly objects with a 0
ob->move_type. Fixes infinite loop from random map code when trying to place exits. MSW 2006-02-16 (2 Files changed, 13 Lines changed) common/map.c 1.103
(+8
-2)
ChangeLog 1.566
(+5
-0)
|
2/15/06 1:51 AM | mwedel |
Minor bugfixes:
server/apply.c: Fix apply_transport ->contr checks to actually check against correct values. server/plugins.c: Replace CFAPI_INT16 with CFAPI_INT - there is no declaration anyplace for CFAPI_INT16 so compiles fails. server/swamp.c: Fix swamp code so that only objects that can be picked up disappear - this way, transports don't disappear into oblivion. MSW 2006-02-15 (4 Files changed, 19 Lines changed) server/apply.c 1.163
(+2
-2)
server/swamp.c 1.10
(+5
-3)
server/plugins.c 1.65
(+2
-2)
ChangeLog 1.564
(+10
-0)
|
2/8/06 12:53 AM | mwedel |
server/main.c: Modify enter_exit() to see if player is in a transport,
and if so, remove him. Can happen if player uses word of recall while in a transport. MSW 2006-02-07 (2 Files changed, 9 Lines changed) server/main.c 1.112
(+4
-1)
ChangeLog 1.551
(+5
-0)
|
2/7/06 1:54 AM | mwedel |
Code that adds transports. Transports are described more in detail in
docs/Developers/objects. --- loader.l: Add new move type ('boat'). Update move_name field to be aware of this type. common/object.c: Unrelated to transport, but more apparant with transports - fix bug with insert_ob_in_map() and multipart objects - we now only try to fix up map and coordinates if the provided coordinates are out of the map. Before, function would always use the passed map for multipart objects, which is incorrect if we have already set valid coordinates. doc/Developers/objects: Update notes for TRANSPORTS. Update move information to include MOVE_BOAT. include/define.h: Add type TRANSPORT. Add MOVE_BOAT. include/player.h: Add transport field to player structure. include/sproto.h: rebuilt. server/apply.c: Add code to handle applying of transports. Update apply_below to apply transport if player is on one. server/attack.c: Update hit_map() to look for transports, and hit any players with the damage. server/c_object.c: Update put_object_in_sack() to also handle TRANSPORTS so that code can be re-used. server/move.c: Fix handling of multipart objects in move_object() - old code didn't work right with multipart objects moving along seams of tiled maps. Add code to move_ob() to update player map position for all players in a moving transport. server/player.c: Update move_player_attack() too check of player is in tranport, and use that for map and location information. Update move_player() to handle speed related issues with transports. server/time.c: Add code to credit time back to TRANSPORT objects since we remove time in move_player() for TRANSPORTS. socket/item.c: Add add_object_to_socklist() so that same code isn't reproduced in 3 different places in the file. Update draw_look() to handle transports - send transport object itself, then objects in transport. Update esrv_send_inventory() and esrv_send_item() to use add_object_to_socklist(). Update esrv_get_ob_from_count() to look for objects in transport if player is in transport. socket/loop.c: Remove checking of pl->map status, since draw_client_map() does that, and we need to handle if the player is in a transport. socket/request.c: Handle map drawing if player is in a transport. MSW 2006-02-06 (17 Files changed, 828 Lines changed) socket/item.c 1.37
(+119
-170)
common/object.c 1.121
(+17
-5)
socket/loop.c 1.40
(+5
-3)
include/sproto.h 1.161
(+17
-15)
include/define.h 1.105
(+4
-3)
server/apply.c 1.160
(+159
-1)
ChangeLog 1.549
(+42
-0)
doc/Developers/objects 1.20
(+25
-21)
server/move.c 1.39
(+19
-4)
server/time.c 1.86
(+10
-1)
server/player.c 1.191
(+42
-13)
common/loader.l 1.74
(+2
-1)
include/player.h 1.46
(+3
-2)
common/loader.c 1.77
(+285
-284)
server/c_object.c 1.77
(+56
-41)
socket/request.c 1.82
(+12
-6)
server/attack.c 1.121
(+11
-1)
|
2/7/06 1:30 AM | mwedel |
Recollect archetypes - some new objects, some objects modified to include
move_.. fields. MSW 2006-02-06 (9 Files changed, 10598 Lines changed) lib/crossfire.1 1.56
(+0
-0)
lib/bmaps 1.90
(+4918
-4898)
lib/faces 1.76
(+90
-0)
lib/animations 1.78
(+192
-0)
lib/crossfire.0 1.57
(+0
-0)
lib/treasures.bld 1.40
(+0
-0)
lib/smooth 1.20
(+9
-0)
lib/bmaps.paths 1.93
(+4918
-4898)
lib/archetypes 1.172
(+471
-6)
|
2/5/06 3:10 AM | mwedel |
Fix bug in previous commit (using string names for move_ values). Forgot
about the case where move_ was 0 - just save that as an int. MSW 2006-02-05 (2 Files changed, 10 Lines changed) common/loader.l 1.73
(+5
-1)
common/loader.c 1.76
(+5
-1)
|
2/4/06 11:51 PM | mwedel |
No real code change - just making formatting consistent in manual_apply().
One minor note - move check for user being a PLAYER and object be a TREASURE into the case that handles the TREASURE type - this matches with what we do for all the other item types where we care about that. MSW 2006-02-04 (1 Files changed, 177 Lines changed) server/apply.c 1.159
(+177
-174)
|
2/4/06 11:27 PM | mwedel |
movement type changes. Add move_allow field to explicitly allow certain
movement types on spaces. Add suppport for using string names instead of numeric values to specify the MOVE_ values. Add code so when saving data out, use string names instead of numeric value. --- common/loader.l: Remove save_double(), as it isn't used by any code. Add set_move() to set movement types from strings. Add get_string_move_type, which takes integer movement type and returns a string. Update load and save code to use these functions respectively. common/map.c: Change blocked_link() so that we only examine all the objects on a space if there is something alive on the space or space is otherwise blocked. There is no reason to examine all the objects on the space if the object in question can move onto it. Modify update_position() to use the move_allow field to clear bits in the move_block field. common/object.c: Add check in CAN_MERGE for move_allow. Add check for move_allow in update_object to see if we should update the space or not. doc/Developers/objects: Update Movement code section to note use of using strings to set movement types. Add note about move_allow. Section about Transports added, but code isn't there yet. include/object.h: Add move_allow to object structure. MSW 2006-02-04 (7 Files changed, 2873 Lines changed) common/map.c 1.100
(+12
-3)
common/loader.l 1.72
(+123
-22)
common/object.c 1.120
(+7
-2)
include/object.h 1.45
(+2
-1)
common/loader.c 1.75
(+2571
-2675)
doc/Developers/objects 1.19
(+133
-1)
ChangeLog 1.548
(+25
-0)
|