|
OpenTTD Source 20251117-master-g7398d2e290
|
GUI for league tables. More...
#include "stdafx.h"#include "league_gui.h"#include "company_base.h"#include "company_gui.h"#include "gui.h"#include "industry.h"#include "league_base.h"#include "sortlist_type.h"#include "story_base.h"#include "strings_func.h"#include "tile_map.h"#include "town.h"#include "viewport_func.h"#include "window_gui.h"#include "widgets/league_widget.h"#include "table/strings.h"#include "table/sprites.h"#include "safeguards.h"Go to the source code of this file.
Data Structures | |
| class | PerformanceLeagueWindow |
| class | ScriptLeagueWindow |
Functions | |
| static StringID | GetPerformanceTitleFromValue (uint value) |
| void | ShowPerformanceLeagueTable () |
| static void | HandleLinkClick (Link link) |
| void | ShowScriptLeagueTable (LeagueTableID table) |
| void | ShowFirstLeagueTable () |
Variables | |
| static const StringID | _performance_titles [] |
| static constexpr std::initializer_list< NWidgetPart > | _nested_performance_league_widgets |
| static WindowDesc | _performance_league_desc (WDP_AUTO, "performance_league", 0, 0, WC_COMPANY_LEAGUE, WC_NONE, {}, _nested_performance_league_widgets) |
| static constexpr std::initializer_list< NWidgetPart > | _nested_script_league_widgets |
| static WindowDesc | _script_league_desc (WDP_AUTO, "script_league", 0, 0, WC_COMPANY_LEAGUE, WC_NONE, {}, _nested_script_league_widgets) |
GUI for league tables.
Definition in file league_gui.cpp.
|
inlinestatic |
Definition at line 52 of file league_gui.cpp.
|
static |
Definition at line 206 of file league_gui.cpp.
| void ShowFirstLeagueTable | ( | ) |
Definition at line 443 of file league_gui.cpp.
| void ShowPerformanceLeagueTable | ( | ) |
Definition at line 201 of file league_gui.cpp.
| void ShowScriptLeagueTable | ( | LeagueTableID | table | ) |
Definition at line 437 of file league_gui.cpp.
|
staticconstexpr |
Definition at line 183 of file league_gui.cpp.
|
staticconstexpr |
Definition at line 419 of file league_gui.cpp.
|
static |
Definition at line 33 of file league_gui.cpp.