mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
Feature: [GS] Scriptable league tables (#10001)
This commit is contained in:
@@ -27,6 +27,7 @@ add_files(
|
||||
highscore_widget.h
|
||||
industry_widget.h
|
||||
intro_widget.h
|
||||
league_widget.h
|
||||
link_graph_legend_widget.h
|
||||
main_widget.h
|
||||
misc_widget.h
|
||||
|
@@ -51,11 +51,6 @@ enum CargoPaymentRatesWidgets {
|
||||
WID_CPR_MATRIX_SCROLLBAR,///< Cargo list scrollbar.
|
||||
};
|
||||
|
||||
/** Widget of the #CompanyLeagueWindow class. */
|
||||
enum CompanyLeagueWidgets {
|
||||
WID_CL_BACKGROUND, ///< Background of the window.
|
||||
};
|
||||
|
||||
/** Widget of the #PerformanceRatingDetailWindow class. */
|
||||
enum PerformanceRatingDetailsWidgets {
|
||||
WID_PRD_SCORE_FIRST, ///< First entry in the score list.
|
||||
|
24
src/widgets/league_widget.h
Normal file
24
src/widgets/league_widget.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* This file is part of OpenTTD.
|
||||
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
||||
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/** @file league_widget.h Types related to the graph widgets. */
|
||||
|
||||
#ifndef WIDGETS_LEAGUE_WIDGET_H
|
||||
#define WIDGETS_LEAGUE_WIDGET_H
|
||||
|
||||
/** Widget of the #PerformanceLeagueWindow class. */
|
||||
enum PerformanceLeagueWidgets {
|
||||
WID_PLT_BACKGROUND, ///< Background of the window.
|
||||
};
|
||||
|
||||
/** Widget of the #ScriptLeagueWindow class. */
|
||||
enum ScriptLeagueWidgets {
|
||||
WID_SLT_CAPTION, ///< Caption of the window.
|
||||
WID_SLT_BACKGROUND, ///< Background of the window.
|
||||
};
|
||||
|
||||
#endif /* WIDGETS_LEAGUE_WIDGET_H */
|
Reference in New Issue
Block a user