diff options
author | truelight <truelight@openttd.org> | 2005-03-24 17:03:37 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-03-24 17:03:37 +0000 |
commit | 83637d164e8be15166aeb39134170ecbe02173d3 (patch) | |
tree | 45d160ba77950eea4f380bd7ff3bbcf6644f651a /saveload.c | |
parent | f86318407ca89cecce23128f34c61f9fa4f078b7 (diff) | |
download | openttd-83637d164e8be15166aeb39134170ecbe02173d3.tar.xz |
(svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h
-Codechange: rewrote some functions while moving waypoint-stuff
-Add: added support for 64k waypoints
-Fix: made the waypoint struct a bit more logic (no bit-fucking)
Diffstat (limited to 'saveload.c')
-rw-r--r-- | saveload.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c index 947019dac..d436e97f3 100644 --- a/saveload.c +++ b/saveload.c @@ -8,7 +8,7 @@ #include "saveload.h" enum { - SAVEGAME_MAJOR_VERSION = 0xB, + SAVEGAME_MAJOR_VERSION = 0xC, SAVEGAME_MINOR_VERSION = 0x1, SAVEGAME_LOADABLE_VERSION = (SAVEGAME_MAJOR_VERSION << 8) + SAVEGAME_MINOR_VERSION @@ -871,6 +871,7 @@ static void UninitWriteZlib(void) extern const ChunkHandler _misc_chunk_handlers[]; extern const ChunkHandler _player_chunk_handlers[]; extern const ChunkHandler _veh_chunk_handlers[]; +extern const ChunkHandler _waypoint_chunk_handlers[]; extern const ChunkHandler _depot_chunk_handlers[]; extern const ChunkHandler _order_chunk_handlers[]; extern const ChunkHandler _town_chunk_handlers[]; @@ -884,6 +885,7 @@ extern const ChunkHandler _animated_tile_chunk_handlers[]; static const ChunkHandler * const _chunk_handlers[] = { _misc_chunk_handlers, _veh_chunk_handlers, + _waypoint_chunk_handlers, _depot_chunk_handlers, _order_chunk_handlers, _industry_chunk_handlers, |