|
OpenTTD Source 20260621-master-g720d10536d
|
Basic types related to goals. More...
#include "core/pool_type.hpp"Go to the source code of this file.
Typedefs | |
| using | GoalQuestionButtons = EnumBitSet<GoalQuestionButton, uint32_t, GoalQuestionButton::End> |
Bitset of GoalQuestionButton elements. | |
| 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 class | GoalQuestionType : uint8_t { Question = 0 , Information = 1 , Warning = 2 , Error = 3 , End } |
| Types of goal questions. More... | |
| enum class | GoalQuestionButton : uint8_t { Cancel , Ok , No , Yes , Decline , Accept , Ignore , Retry , Previous , Next , Stop , Start , Go , Continue , Restart , Postpone , Surrender , Close , End } |
| Types of buttons that can be in the question window. More... | |
| enum class | GoalType : uint8_t { None , Tile , Industry , Town , Company , StoryPage } |
| Types of goal destinations. More... | |
Basic types related to goals.
Definition in file goal_type.h.
ID of a goal.
Definition at line 63 of file goal_type.h.
| using GoalQuestionButtons = EnumBitSet<GoalQuestionButton, uint32_t, GoalQuestionButton::End> |
Bitset of GoalQuestionButton elements.
Definition at line 48 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 60 of file goal_type.h.
|
strong |
Types of buttons that can be in the question window.
Definition at line 25 of file goal_type.h.
|
strong |
Types of goal questions.
Definition at line 16 of file goal_type.h.
|
strong |
Types of goal destinations.
Definition at line 51 of file goal_type.h.