|
OpenTTD Source
14.0-beta1
|
#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, 256 > | 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 |
LeagueTable base class.
Definition in file league_base.h.
| bool IsValidLink | ( | Link | link | ) |
Checks whether a link is valid, i.e.
has a valid target.
| link | the link to check |
Definition at line 34 of file league_cmd.cpp.
References Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_industry_pool >::IsValidID(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_company_pool >::IsValidID(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_story_page_pool >::IsValidID(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_town_pool >::IsValidID(), IsValidTile(), LT_COMPANY, LT_INDUSTRY, LT_NONE, LT_STORY_PAGE, LT_TILE, and LT_TOWN.
Referenced by CmdCreateLeagueTableElement(), and CmdUpdateLeagueTableElementData().