#include "stdafx.h"#include "openttd.h"#include "depot.h"#include "landscape.h"#include "saveload.h"#include "order.h"#include "window_func.h"#include "table/strings.h"Go to the source code of this file.
Functions | |
| Depot * | GetDepotByTile (TileIndex tile) |
| Gets a depot from a tile. | |
| void | InitializeDepots () |
| static void | Save_DEPT () |
| static void | Load_DEPT () |
Variables | |
| static const SaveLoad | _depot_desc [] |
| const ChunkHandler | _depot_chunk_handlers [] |
Definition in file depot.cpp.
| Depot* GetDepotByTile | ( | TileIndex | tile | ) |
Gets a depot from a tile.
Definition at line 22 of file depot.cpp.
Referenced by CmdSendTrainToDepot(), and YapfFindNearestRoadDepot().
| const ChunkHandler _depot_chunk_handlers[] |
Initial value:
{
{ 'DEPT', Save_DEPT, Load_DEPT, CH_ARRAY | CH_LAST},
}
const SaveLoad _depot_desc[] [static] |
1.5.6