OpenTTD Source 20250312-master-gcdcc6b491d
|
basic types related to goals More...
Go to the source code of this file.
Typedefs | |
typedef uint32_t | GoalTypeID |
Contains either tile, industry ID, town ID, company ID, or story page ID. | |
using | GoalID = PoolID< uint16_t, struct GoalIDTag, 64000, 0xFFFF > |
ID of a goal. | |
Enumerations | |
enum | GoalQuestionType : uint8_t { GQT_QUESTION = 0 , GQT_INFORMATION = 1 , GQT_WARNING = 2 , GQT_ERROR = 3 , GQT_END = 4 } |
enum | GoalType : uint8_t { GT_NONE , GT_TILE , GT_INDUSTRY , GT_TOWN , GT_COMPANY , GT_STORY_PAGE } |
Types of goal destinations. More... | |
Variables | |
static const uint32_t | GOAL_QUESTION_BUTTON_COUNT = 18 |
Amount of buttons available. | |
basic types related to goals
Definition in file goal_type.h.
ID of a goal.
Definition at line 39 of file goal_type.h.
typedef uint32_t GoalTypeID |
Contains either tile, industry ID, town ID, company ID, or story page ID.
Definition at line 36 of file goal_type.h.
enum GoalQuestionType : uint8_t |
Definition at line 18 of file goal_type.h.
enum GoalType : uint8_t |
Types of goal destinations.
Definition at line 27 of file goal_type.h.
|
static |
Amount of buttons available.
Definition at line 16 of file goal_type.h.
Referenced by CmdGoalQuestion(), and CmdGoalQuestionAnswer().