OpenTTD Source: src/order_backup.h File Reference

OpenTTD Source 13.1

Data Structures | Typedefs | Variables
order_backup.h File Reference
`#include "core/pool_type.hpp"`
`#include "group_type.h"`
`#include "tile_type.h"`
`#include "vehicle_type.h"`
`#include "base_consist.h"`
`#include "saveload/saveload.h"`

Go to the source code of this file.

## Data Structures
struct | OrderBackup
| Data for backing up an order of a vehicle so it can be restored after a vehicle is rebuilt in the same depot. More...

## Typedefs
typedef uint8 | OrderBackupID
| Unique identifier for an order backup.
typedef Pool< OrderBackup, OrderBackupID, 1, 256 > | OrderBackupPool
| The pool type for order backups.

## Variables
OrderBackupPool | _order_backup_pool
| The pool with order backups.
static const uint32 | MAKE_ORDER_BACKUP_FLAG = 1U << 31
| Flag to pass to the vehicle construction command when an order should be preserved.

## Detailed Description

Functions related to order backups.

Definition in file order_backup.h.