OpenTTD Source: src/window_type.h Source File

OpenTTD Source 15.3

window_type.h
Go to the documentation of this file.
1/*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
10#ifndef WINDOW_TYPE_H
11#define WINDOW_TYPE_H
12
13#include "core/convertible_through_base.hpp"
14
20 using WidgetID = int;
21
23 static constexpr WidgetID INVALID_WIDGET = -1;
24
26 enum WindowNumberEnum : uint8_t {
27 WN_GAME_OPTIONS_AI = 0,
28 WN_GAME_OPTIONS_GS,
29 WN_GAME_OPTIONS_ABOUT,
30 WN_GAME_OPTIONS_NEWGRF_STATE,
31 WN_GAME_OPTIONS_GAME_OPTIONS,
32 WN_GAME_OPTIONS_GAME_SETTINGS,
33
34 WN_QUERY_STRING = 0,
35 WN_QUERY_STRING_SIGN,
36
37 WN_CONFIRM_POPUP_QUERY = 0,
38 WN_CONFIRM_POPUP_QUERY_BOOTSTRAP,
39
40 WN_NETWORK_WINDOW_GAME = 0,
41 WN_NETWORK_WINDOW_CONTENT_LIST,
42 WN_NETWORK_WINDOW_START,
43
44 WN_NETWORK_STATUS_WINDOW_JOIN = 0,
45 WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD,
46};
47
49 enum WindowClass : uint16_t {
50 WC_NONE,
51
56 WC_MAIN_WINDOW = WC_NONE,
57
63 WC_MAIN_TOOLBAR,
64
69 WC_STATUS_BAR,
70
78 WC_BUILD_TOOLBAR,
79
85 WC_SCEN_BUILD_TOOLBAR,
86
91 WC_BUILD_TREES,
92
97 WC_TRANSPARENCY_TOOLBAR,
98
103 WC_BUILD_SIGNAL,
104
109 WC_SMALLMAP,
110
115 WC_ERRMSG,
116
121 WC_TOOLTIPS,
122
128 WC_QUERY_STRING,
129
135 WC_CONFIRM_POPUP_QUERY,
136
142 WC_GOAL_QUESTION,
143
144
149 WC_SAVELOAD,
150
155 WC_LAND_INFO,
156
161 WC_DROPDOWN_MENU,
162
167 WC_OSK,
168
173 WC_SET_DATE,
174
175
180 WC_SCRIPT_SETTINGS,
181
186 WC_GRF_PARAMETERS,
187
192 WC_TEXTFILE,
193
194
199 WC_TOWN_AUTHORITY,
200
205 WC_VEHICLE_DETAILS,
206
211 WC_VEHICLE_REFIT,
212
217 WC_VEHICLE_ORDERS,
218
223 WC_REPLACE_VEHICLE,
224
229 WC_VEHICLE_TIMETABLE,
230
235 WC_COMPANY_COLOUR,
236
241 WC_COMPANY_MANAGER_FACE,
242
247 WC_SELECT_STATION,
248
253 WC_NEWS_WINDOW,
254
259 WC_TOWN_DIRECTORY,
260
265 WC_SUBSIDIES_LIST,
266
271 WC_INDUSTRY_DIRECTORY,
272
277 WC_MESSAGE_HISTORY,
278
283 WC_SIGN_LIST,
284
289 WC_SCRIPT_LIST,
290
295 WC_GOALS_LIST,
296
301 WC_STORY_BOOK,
302
307 WC_STATION_LIST,
308
313 WC_TRAINS_LIST,
314
319 WC_ROADVEH_LIST,
320
325 WC_SHIPS_LIST,
326
331 WC_AIRCRAFT_LIST,
332
333
338 WC_TOWN_VIEW,
339
344 WC_VEHICLE_VIEW,
345
350 WC_STATION_VIEW,
351
356 WC_VEHICLE_DEPOT,
357
362 WC_WAYPOINT_VIEW,
363
368 WC_INDUSTRY_VIEW,
369
374 WC_COMPANY,
375
376
381 WC_BUILD_OBJECT,
382
387 WC_BUILD_HOUSE,
388
394 WC_BUILD_VEHICLE,
395
400 WC_BUILD_BRIDGE,
401
408 WC_BUILD_STATION,
409
414 WC_BUS_STATION,
415
420 WC_TRUCK_STATION,
421
428 WC_BUILD_DEPOT,
429
434 WC_BUILD_WAYPOINT,
435
440 WC_FOUND_TOWN,
441
446 WC_BUILD_INDUSTRY,
447
448
453 WC_SELECT_GAME,
454
460 WC_SCEN_LAND_GEN,
461
467 WC_GENERATE_LANDSCAPE,
468
474 WC_MODAL_PROGRESS,
475
476
483 WC_NETWORK_WINDOW,
484
489 WC_CLIENT_LIST,
490
496 WC_NETWORK_STATUS_WINDOW,
497
502 WC_NETWORK_ASK_RELAY,
503
508 WC_NETWORK_ASK_SURVEY,
509
514 WC_SEND_NETWORK_MSG,
515
520 WC_INDUSTRY_CARGOES,
521
526 WC_GRAPH_LEGEND,
527
532 WC_FINANCES,
533
538 WC_INCOME_GRAPH,
539
544 WC_OPERATING_PROFIT,
545
550 WC_DELIVERED_CARGO,
551
556 WC_PERFORMANCE_HISTORY,
557
562 WC_COMPANY_VALUE,
563
568 WC_COMPANY_LEAGUE,
569
574 WC_PAYMENT_RATES,
575
580 WC_PERFORMANCE_DETAIL,
581
586 WC_INDUSTRY_PRODUCTION,
587
592 WC_TOWN_CARGO_GRAPH,
593
598 WC_COMPANY_INFRASTRUCTURE,
599
600
605 WC_BUY_COMPANY,
606
611 WC_ENGINE_PREVIEW,
612
613
618 WC_MUSIC_WINDOW,
619
624 WC_MUSIC_TRACK_SELECTION,
625
635 WC_GAME_OPTIONS,
636
641 WC_CUSTOM_CURRENCY,
642
647 WC_CHEATS,
648
653 WC_EXTRA_VIEWPORT,
654
655
660 WC_CONSOLE,
661
666 WC_BOOTSTRAP,
667
672 WC_HIGHSCORE,
673
678 WC_ENDSCREEN,
679
680
685 WC_SCRIPT_DEBUG,
686
691 WC_NEWGRF_INSPECT,
692
697 WC_SPRITE_ALIGNER,
698
703 WC_LINKGRAPH_LEGEND,
704
709 WC_SAVE_PRESET,
710
715 WC_FRAMERATE_DISPLAY,
716
721 WC_FRAMETIME_GRAPH,
722
727 WC_SCREENSHOT,
728
729 /*
730 * Help and manuals window; %Window numbers:
731 * - 0 = #HelpWindowWidgets
732 */
733 WC_HELPWIN,
734
735 WC_INVALID = 0xFFFF,
736};
737
739 enum GameOptionsInvalidationData : uint8_t {
740 GOID_DEFAULT = 0,
741 GOID_NEWGRF_RESCANNED,
742 GOID_NEWGRF_CURRENT_LOADED,
743 GOID_NEWGRF_LIST_EDITED,
744 GOID_NEWGRF_CHANGES_MADE,
745};
746
747struct Window;
748
760 struct WindowNumber {
761private:
762 int32_t value = 0;
763public:
764 WindowNumber() = default;
765 WindowNumber(int32_t value) : value(value) {}
766 WindowNumber(ConvertibleThroughBase auto value) : value(value.base()) {}
767
768 /* Automatically convert to int32_t. */
769 operator int32_t() const { return value; }
770
771 /* Automatically convert to any other type that might be requested. */
772 template <typename T> requires (std::is_enum_v<T> || std::is_class_v<T>)
773 operator T() const { return static_cast<T>(value); };
774
775 constexpr bool operator==(const std::integral auto &rhs) const { return this->value == static_cast<int32_t>(rhs); }
776 constexpr bool operator==(const ConvertibleThroughBase auto &rhs) const { return this->value == static_cast<int32_t>(rhs.base()); }
777};
778
780 enum EventState : uint8_t {
781 ES_HANDLED,
782 ES_NOT_HANDLED,
783};
784
785#endif /* WINDOW_TYPE_H */
ConvertibleThroughBase
A type is considered 'convertible through base()' when it has a 'base()' function that returns someth...
Definition convertible_through_base.hpp:19
convertible_through_base.hpp
Concept for unifying the convert through 'base()' behaviour of several 'strong' types.
WindowNumber
Number to differentiate different windows of the same class.
Definition window_type.h:760
Window
Data structure for an opened window.
Definition window_gui.h:274
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20
WindowNumberEnum
WindowNumberEnum
Window numbers.
Definition window_type.h:26
WN_QUERY_STRING
@ WN_QUERY_STRING
Query string.
Definition window_type.h:34
WN_NETWORK_WINDOW_CONTENT_LIST
@ WN_NETWORK_WINDOW_CONTENT_LIST
Network content list.
Definition window_type.h:41
WN_GAME_OPTIONS_NEWGRF_STATE
@ WN_GAME_OPTIONS_NEWGRF_STATE
NewGRF settings.
Definition window_type.h:30
WN_NETWORK_STATUS_WINDOW_JOIN
@ WN_NETWORK_STATUS_WINDOW_JOIN
Network join status.
Definition window_type.h:44
WN_GAME_OPTIONS_ABOUT
@ WN_GAME_OPTIONS_ABOUT
About window.
Definition window_type.h:29
WN_CONFIRM_POPUP_QUERY_BOOTSTRAP
@ WN_CONFIRM_POPUP_QUERY_BOOTSTRAP
Query popup confirm for bootstrap.
Definition window_type.h:38
WN_GAME_OPTIONS_GS
@ WN_GAME_OPTIONS_GS
GS settings.
Definition window_type.h:28
WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD
@ WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD
Network content download status.
Definition window_type.h:45
WN_QUERY_STRING_SIGN
@ WN_QUERY_STRING_SIGN
Query string for signs.
Definition window_type.h:35
WN_NETWORK_WINDOW_GAME
@ WN_NETWORK_WINDOW_GAME
Network game window.
Definition window_type.h:40
WN_CONFIRM_POPUP_QUERY
@ WN_CONFIRM_POPUP_QUERY
Query popup confirm.
Definition window_type.h:37
WN_GAME_OPTIONS_GAME_OPTIONS
@ WN_GAME_OPTIONS_GAME_OPTIONS
Game options.
Definition window_type.h:31
WN_GAME_OPTIONS_AI
@ WN_GAME_OPTIONS_AI
AI settings.
Definition window_type.h:27
WN_NETWORK_WINDOW_START
@ WN_NETWORK_WINDOW_START
Network start server.
Definition window_type.h:42
WN_GAME_OPTIONS_GAME_SETTINGS
@ WN_GAME_OPTIONS_GAME_SETTINGS
Game settings.
Definition window_type.h:32
EventState
EventState
State of handling an event.
Definition window_type.h:780
ES_HANDLED
@ ES_HANDLED
The passed event is handled.
Definition window_type.h:781
ES_NOT_HANDLED
@ ES_NOT_HANDLED
The passed event is not handled.
Definition window_type.h:782
GameOptionsInvalidationData
GameOptionsInvalidationData
Data value for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
Definition window_type.h:739
GOID_NEWGRF_CURRENT_LOADED
@ GOID_NEWGRF_CURRENT_LOADED
The current list of active NewGRF has been loaded.
Definition window_type.h:742
GOID_NEWGRF_RESCANNED
@ GOID_NEWGRF_RESCANNED
NewGRFs were just rescanned.
Definition window_type.h:741
GOID_NEWGRF_CHANGES_MADE
@ GOID_NEWGRF_CHANGES_MADE
Changes have been made to a given NewGRF either through the palette or its parameters.
Definition window_type.h:744
GOID_NEWGRF_LIST_EDITED
@ GOID_NEWGRF_LIST_EDITED
List of active NewGRFs is being edited.
Definition window_type.h:743
INVALID_WIDGET
static constexpr WidgetID INVALID_WIDGET
An invalid widget index.
Definition window_type.h:23
WindowClass
WindowClass
Window classes.
Definition window_type.h:49
WC_PERFORMANCE_HISTORY
@ WC_PERFORMANCE_HISTORY
Performance history graph; Window numbers:
Definition window_type.h:556
WC_INVALID
@ WC_INVALID
Invalid window.
Definition window_type.h:735
WC_LAND_INFO
@ WC_LAND_INFO
Land info window; Window numbers:
Definition window_type.h:155
WC_TOWN_AUTHORITY
@ WC_TOWN_AUTHORITY
Town authority; Window numbers:
Definition window_type.h:199
WC_OSK
@ WC_OSK
On Screen Keyboard; Window numbers:
Definition window_type.h:167
WC_FRAMETIME_GRAPH
@ WC_FRAMETIME_GRAPH
Frame time graph; Window numbers:
Definition window_type.h:721
WC_WAYPOINT_VIEW
@ WC_WAYPOINT_VIEW
Waypoint view; Window numbers:
Definition window_type.h:362
WC_COMPANY_LEAGUE
@ WC_COMPANY_LEAGUE
Company league window; Window numbers:
Definition window_type.h:568
WC_CONSOLE
@ WC_CONSOLE
Console; Window numbers:
Definition window_type.h:660
WC_SET_DATE
@ WC_SET_DATE
Set date; Window numbers:
Definition window_type.h:173
WC_BUILD_STATION
@ WC_BUILD_STATION
Build station; Window numbers:
Definition window_type.h:408
WC_NEWS_WINDOW
@ WC_NEWS_WINDOW
News window; Window numbers:
Definition window_type.h:253
WC_HIGHSCORE
@ WC_HIGHSCORE
Highscore; Window numbers:
Definition window_type.h:672
WC_BUILD_OBJECT
@ WC_BUILD_OBJECT
Build object; Window numbers:
Definition window_type.h:381
WC_SIGN_LIST
@ WC_SIGN_LIST
Sign list; Window numbers:
Definition window_type.h:283
WC_BUY_COMPANY
@ WC_BUY_COMPANY
Buyout company (merger); Window numbers:
Definition window_type.h:605
WC_SPRITE_ALIGNER
@ WC_SPRITE_ALIGNER
Sprite aligner (debug); Window numbers:
Definition window_type.h:697
WC_COMPANY_INFRASTRUCTURE
@ WC_COMPANY_INFRASTRUCTURE
Company infrastructure overview; Window numbers:
Definition window_type.h:598
WC_PERFORMANCE_DETAIL
@ WC_PERFORMANCE_DETAIL
Performance detail window; Window numbers:
Definition window_type.h:580
WC_ENDSCREEN
@ WC_ENDSCREEN
Endscreen; Window numbers:
Definition window_type.h:678
WC_COMPANY_COLOUR
@ WC_COMPANY_COLOUR
Company colour selection; Window numbers:
Definition window_type.h:235
WC_PAYMENT_RATES
@ WC_PAYMENT_RATES
Payment rates graph; Window numbers:
Definition window_type.h:574
WC_GRAPH_LEGEND
@ WC_GRAPH_LEGEND
Legend for graphs; Window numbers:
Definition window_type.h:526
WC_STATION_LIST
@ WC_STATION_LIST
Station list; Window numbers:
Definition window_type.h:307
WC_ROADVEH_LIST
@ WC_ROADVEH_LIST
Road vehicle list; Window numbers:
Definition window_type.h:319
WC_LINKGRAPH_LEGEND
@ WC_LINKGRAPH_LEGEND
Linkgraph legend; Window numbers:
Definition window_type.h:703
WC_STATUS_BAR
@ WC_STATUS_BAR
Statusbar (at the bottom of your screen); Window numbers:
Definition window_type.h:69
WC_FOUND_TOWN
@ WC_FOUND_TOWN
Found a town; Window numbers:
Definition window_type.h:440
WC_EXTRA_VIEWPORT
@ WC_EXTRA_VIEWPORT
Extra viewport; Window numbers:
Definition window_type.h:653
WC_GOAL_QUESTION
@ WC_GOAL_QUESTION
Popup with a set of buttons, designed to ask the user a question from a GameScript.
Definition window_type.h:142
WC_INDUSTRY_DIRECTORY
@ WC_INDUSTRY_DIRECTORY
Industry directory; Window numbers:
Definition window_type.h:271
WC_VEHICLE_ORDERS
@ WC_VEHICLE_ORDERS
Vehicle orders; Window numbers:
Definition window_type.h:217
WC_SEND_NETWORK_MSG
@ WC_SEND_NETWORK_MSG
Chatbox; Window numbers:
Definition window_type.h:514
WC_ERRMSG
@ WC_ERRMSG
Error message; Window numbers:
Definition window_type.h:115
WC_BUILD_HOUSE
@ WC_BUILD_HOUSE
Build house; Window numbers:
Definition window_type.h:387
WC_SCEN_BUILD_TOOLBAR
@ WC_SCEN_BUILD_TOOLBAR
Scenario build toolbar; Window numbers:
Definition window_type.h:85
WC_BUILD_TOOLBAR
@ WC_BUILD_TOOLBAR
Build toolbar; Window numbers:
Definition window_type.h:78
WC_SELECT_GAME
@ WC_SELECT_GAME
Select game window; Window numbers:
Definition window_type.h:453
WC_NETWORK_ASK_RELAY
@ WC_NETWORK_ASK_RELAY
Network ask relay window; Window numbers:
Definition window_type.h:502
WC_VEHICLE_DEPOT
@ WC_VEHICLE_DEPOT
Depot view; Window numbers:
Definition window_type.h:356
WC_SCRIPT_SETTINGS
@ WC_SCRIPT_SETTINGS
Script settings; Window numbers:
Definition window_type.h:180
WC_REPLACE_VEHICLE
@ WC_REPLACE_VEHICLE
Replace vehicle window; Window numbers:
Definition window_type.h:223
WC_NONE
@ WC_NONE
No window, redirects to WC_MAIN_WINDOW.
Definition window_type.h:50
WC_SCEN_LAND_GEN
@ WC_SCEN_LAND_GEN
Landscape generation (in Scenario Editor); Window numbers:
Definition window_type.h:460
WC_SELECT_STATION
@ WC_SELECT_STATION
Select station (when joining stations); Window numbers:
Definition window_type.h:247
WC_SCRIPT_LIST
@ WC_SCRIPT_LIST
Scripts list; Window numbers:
Definition window_type.h:289
WC_CHEATS
@ WC_CHEATS
Cheat window; Window numbers:
Definition window_type.h:647
WC_SAVE_PRESET
@ WC_SAVE_PRESET
Save preset; Window numbers:
Definition window_type.h:709
WC_INDUSTRY_CARGOES
@ WC_INDUSTRY_CARGOES
Industry cargoes chain; Window numbers:
Definition window_type.h:520
WC_SHIPS_LIST
@ WC_SHIPS_LIST
Ships list; Window numbers:
Definition window_type.h:325
WC_MESSAGE_HISTORY
@ WC_MESSAGE_HISTORY
News history list; Window numbers:
Definition window_type.h:277
WC_GOALS_LIST
@ WC_GOALS_LIST
Goals list; Window numbers:
Definition window_type.h:295
WC_TRANSPARENCY_TOOLBAR
@ WC_TRANSPARENCY_TOOLBAR
Transparency toolbar; Window numbers:
Definition window_type.h:97
WC_STATION_VIEW
@ WC_STATION_VIEW
Station view; Window numbers:
Definition window_type.h:350
WC_MUSIC_TRACK_SELECTION
@ WC_MUSIC_TRACK_SELECTION
Music track selection; Window numbers:
Definition window_type.h:624
WC_BUILD_SIGNAL
@ WC_BUILD_SIGNAL
Build signal toolbar; Window numbers:
Definition window_type.h:103
WC_OPERATING_PROFIT
@ WC_OPERATING_PROFIT
Operating profit graph; Window numbers:
Definition window_type.h:544
WC_MUSIC_WINDOW
@ WC_MUSIC_WINDOW
Music window; Window numbers:
Definition window_type.h:618
WC_BUILD_DEPOT
@ WC_BUILD_DEPOT
Build depot; Window numbers:
Definition window_type.h:428
WC_INDUSTRY_PRODUCTION
@ WC_INDUSTRY_PRODUCTION
Industry production history graph; Window numbers:
Definition window_type.h:586
WC_ENGINE_PREVIEW
@ WC_ENGINE_PREVIEW
Engine preview window; Window numbers:
Definition window_type.h:611
WC_CLIENT_LIST
@ WC_CLIENT_LIST
Client list; Window numbers:
Definition window_type.h:489
WC_CONFIRM_POPUP_QUERY
@ WC_CONFIRM_POPUP_QUERY
Popup with confirm question; Window numbers:
Definition window_type.h:135
WC_GENERATE_LANDSCAPE
@ WC_GENERATE_LANDSCAPE
Generate landscape (newgame); Window numbers:
Definition window_type.h:467
WC_CUSTOM_CURRENCY
@ WC_CUSTOM_CURRENCY
Custom currency; Window numbers:
Definition window_type.h:641
WC_MAIN_WINDOW
@ WC_MAIN_WINDOW
Main window; Window numbers:
Definition window_type.h:56
WC_TRUCK_STATION
@ WC_TRUCK_STATION
Build truck station; Window numbers:
Definition window_type.h:420
WC_TRAINS_LIST
@ WC_TRAINS_LIST
Trains list; Window numbers:
Definition window_type.h:313
WC_TOWN_VIEW
@ WC_TOWN_VIEW
Town view; Window numbers:
Definition window_type.h:338
WC_GAME_OPTIONS
@ WC_GAME_OPTIONS
Game options window; Window numbers:
Definition window_type.h:635
WC_NETWORK_WINDOW
@ WC_NETWORK_WINDOW
Network window; Window numbers:
Definition window_type.h:483
WC_INDUSTRY_VIEW
@ WC_INDUSTRY_VIEW
Industry view; Window numbers:
Definition window_type.h:368
WC_FINANCES
@ WC_FINANCES
Finances of a company; Window numbers:
Definition window_type.h:532
WC_SCRIPT_DEBUG
@ WC_SCRIPT_DEBUG
Script debug window; Window numbers:
Definition window_type.h:685
WC_TEXTFILE
@ WC_TEXTFILE
textfile; Window numbers:
Definition window_type.h:192
WC_INCOME_GRAPH
@ WC_INCOME_GRAPH
Income graph; Window numbers:
Definition window_type.h:538
WC_TOWN_DIRECTORY
@ WC_TOWN_DIRECTORY
Town directory; Window numbers:
Definition window_type.h:259
WC_VEHICLE_REFIT
@ WC_VEHICLE_REFIT
Vehicle refit; Window numbers:
Definition window_type.h:211
WC_DROPDOWN_MENU
@ WC_DROPDOWN_MENU
Drop down menu; Window numbers:
Definition window_type.h:161
WC_NEWGRF_INSPECT
@ WC_NEWGRF_INSPECT
NewGRF inspect (debug); Window numbers:
Definition window_type.h:691
WC_BUS_STATION
@ WC_BUS_STATION
Build bus station; Window numbers:
Definition window_type.h:414
WC_QUERY_STRING
@ WC_QUERY_STRING
Query string window; Window numbers:
Definition window_type.h:128
WC_BUILD_WAYPOINT
@ WC_BUILD_WAYPOINT
Build waypoint; Window numbers:
Definition window_type.h:434
WC_SMALLMAP
@ WC_SMALLMAP
Small map; Window numbers:
Definition window_type.h:109
WC_COMPANY_MANAGER_FACE
@ WC_COMPANY_MANAGER_FACE
Alter company face window; Window numbers:
Definition window_type.h:241
WC_BOOTSTRAP
@ WC_BOOTSTRAP
Bootstrap; Window numbers:
Definition window_type.h:666
WC_SAVELOAD
@ WC_SAVELOAD
Saveload window; Window numbers:
Definition window_type.h:149
WC_DELIVERED_CARGO
@ WC_DELIVERED_CARGO
Delivered cargo graph; Window numbers:
Definition window_type.h:550
WC_FRAMERATE_DISPLAY
@ WC_FRAMERATE_DISPLAY
Framerate display; Window numbers:
Definition window_type.h:715
WC_GRF_PARAMETERS
@ WC_GRF_PARAMETERS
NewGRF parameters; Window numbers:
Definition window_type.h:186
WC_COMPANY_VALUE
@ WC_COMPANY_VALUE
Company value graph; Window numbers:
Definition window_type.h:562
WC_BUILD_TREES
@ WC_BUILD_TREES
Build trees toolbar; Window numbers:
Definition window_type.h:91
WC_STORY_BOOK
@ WC_STORY_BOOK
Story book; Window numbers:
Definition window_type.h:301
WC_MODAL_PROGRESS
@ WC_MODAL_PROGRESS
Progress report of landscape generation; Window numbers:
Definition window_type.h:474
WC_MAIN_TOOLBAR
@ WC_MAIN_TOOLBAR
Main toolbar (the long bar at the top); Window numbers:
Definition window_type.h:63
WC_TOOLTIPS
@ WC_TOOLTIPS
Tooltip window; Window numbers:
Definition window_type.h:121
WC_SUBSIDIES_LIST
@ WC_SUBSIDIES_LIST
Subsidies list; Window numbers:
Definition window_type.h:265
WC_VEHICLE_DETAILS
@ WC_VEHICLE_DETAILS
Vehicle details; Window numbers:
Definition window_type.h:205
WC_COMPANY
@ WC_COMPANY
Company view; Window numbers:
Definition window_type.h:374
WC_BUILD_BRIDGE
@ WC_BUILD_BRIDGE
Build bridge; Window numbers:
Definition window_type.h:400
WC_NETWORK_STATUS_WINDOW
@ WC_NETWORK_STATUS_WINDOW
Network status window; Window numbers:
Definition window_type.h:496
WC_VEHICLE_VIEW
@ WC_VEHICLE_VIEW
Vehicle view; Window numbers:
Definition window_type.h:344
WC_BUILD_VEHICLE
@ WC_BUILD_VEHICLE
Build vehicle; Window numbers:
Definition window_type.h:394
WC_BUILD_INDUSTRY
@ WC_BUILD_INDUSTRY
Build industry; Window numbers:
Definition window_type.h:446
WC_VEHICLE_TIMETABLE
@ WC_VEHICLE_TIMETABLE
Vehicle timetable; Window numbers:
Definition window_type.h:229
WC_AIRCRAFT_LIST
@ WC_AIRCRAFT_LIST
Aircraft list; Window numbers:
Definition window_type.h:331
WC_SCREENSHOT
@ WC_SCREENSHOT
Screenshot window; Window numbers:
Definition window_type.h:727
WC_NETWORK_ASK_SURVEY
@ WC_NETWORK_ASK_SURVEY
Network ask survey window; Window numbers:
Definition window_type.h:508
WC_TOWN_CARGO_GRAPH
@ WC_TOWN_CARGO_GRAPH
Town cargo history graph; Window numbers:
Definition window_type.h:592