| OpenTTD
    | 
Code handling saving and loading of orders. More...
#include "../stdafx.h"#include "../order_backup.h"#include "../settings_type.h"#include "../network/network.h"#include "saveload_internal.h"#include "../safeguards.h"Go to the source code of this file.
| Functions | |
| static Order | UnpackVersion4Order (uint16 packed) | 
| Unpacks a order from savegames with version 4 and lower. | |
| Order | UnpackOldOrder (uint16 packed) | 
| Unpacks a order from savegames made with TTD(Patch) | |
| const SaveLoad * | GetOrderDescription () | 
| static void | Save_ORDR () | 
| static void | Load_ORDR () | 
| static void | Ptrs_ORDR () | 
| const SaveLoad * | GetOrderListDescription () | 
| static void | Save_ORDL () | 
| static void | Load_ORDL () | 
| static void | Ptrs_ORDL () | 
| const SaveLoad * | GetOrderBackupDescription () | 
| static void | Save_BKOR () | 
| void | Load_BKOR () | 
| static void | Ptrs_BKOR () | 
| Variables | |
| const ChunkHandler | _order_chunk_handlers [] | 
Code handling saving and loading of orders.
Definition in file order_sl.cpp.
| Order UnpackOldOrder | ( | uint16 | packed | ) | 
Unpacks a order from savegames made with TTD(Patch)
| packed | packed order | 
Definition at line 91 of file order_sl.cpp.
References Order::IsType(), Order::MakeDummy(), and UnpackVersion4Order().
Referenced by LoadOldVehicle().
| 
 | static | 
Unpacks a order from savegames with version 4 and lower.
| packed | packed order | 
Definition at line 81 of file order_sl.cpp.
References GB().
Referenced by UnpackOldOrder().
| const ChunkHandler _order_chunk_handlers[] | 
 1.8.1.2
 1.8.1.2