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.
Goal()
We need an (empty) constructor so struct isn't zeroed (as C++ standard states)
Base class for all PoolItems.
Base class for all pools.