12 #ifndef AUTOREPLACE_BASE_H 13 #define AUTOREPLACE_BASE_H 20 typedef uint16 EngineRenewID;
46 #define FOR_ALL_ENGINE_RENEWS_FROM(var, start) FOR_ALL_ITEMS_FROM(EngineRenew, enginerenew_index, var, start) 47 #define FOR_ALL_ENGINE_RENEWS(var) FOR_ALL_ENGINE_RENEWS_FROM(var, 0) Pool< EngineRenew, EngineRenewID, 16, 64000 > EngineRenewPool
Memory pool for engine renew elements.
EngineRenewPool _enginerenew_pool
The pool of autoreplace "orders".
Types related to engines.
bool replace_when_old
Do replacement only when vehicle is old.
Defintion of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle...
uint16 GroupID
Type for all group identifiers.
Base class for all PoolItems.
Base class for all pools.
static const EngineID INVALID_ENGINE
Constant denoting an invalid engine.
Types related to autoreplacing.
uint16 EngineID
Unique identification number of an engine.
Struct to store engine replacements.