OpenTTD Source: src/autoreplace_base.h File Reference

OpenTTD Source 14.0-beta1

Data Structures | Typedefs | Variables
autoreplace_base.h File Reference
`#include "core/pool_type.hpp"`
`#include "autoreplace_type.h"`
`#include "engine_type.h"`
`#include "group_type.h"`

Go to the source code of this file.

## Data Structures
struct | EngineRenew
| Struct to store engine replacements. More...

## Typedefs
typedef uint16_t | EngineRenewID
typedef Pool< EngineRenew, EngineRenewID, 16, 64000 > | EngineRenewPool
| Memory pool for engine renew elements. More...

## Variables
EngineRenewPool | _enginerenew_pool
| The pool of autoreplace "orders".

## Detailed Description

Base class for autoreplaces/autorenews.

Definition in file autoreplace_base.h.

## Typedef Documentation

## ◆ EngineRenewPool

typedef Pool<EngineRenew, EngineRenewID, 16, 64000> EngineRenewPool

Memory pool for engine renew elements.

DO NOT USE outside of engine.c. Is placed here so the only exception to this rule, the saveload code, can use it.

Definition at line 25 of file autoreplace_base.h.