equal
deleted
inserted
replaced
27 #include "network/network.h" |
27 #include "network/network.h" |
28 #include "variables.h" |
28 #include "variables.h" |
29 #include <setjmp.h> |
29 #include <setjmp.h> |
30 #include <list> |
30 #include <list> |
31 |
31 |
32 extern const uint16 SAVEGAME_VERSION = 58; |
32 extern const uint16 SAVEGAME_VERSION = 62; |
33 uint16 _sl_version; ///< the major savegame version identifier |
33 uint16 _sl_version; ///< the major savegame version identifier |
34 byte _sl_minor_version; ///< the minor savegame version, DO NOT USE! |
34 byte _sl_minor_version; ///< the minor savegame version, DO NOT USE! |
35 |
35 |
36 typedef void WriterProc(uint len); |
36 typedef void WriterProc(uint len); |
37 typedef uint ReaderProc(); |
37 typedef uint ReaderProc(); |
1255 extern const ChunkHandler _station_chunk_handlers[]; |
1255 extern const ChunkHandler _station_chunk_handlers[]; |
1256 extern const ChunkHandler _industry_chunk_handlers[]; |
1256 extern const ChunkHandler _industry_chunk_handlers[]; |
1257 extern const ChunkHandler _economy_chunk_handlers[]; |
1257 extern const ChunkHandler _economy_chunk_handlers[]; |
1258 extern const ChunkHandler _animated_tile_chunk_handlers[]; |
1258 extern const ChunkHandler _animated_tile_chunk_handlers[]; |
1259 extern const ChunkHandler _newgrf_chunk_handlers[]; |
1259 extern const ChunkHandler _newgrf_chunk_handlers[]; |
|
1260 extern const ChunkHandler _group_chunk_handlers[]; |
1260 |
1261 |
1261 static const ChunkHandler * const _chunk_handlers[] = { |
1262 static const ChunkHandler * const _chunk_handlers[] = { |
1262 _misc_chunk_handlers, |
1263 _misc_chunk_handlers, |
1263 _setting_chunk_handlers, |
1264 _setting_chunk_handlers, |
1264 _veh_chunk_handlers, |
1265 _veh_chunk_handlers, |
1272 _sign_chunk_handlers, |
1273 _sign_chunk_handlers, |
1273 _station_chunk_handlers, |
1274 _station_chunk_handlers, |
1274 _player_chunk_handlers, |
1275 _player_chunk_handlers, |
1275 _animated_tile_chunk_handlers, |
1276 _animated_tile_chunk_handlers, |
1276 _newgrf_chunk_handlers, |
1277 _newgrf_chunk_handlers, |
|
1278 _group_chunk_handlers, |
1277 NULL, |
1279 NULL, |
1278 }; |
1280 }; |
1279 |
1281 |
1280 /* used to include a vehicle desc in another desc. */ |
1282 /* used to include a vehicle desc in another desc. */ |
1281 extern const SaveLoad _common_veh_desc[]; |
1283 extern const SaveLoad _common_veh_desc[]; |