OpenTTD Source: src/saveload/water_regions_sl.cpp File Reference

OpenTTD Source 15.3

Data Structures | Functions | Variables
water_regions_sl.cpp File Reference

Handles saving and loading of water region data. More...

`#include "../stdafx.h"`
`#include "saveload.h"`
`#include "../safeguards.h"`

Go to the source code of this file.

## Data Structures
struct | WaterRegionChunkHandler

## Functions
void | SlSkipArray ()
| Skip an array or sparse array.
const ChunkHandlerTable | _water_region_chunk_handlers (water_region_chunk_handlers)

## Variables
static const WaterRegionChunkHandler | WRGN
static const ChunkHandlerRef | water_region_chunk_handlers [] = { WRGN }

## Detailed Description

Handles saving and loading of water region data.

Definition in file water_regions_sl.cpp.

## Function Documentation

## ◆ SlSkipArray()

void SlSkipArray | ( |  | ) |
| extern

Skip an array or sparse array.

Definition at line 719 of file saveload.cpp.

References _sl, SaveLoadParams::reader, SlIterateArray(), and SlSkipBytes().

Referenced by WaterRegionChunkHandler::Load(), and ChunkHandler::LoadCheck().

## Variable Documentation

## ◆ water_region_chunk_handlers

const ChunkHandlerRef water_region_chunk_handlers[] = { WRGN }
| static

Definition at line 31 of file water_regions_sl.cpp.

## ◆ WRGN

const WaterRegionChunkHandler WRGN
| static

Definition at line 30 of file water_regions_sl.cpp.