basic types related to goals More...
Go to the source code of this file.
Typedefs | |
typedef SimpleTinyEnumT < GoalType, byte > | GoalTypeByte |
The GoalType packed into a byte for savegame purposes. | |
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 | { GOAL_QUESTION_BUTTON_COUNT = 18 } |
enum | GoalType { GT_NONE, GT_TILE, GT_INDUSTRY, GT_TOWN, GT_COMPANY } |
Types of goal destinations. More... | |
Variables | |
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.
anonymous enum |
Definition at line 15 of file goal_type.h.
enum GoalType |
Types of goal destinations.
GT_NONE |
Destination is not linked. |
GT_TILE |
Destination is a tile. |
GT_INDUSTRY |
Destination is an industry. |
GT_TOWN |
Destination is a town. |
GT_COMPANY |
Destination is a company. |
Definition at line 20 of file goal_type.h.