summaryrefslogtreecommitdiff
path: root/saveload.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-12-04 08:30:04 +0000
committerpeter1138 <peter1138@openttd.org>2006-12-04 08:30:04 +0000
commitbd66cc57569a034b02674fa8aaa5dbe521e73a36 (patch)
treefb2a8cf881b385cb52b110880f86128061ea020c /saveload.c
parentdc8992a677b8b7b56b8ad55d7da690b77105bb83 (diff)
downloadopenttd-bd66cc57569a034b02674fa8aaa5dbe521e73a36.tar.xz
(svn r7348) -Feature: Initial support for saving NewGRF settings with savegames. Back up your savegames...
Diffstat (limited to 'saveload.c')
-rw-r--r--saveload.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c
index 3a5a7889d..0c51c81a5 100644
--- a/saveload.c
+++ b/saveload.c
@@ -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,
};