|
OpenTTD Source
14.0-beta3
|
Struct about goals, current and completed.
GoalTypeID dst
Index of type.
Owner
Enum for all companies/owners.
Goal()
We need an (empty) constructor so struct isn't zeroed (as C++ standard states)
uint32_t GoalTypeID
Contains either tile, industry ID, town ID, company ID, or story page ID.
~Goal()
(Empty) destructor has to be defined else operator delete might be called with nullptr parameter
Base class for all pools.
std::string progress
Progress text of the goal.
bool completed
Is the goal completed or not?
CompanyID company
Goal is for a specific company; INVALID_COMPANY if it is global.
std::string text
Text of the goal.
GoalType
Types of goal destinations.
Base class for all PoolItems.
GoalType type
Type of the goal.