Public Member Functions | Data Fields

EngineRenew Struct Reference

Struct to store engine replacements. More...

#include <autoreplace_base.h>

Inheritance diagram for EngineRenew:
Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_enginerenew_pool >

Public Member Functions

 EngineRenew (EngineID from=INVALID_ENGINE, EngineID to=INVALID_ENGINE)

Data Fields

EngineID from
EngineID to
EngineRenewnext
GroupID group_id
bool replace_when_old
 Do replacement only when vehicle is old.

Detailed Description

Struct to store engine replacements.

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 35 of file autoreplace_base.h.


The documentation for this struct was generated from the following file: