OpenTTD Source  20241108-master-g80f628063a
league_base.h File Reference

LeagueTable base class. More...

#include "company_type.h"
#include "goal_type.h"
#include "league_type.h"
#include "core/pool_type.hpp"

Go to the source code of this file.

Data Structures

struct  LeagueTableElement
 Struct about league table elements. More...
 
struct  LeagueTable
 Struct about custom league tables. More...
 

Typedefs

typedef Pool< LeagueTableElement, LeagueTableElementID, 64, 64000 > LeagueTableElementPool
 
typedef Pool< LeagueTable, LeagueTableID, 4, 255 > LeagueTablePool
 

Functions

bool IsValidLink (Link link)
 Checks whether a link is valid, i.e. More...
 

Variables

LeagueTableElementPool _league_table_element_pool
 
LeagueTablePool _league_table_pool
 

Detailed Description

LeagueTable base class.

Definition in file league_base.h.

Function Documentation

◆ IsValidLink()