Changeset - r16207:36cbb2f7933e
[Not reviewed]
master
0 2 0
frosch - 14 years ago 2010-10-12 17:47:15
frosch@openttd.org
(svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker)
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/newgrf_sl.cpp
Show inline comments
 
@@ -52,6 +52,7 @@ static const SaveLoad _grfconfig_desc[] 
 
	    SLE_STR(GRFConfig, filename,         SLE_STR,    0x40),
 
	    SLE_VAR(GRFConfig, ident.grfid,      SLE_UINT32),
 
	    SLE_ARR(GRFConfig, ident.md5sum,     SLE_UINT8,  16),
 
	SLE_CONDVAR(GRFConfig, version,          SLE_UINT32, 151, SL_MAX_VERSION),
 
	    SLE_ARR(GRFConfig, param,            SLE_UINT32, 0x80),
 
	    SLE_VAR(GRFConfig, num_params,       SLE_UINT8),
 
	SLE_CONDVAR(GRFConfig, palette,          SLE_UINT8,  101, SL_MAX_VERSION),
src/saveload/saveload.cpp
Show inline comments
 
@@ -213,8 +213,9 @@
 
 *  148   20659
 
 *  149   20832
 
 *  150   20857
 
 *  151   20918
 
 */
 
extern const uint16 SAVEGAME_VERSION = 150; ///< current savegame version of OpenTTD
 
extern const uint16 SAVEGAME_VERSION = 151; ///< current savegame version of OpenTTD
 

	
 
SavegameType _savegame_type; ///< type of savegame we are loading
 

	
0 comments (0 inline, 0 general)