EngineRenew Struct Reference

Memory pool for engine renew elements. More...

#include <autoreplace_base.h>

Inheritance diagram for EngineRenew:

PoolItem< T, Tid, Tpool >

Public Member Functions

 EngineRenew (EngineID from=INVALID_ENGINE, EngineID to=INVALID_ENGINE)
bool IsValid () const

Data Fields

EngineID from
EngineID to
EngineRenewnext
GroupID group_id

Detailed Description

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


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

Generated on Mon Sep 22 20:34:34 2008 for openttd by  doxygen 1.5.6