Author: muggenhor Date: Sat Aug 18 23:37:37 2007 New Revision: 2416 URL: http://svn.gna.org/viewcvs/warzone?rev=2416&view=rev Log: * Fix readFXData to mark all the EFFECTs it loads as active * Add a large amount of serializeX/deserializeX functions for the different savegame versions * Use uintX_t instead of the *WORD series of variables for structures that'll be saved out to disk (only those directly related to savegame code right now) * Make the save&load functions in game.c use the serialization and deserialization series of functions (this is also directly from a file rather than an intermediate in-memory buffer) * Remove function endian_SaveGameV since endian swapping is being dealt with by the (de)serialization functions * This commit changes the *.gam files from little endian to big endian, so expect loading of previous savegames to break
Modified: trunk/src/effects.c trunk/src/game.c trunk/src/game.h trunk/src/loadsave.c trunk/src/loop.c trunk/src/missiondef.h trunk/src/multiplay.h trunk/src/orderdef.h _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits