OpenTTD Source
12.0-beta2
|
#include "core/enum_type.hpp"
Go to the source code of this file.
Typedefs | |
typedef uint32 | GoalTypeID |
Contains either tile, industry ID, town ID or company ID (or INVALID_GOALTYPE) | |
typedef uint16 | GoalID |
ID of a goal. | |
Enumerations | |
enum | GoalQuestionType : byte { GQT_QUESTION = 0, GQT_INFORMATION = 1, GQT_WARNING = 2, GQT_ERROR = 3, GQT_END = 4 } |
enum | GoalType : byte { GT_NONE, GT_TILE, GT_INDUSTRY, GT_TOWN, GT_COMPANY, GT_STORY_PAGE } |
Types of goal destinations. More... | |
Variables | |
static const uint32 | GOAL_QUESTION_BUTTON_COUNT = 18 |
Amount of buttons available. | |
static const GoalTypeID | INVALID_GOALTYPE = 0xFFFFFFFF |
Invalid/unknown index of GoalType. | |
GoalID | _new_goal_id |
basic types related to goals
Definition in file goal_type.h.
enum GoalType : byte |
Types of goal destinations.
Definition at line 26 of file goal_type.h.