|
OpenTTD Source 20251116-master-g21329071df
|
basic types related to league tables More...
#include "core/pool_type.hpp"Go to the source code of this file.
Data Structures | |
| struct | Link |
Typedefs | |
| typedef uint32_t | LinkTargetID |
| Contains either tile, industry ID, town ID, story page ID or company ID. | |
| using | LeagueTableID = PoolID< uint8_t, struct LeagueTableIDTag, 255, 0xFF > |
| ID of a league table. | |
| using | LeagueTableElementID = PoolID< uint16_t, struct LeagueTableElementIDTag, 64000, 0xFFFF > |
| ID of a league table. | |
Enumerations | |
| enum | LinkType : uint8_t { LT_NONE = 0 , LT_TILE = 1 , LT_INDUSTRY = 2 , LT_TOWN = 3 , LT_COMPANY = 4 , LT_STORY_PAGE = 5 } |
| Types of the possible link targets. More... | |
basic types related to league tables
Definition in file league_type.h.
| using LeagueTableElementID = PoolID<uint16_t, struct LeagueTableElementIDTag, 64000, 0xFFFF> |
ID of a league table.
Definition at line 38 of file league_type.h.
| using LeagueTableID = PoolID<uint8_t, struct LeagueTableIDTag, 255, 0xFF> |
ID of a league table.
Definition at line 35 of file league_type.h.
| typedef uint32_t LinkTargetID |
Contains either tile, industry ID, town ID, story page ID or company ID.
Definition at line 25 of file league_type.h.