2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 /** @file water_regions_sl.cpp Handles saving and loading of water region data */
10 #include "../stdafx.h"
14 #include "../safeguards.h"
16 extern void SlSkipArray();
18 /* Water Region savegame data is no longer used, but still needed for old savegames to load without errors. */
19 struct WaterRegionChunkHandler
: ChunkHandler
{
20 WaterRegionChunkHandler() : ChunkHandler('WRGN', CH_READONLY
)
23 void Load() const override
30 static const WaterRegionChunkHandler WRGN
;
31 static const ChunkHandlerRef water_region_chunk_handlers
[] = { WRGN
};
32 extern const ChunkHandlerTable
_water_region_chunk_handlers(water_region_chunk_handlers
);