[CF-Devel] Checkin.

Mark Wedel mwedel at scruz.net
Wed Jan 31 01:59:13 CST 2001


 I've justed checked in the following changes.  I've tested it quite a bit, but
can not guarentee it is 100% bugfree (who can ever do that?), but there could be
some bugs out there.  But hopefully this will also fix the problem of players
ending up in the middle of the ocean sometime.

 I've also updated the version.h file so it will be more clear if a server is
running pre/post this change.


MSW 2001/01/30:
Complete rewrite of the exit handling code.  Hopefully as an effect, this will
fix the player appearing in the middle of the oceans.  I think the code
should also work better in many other areas.  Main enhancements is a 3x3
area for pets to follow player to new map, as well as golems now following
players to the new maps.
include/sproto.h, random_maps/rproto.h - rebuilt.
random_maps/random_map.c: Change generate_random_map to take a structure 
    with the random map paremeters.
random_maps/reader.l, reader.c: Add set_random_map_variable function that
    reads the map parameters from a char buffer.  Also, remove some leftover
    comments that were from the common/loader.l file.
random_maps/rogue_layout.c: Change some functions to be static so make proto
    doesn't collect them.
random_maps/standalone.c: Add opening of parms file into main function since
    it ws removed from the random_map.c file.
server/apply.c: Don't display the message of random maps to the players
    as they enter them, as this message is random map parameters, and not
    a real message.
server/login.c: #if 0 out using of the player loading element in the structure.
    this isn't used right now.
server/main.c: Bulk of the changes.  main changes are to break apart the
    old enter_exit function into smaller functions that more logically do
    the needed function (random maps, unique maps, and transferring the player
    to the new map).  random map code now passes the parameters via
    structure instead of file in /tmp.  Code is much more understandable now
    and hopefully bugfree.
server/pets.c: minor changes/bugfixes.  Search full SIZEOFFREE array, use
    real owner variable when print out messages.
server/player.c: Remove usage of the loading variable in the player structure.
End of MSW 2001/01/30 checking.

    
    


More information about the crossfire mailing list