mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "variables.h"
|
||||
#include <setjmp.h>
|
||||
|
||||
const uint16 SAVEGAME_VERSION = 40;
|
||||
const uint16 SAVEGAME_VERSION = 41;
|
||||
uint16 _sl_version; /// the major savegame version identifier
|
||||
byte _sl_minor_version; /// the minor savegame version, DO NOT USE!
|
||||
|
||||
@@ -1200,6 +1200,7 @@ extern const ChunkHandler _station_chunk_handlers[];
|
||||
extern const ChunkHandler _industry_chunk_handlers[];
|
||||
extern const ChunkHandler _economy_chunk_handlers[];
|
||||
extern const ChunkHandler _animated_tile_chunk_handlers[];
|
||||
extern const ChunkHandler _newgrf_chunk_handlers[];
|
||||
|
||||
static const ChunkHandler * const _chunk_handlers[] = {
|
||||
_misc_chunk_handlers,
|
||||
@@ -1216,6 +1217,7 @@ static const ChunkHandler * const _chunk_handlers[] = {
|
||||
_station_chunk_handlers,
|
||||
_player_chunk_handlers,
|
||||
_animated_tile_chunk_handlers,
|
||||
_newgrf_chunk_handlers,
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user