OpenTTD Source  13.2.1
league_type.h File Reference

Go to the source code of this file.

Data Structures

struct  Link
 

Typedefs

typedef uint32 LinkTargetID
 Contains either tile, industry ID, town ID, story page ID or company ID.
 
typedef uint8 LeagueTableID
 ID of a league table.
 
typedef uint16 LeagueTableElementID
 ID of a league table element.
 

Enumerations

enum  LinkType : byte {
  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...
 

Variables

static const LeagueTableID INVALID_LEAGUE_TABLE = 0xFF
 Invalid/unknown index of LeagueTable.
 
static const LeagueTableElementID INVALID_LEAGUE_TABLE_ELEMENT = 0xFFFF
 Invalid/unknown index of LeagueTableElement.
 

Detailed Description

basic types related to league tables

Definition in file league_type.h.

Enumeration Type Documentation

◆ LinkType

enum LinkType : byte

Types of the possible link targets.

Enumerator
LT_NONE 

No link.

LT_TILE 

Link a tile.

LT_INDUSTRY 

Link an industry.

LT_TOWN 

Link a town.

LT_COMPANY 

Link a company.

LT_STORY_PAGE 

Link a story page.

Definition at line 14 of file league_type.h.