OpenTTD Source 20250312-master-gcdcc6b491d
|
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 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 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 207 of file league_gui.cpp.
void ShowFirstLeagueTable | ( | ) |
Definition at line 442 of file league_gui.cpp.
void ShowPerformanceLeagueTable | ( | ) |
Definition at line 202 of file league_gui.cpp.
void ShowScriptLeagueTable | ( | LeagueTableID | table | ) |
Definition at line 436 of file league_gui.cpp.
|
staticconstexpr |
Definition at line 184 of file league_gui.cpp.
|
staticconstexpr |
Definition at line 418 of file league_gui.cpp.
|
static |
Definition at line 33 of file league_gui.cpp.