Container for an encoded string, created by GetEncodedString.
Types related to companies.
Basic types related to goals.
GoalType
Types of goal destinations.
@ GT_NONE
Destination is not linked.
uint32_t GoalTypeID
Contains either tile, industry ID, town ID, company ID, or story page ID.
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle,...
Types related to strings.
Struct about goals, current and completed.
~Goal()
(Empty) destructor has to be defined else operator delete might be called with nullptr parameter
EncodedString progress
Progress text of the goal.
EncodedString text
Text of the goal.
bool completed
Is the goal completed or not?
GoalType type
Type of the goal.
GoalTypeID dst
Index of type.
CompanyID company
Goal is for a specific company; CompanyID::Invalid() if it is global.
Base class for all PoolItems.
PoolItem(Tindex index)
Construct the item.
const Tindex index
Index of this pool item.
Base class for all pools.