OpenTTD Source: src/window_type.h Source File

OpenTTD Source 15.0-beta1

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 <http://www.gnu.org/licenses/>.
6 */
7
10#ifndef WINDOW_TYPE_H
11#define WINDOW_TYPE_H
12
18 using WidgetID = int;
19
21 enum WindowNumberEnum {
22 WN_GAME_OPTIONS_AI = 0,
23 WN_GAME_OPTIONS_GS,
24 WN_GAME_OPTIONS_ABOUT,
25 WN_GAME_OPTIONS_NEWGRF_STATE,
26 WN_GAME_OPTIONS_GAME_OPTIONS,
27 WN_GAME_OPTIONS_GAME_SETTINGS,
28
29 WN_QUERY_STRING = 0,
30 WN_QUERY_STRING_SIGN,
31
32 WN_CONFIRM_POPUP_QUERY = 0,
33 WN_CONFIRM_POPUP_QUERY_BOOTSTRAP,
34
35 WN_NETWORK_WINDOW_GAME = 0,
36 WN_NETWORK_WINDOW_CONTENT_LIST,
37 WN_NETWORK_WINDOW_START,
38
39 WN_NETWORK_STATUS_WINDOW_JOIN = 0,
40 WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD,
41};
42
44 enum WindowClass {
45 WC_NONE,
46
51 WC_MAIN_WINDOW = WC_NONE,
52
58 WC_MAIN_TOOLBAR,
59
64 WC_STATUS_BAR,
65
73 WC_BUILD_TOOLBAR,
74
80 WC_SCEN_BUILD_TOOLBAR,
81
86 WC_BUILD_TREES,
87
92 WC_TRANSPARENCY_TOOLBAR,
93
98 WC_BUILD_SIGNAL,
99
104 WC_SMALLMAP,
105
110 WC_ERRMSG,
111
116 WC_TOOLTIPS,
117
123 WC_QUERY_STRING,
124
130 WC_CONFIRM_POPUP_QUERY,
131
137 WC_GOAL_QUESTION,
138
139
144 WC_SAVELOAD,
145
150 WC_LAND_INFO,
151
156 WC_DROPDOWN_MENU,
157
162 WC_OSK,
163
168 WC_SET_DATE,
169
170
175 WC_SCRIPT_SETTINGS,
176
181 WC_GRF_PARAMETERS,
182
187 WC_TEXTFILE,
188
189
194 WC_TOWN_AUTHORITY,
195
200 WC_VEHICLE_DETAILS,
201
206 WC_VEHICLE_REFIT,
207
212 WC_VEHICLE_ORDERS,
213
218 WC_REPLACE_VEHICLE,
219
224 WC_VEHICLE_TIMETABLE,
225
230 WC_COMPANY_COLOUR,
231
236 WC_COMPANY_MANAGER_FACE,
237
242 WC_SELECT_STATION,
243
248 WC_NEWS_WINDOW,
249
254 WC_TOWN_DIRECTORY,
255
260 WC_SUBSIDIES_LIST,
261
266 WC_INDUSTRY_DIRECTORY,
267
272 WC_MESSAGE_HISTORY,
273
278 WC_SIGN_LIST,
279
284 WC_SCRIPT_LIST,
285
290 WC_GOALS_LIST,
291
296 WC_STORY_BOOK,
297
302 WC_STATION_LIST,
303
308 WC_TRAINS_LIST,
309
314 WC_ROADVEH_LIST,
315
320 WC_SHIPS_LIST,
321
326 WC_AIRCRAFT_LIST,
327
328
333 WC_TOWN_VIEW,
334
339 WC_VEHICLE_VIEW,
340
345 WC_STATION_VIEW,
346
351 WC_VEHICLE_DEPOT,
352
357 WC_WAYPOINT_VIEW,
358
363 WC_INDUSTRY_VIEW,
364
369 WC_COMPANY,
370
371
376 WC_BUILD_OBJECT,
377
382 WC_BUILD_HOUSE,
383
389 WC_BUILD_VEHICLE,
390
395 WC_BUILD_BRIDGE,
396
403 WC_BUILD_STATION,
404
409 WC_BUS_STATION,
410
415 WC_TRUCK_STATION,
416
423 WC_BUILD_DEPOT,
424
429 WC_BUILD_WAYPOINT,
430
435 WC_FOUND_TOWN,
436
441 WC_BUILD_INDUSTRY,
442
443
448 WC_SELECT_GAME,
449
455 WC_SCEN_LAND_GEN,
456
462 WC_GENERATE_LANDSCAPE,
463
469 WC_MODAL_PROGRESS,
470
471
478 WC_NETWORK_WINDOW,
479
484 WC_CLIENT_LIST,
485
491 WC_NETWORK_STATUS_WINDOW,
492
497 WC_NETWORK_ASK_RELAY,
498
503 WC_NETWORK_ASK_SURVEY,
504
509 WC_SEND_NETWORK_MSG,
510
515 WC_INDUSTRY_CARGOES,
516
521 WC_GRAPH_LEGEND,
522
527 WC_FINANCES,
528
533 WC_INCOME_GRAPH,
534
539 WC_OPERATING_PROFIT,
540
545 WC_DELIVERED_CARGO,
546
551 WC_PERFORMANCE_HISTORY,
552
557 WC_COMPANY_VALUE,
558
563 WC_COMPANY_LEAGUE,
564
569 WC_PAYMENT_RATES,
570
575 WC_PERFORMANCE_DETAIL,
576
581 WC_INDUSTRY_PRODUCTION,
582
587 WC_COMPANY_INFRASTRUCTURE,
588
589
594 WC_BUY_COMPANY,
595
600 WC_ENGINE_PREVIEW,
601
602
607 WC_MUSIC_WINDOW,
608
613 WC_MUSIC_TRACK_SELECTION,
614
624 WC_GAME_OPTIONS,
625
630 WC_CUSTOM_CURRENCY,
631
636 WC_CHEATS,
637
642 WC_EXTRA_VIEWPORT,
643
644
649 WC_CONSOLE,
650
655 WC_BOOTSTRAP,
656
661 WC_HIGHSCORE,
662
667 WC_ENDSCREEN,
668
669
674 WC_SCRIPT_DEBUG,
675
680 WC_NEWGRF_INSPECT,
681
686 WC_SPRITE_ALIGNER,
687
692 WC_LINKGRAPH_LEGEND,
693
698 WC_SAVE_PRESET,
699
704 WC_FRAMERATE_DISPLAY,
705
710 WC_FRAMETIME_GRAPH,
711
716 WC_SCREENSHOT,
717
718 /*
719 * Help and manuals window; %Window numbers:
720 * - 0 = #HelpWindowWidgets
721 */
722 WC_HELPWIN,
723
724 WC_INVALID = 0xFFFF,
725};
726
728 enum GameOptionsInvalidationData {
729 GOID_DEFAULT = 0,
730 GOID_NEWGRF_RESCANNED,
731 GOID_NEWGRF_CURRENT_LOADED,
732 GOID_NEWGRF_LIST_EDITED,
733 GOID_NEWGRF_CHANGES_MADE,
734 GOID_NEWGRF_CHANGES_APPLIED,
735};
736
737struct Window;
738
740 typedef int32_t WindowNumber;
741
743 enum EventState {
744 ES_HANDLED,
745 ES_NOT_HANDLED,
746};
747
748#endif /* WINDOW_TYPE_H */
Window
Data structure for an opened window.
Definition window_gui.h:273
Window::GetWidget
const NWID * GetWidget(WidgetID widnum) const
Get the nested widget with number widnum from the nested widget tree.
Definition window_gui.h:977
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:18
WindowNumberEnum
WindowNumberEnum
Window numbers.
Definition window_type.h:21
WN_QUERY_STRING
@ WN_QUERY_STRING
Query string.
Definition window_type.h:29
WN_NETWORK_WINDOW_CONTENT_LIST
@ WN_NETWORK_WINDOW_CONTENT_LIST
Network content list.
Definition window_type.h:36
WN_GAME_OPTIONS_NEWGRF_STATE
@ WN_GAME_OPTIONS_NEWGRF_STATE
NewGRF settings.
Definition window_type.h:25
WN_NETWORK_STATUS_WINDOW_JOIN
@ WN_NETWORK_STATUS_WINDOW_JOIN
Network join status.
Definition window_type.h:39
WN_GAME_OPTIONS_ABOUT
@ WN_GAME_OPTIONS_ABOUT
About window.
Definition window_type.h:24
WN_CONFIRM_POPUP_QUERY_BOOTSTRAP
@ WN_CONFIRM_POPUP_QUERY_BOOTSTRAP
Query popup confirm for bootstrap.
Definition window_type.h:33
WN_GAME_OPTIONS_GS
@ WN_GAME_OPTIONS_GS
GS settings.
Definition window_type.h:23
WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD
@ WN_NETWORK_STATUS_WINDOW_CONTENT_DOWNLOAD
Network content download status.
Definition window_type.h:40
WN_QUERY_STRING_SIGN
@ WN_QUERY_STRING_SIGN
Query string for signs.
Definition window_type.h:30
WN_NETWORK_WINDOW_GAME
@ WN_NETWORK_WINDOW_GAME
Network game window.
Definition window_type.h:35
WN_CONFIRM_POPUP_QUERY
@ WN_CONFIRM_POPUP_QUERY
Query popup confirm.
Definition window_type.h:32
WN_GAME_OPTIONS_GAME_OPTIONS
@ WN_GAME_OPTIONS_GAME_OPTIONS
Game options.
Definition window_type.h:26
WN_GAME_OPTIONS_AI
@ WN_GAME_OPTIONS_AI
AI settings.
Definition window_type.h:22
WN_NETWORK_WINDOW_START
@ WN_NETWORK_WINDOW_START
Network start server.
Definition window_type.h:37
WN_GAME_OPTIONS_GAME_SETTINGS
@ WN_GAME_OPTIONS_GAME_SETTINGS
Game settings.
Definition window_type.h:27
WindowNumber
int32_t WindowNumber
Number to differentiate different windows of the same class.
Definition window_type.h:740
EventState
EventState
State of handling an event.
Definition window_type.h:743
ES_HANDLED
@ ES_HANDLED
The passed event is handled.
Definition window_type.h:744
ES_NOT_HANDLED
@ ES_NOT_HANDLED
The passed event is not handled.
Definition window_type.h:745
WindowClass
WindowClass
Window classes.
Definition window_type.h:44
WC_PERFORMANCE_HISTORY
@ WC_PERFORMANCE_HISTORY
Performance history graph; Window numbers:
Definition window_type.h:551
WC_INVALID
@ WC_INVALID
Invalid window.
Definition window_type.h:724
WC_LAND_INFO
@ WC_LAND_INFO
Land info window; Window numbers:
Definition window_type.h:150
WC_TOWN_AUTHORITY
@ WC_TOWN_AUTHORITY
Town authority; Window numbers:
Definition window_type.h:194
WC_OSK
@ WC_OSK
On Screen Keyboard; Window numbers:
Definition window_type.h:162
WC_FRAMETIME_GRAPH
@ WC_FRAMETIME_GRAPH
Frame time graph; Window numbers:
Definition window_type.h:710
WC_WAYPOINT_VIEW
@ WC_WAYPOINT_VIEW
Waypoint view; Window numbers:
Definition window_type.h:357
WC_COMPANY_LEAGUE
@ WC_COMPANY_LEAGUE
Company league window; Window numbers:
Definition window_type.h:563
WC_CONSOLE
@ WC_CONSOLE
Console; Window numbers:
Definition window_type.h:649
WC_SET_DATE
@ WC_SET_DATE
Set date; Window numbers:
Definition window_type.h:168
WC_BUILD_STATION
@ WC_BUILD_STATION
Build station; Window numbers:
Definition window_type.h:403
WC_NEWS_WINDOW
@ WC_NEWS_WINDOW
News window; Window numbers:
Definition window_type.h:248
WC_HIGHSCORE
@ WC_HIGHSCORE
Highscore; Window numbers:
Definition window_type.h:661
WC_BUILD_OBJECT
@ WC_BUILD_OBJECT
Build object; Window numbers:
Definition window_type.h:376
WC_SIGN_LIST
@ WC_SIGN_LIST
Sign list; Window numbers:
Definition window_type.h:278
WC_BUY_COMPANY
@ WC_BUY_COMPANY
Buyout company (merger); Window numbers:
Definition window_type.h:594
WC_SPRITE_ALIGNER
@ WC_SPRITE_ALIGNER
Sprite aligner (debug); Window numbers:
Definition window_type.h:686
WC_COMPANY_INFRASTRUCTURE
@ WC_COMPANY_INFRASTRUCTURE
Company infrastructure overview; Window numbers:
Definition window_type.h:587
WC_PERFORMANCE_DETAIL
@ WC_PERFORMANCE_DETAIL
Performance detail window; Window numbers:
Definition window_type.h:575
WC_ENDSCREEN
@ WC_ENDSCREEN
Endscreen; Window numbers:
Definition window_type.h:667
WC_COMPANY_COLOUR
@ WC_COMPANY_COLOUR
Company colour selection; Window numbers:
Definition window_type.h:230
WC_PAYMENT_RATES
@ WC_PAYMENT_RATES
Payment rates graph; Window numbers:
Definition window_type.h:569
WC_GRAPH_LEGEND
@ WC_GRAPH_LEGEND
Legend for graphs; Window numbers:
Definition window_type.h:521
WC_STATION_LIST
@ WC_STATION_LIST
Station list; Window numbers:
Definition window_type.h:302
WC_ROADVEH_LIST
@ WC_ROADVEH_LIST
Road vehicle list; Window numbers:
Definition window_type.h:314
WC_LINKGRAPH_LEGEND
@ WC_LINKGRAPH_LEGEND
Linkgraph legend; Window numbers:
Definition window_type.h:692
WC_STATUS_BAR
@ WC_STATUS_BAR
Statusbar (at the bottom of your screen); Window numbers:
Definition window_type.h:64
WC_FOUND_TOWN
@ WC_FOUND_TOWN
Found a town; Window numbers:
Definition window_type.h:435
WC_EXTRA_VIEWPORT
@ WC_EXTRA_VIEWPORT
Extra viewport; Window numbers:
Definition window_type.h:642
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:137
WC_INDUSTRY_DIRECTORY
@ WC_INDUSTRY_DIRECTORY
Industry directory; Window numbers:
Definition window_type.h:266
WC_VEHICLE_ORDERS
@ WC_VEHICLE_ORDERS
Vehicle orders; Window numbers:
Definition window_type.h:212
WC_SEND_NETWORK_MSG
@ WC_SEND_NETWORK_MSG
Chatbox; Window numbers:
Definition window_type.h:509
WC_ERRMSG
@ WC_ERRMSG
Error message; Window numbers:
Definition window_type.h:110
WC_BUILD_HOUSE
@ WC_BUILD_HOUSE
Build house; Window numbers:
Definition window_type.h:382
WC_SCEN_BUILD_TOOLBAR
@ WC_SCEN_BUILD_TOOLBAR
Scenario build toolbar; Window numbers:
Definition window_type.h:80
WC_BUILD_TOOLBAR
@ WC_BUILD_TOOLBAR
Build toolbar; Window numbers:
Definition window_type.h:73
WC_SELECT_GAME
@ WC_SELECT_GAME
Select game window; Window numbers:
Definition window_type.h:448
WC_NETWORK_ASK_RELAY
@ WC_NETWORK_ASK_RELAY
Network ask relay window; Window numbers:
Definition window_type.h:497
WC_VEHICLE_DEPOT
@ WC_VEHICLE_DEPOT
Depot view; Window numbers:
Definition window_type.h:351
WC_SCRIPT_SETTINGS
@ WC_SCRIPT_SETTINGS
Script settings; Window numbers:
Definition window_type.h:175
WC_REPLACE_VEHICLE
@ WC_REPLACE_VEHICLE
Replace vehicle window; Window numbers:
Definition window_type.h:218
WC_NONE
@ WC_NONE
No window, redirects to WC_MAIN_WINDOW.
Definition window_type.h:45
WC_SCEN_LAND_GEN
@ WC_SCEN_LAND_GEN
Landscape generation (in Scenario Editor); Window numbers:
Definition window_type.h:455
WC_SELECT_STATION
@ WC_SELECT_STATION
Select station (when joining stations); Window numbers:
Definition window_type.h:242
WC_SCRIPT_LIST
@ WC_SCRIPT_LIST
Scripts list; Window numbers:
Definition window_type.h:284
WC_CHEATS
@ WC_CHEATS
Cheat window; Window numbers:
Definition window_type.h:636
WC_SAVE_PRESET
@ WC_SAVE_PRESET
Save preset; Window numbers:
Definition window_type.h:698
WC_INDUSTRY_CARGOES
@ WC_INDUSTRY_CARGOES
Industry cargoes chain; Window numbers:
Definition window_type.h:515
WC_SHIPS_LIST
@ WC_SHIPS_LIST
Ships list; Window numbers:
Definition window_type.h:320
WC_MESSAGE_HISTORY
@ WC_MESSAGE_HISTORY
News history list; Window numbers:
Definition window_type.h:272
WC_GOALS_LIST
@ WC_GOALS_LIST
Goals list; Window numbers:
Definition window_type.h:290
WC_TRANSPARENCY_TOOLBAR
@ WC_TRANSPARENCY_TOOLBAR
Transparency toolbar; Window numbers:
Definition window_type.h:92
WC_STATION_VIEW
@ WC_STATION_VIEW
Station view; Window numbers:
Definition window_type.h:345
WC_MUSIC_TRACK_SELECTION
@ WC_MUSIC_TRACK_SELECTION
Music track selection; Window numbers:
Definition window_type.h:613
WC_BUILD_SIGNAL
@ WC_BUILD_SIGNAL
Build signal toolbar; Window numbers:
Definition window_type.h:98
WC_OPERATING_PROFIT
@ WC_OPERATING_PROFIT
Operating profit graph; Window numbers:
Definition window_type.h:539
WC_MUSIC_WINDOW
@ WC_MUSIC_WINDOW
Music window; Window numbers:
Definition window_type.h:607
WC_BUILD_DEPOT
@ WC_BUILD_DEPOT
Build depot; Window numbers:
Definition window_type.h:423
WC_INDUSTRY_PRODUCTION
@ WC_INDUSTRY_PRODUCTION
Industry production history graph; Window numbers:
Definition window_type.h:581
WC_ENGINE_PREVIEW
@ WC_ENGINE_PREVIEW
Engine preview window; Window numbers:
Definition window_type.h:600
WC_CLIENT_LIST
@ WC_CLIENT_LIST
Client list; Window numbers:
Definition window_type.h:484
WC_CONFIRM_POPUP_QUERY
@ WC_CONFIRM_POPUP_QUERY
Popup with confirm question; Window numbers:
Definition window_type.h:130
WC_GENERATE_LANDSCAPE
@ WC_GENERATE_LANDSCAPE
Generate landscape (newgame); Window numbers:
Definition window_type.h:462
WC_CUSTOM_CURRENCY
@ WC_CUSTOM_CURRENCY
Custom currency; Window numbers:
Definition window_type.h:630
WC_MAIN_WINDOW
@ WC_MAIN_WINDOW
Main window; Window numbers:
Definition window_type.h:51
WC_TRUCK_STATION
@ WC_TRUCK_STATION
Build truck station; Window numbers:
Definition window_type.h:415
WC_TRAINS_LIST
@ WC_TRAINS_LIST
Trains list; Window numbers:
Definition window_type.h:308
WC_TOWN_VIEW
@ WC_TOWN_VIEW
Town view; Window numbers:
Definition window_type.h:333
WC_GAME_OPTIONS
@ WC_GAME_OPTIONS
Game options window; Window numbers:
Definition window_type.h:624
WC_NETWORK_WINDOW
@ WC_NETWORK_WINDOW
Network window; Window numbers:
Definition window_type.h:478
WC_INDUSTRY_VIEW
@ WC_INDUSTRY_VIEW
Industry view; Window numbers:
Definition window_type.h:363
WC_FINANCES
@ WC_FINANCES
Finances of a company; Window numbers:
Definition window_type.h:527
WC_SCRIPT_DEBUG
@ WC_SCRIPT_DEBUG
Script debug window; Window numbers:
Definition window_type.h:674
WC_TEXTFILE
@ WC_TEXTFILE
textfile; Window numbers:
Definition window_type.h:187
WC_INCOME_GRAPH
@ WC_INCOME_GRAPH
Income graph; Window numbers:
Definition window_type.h:533
WC_TOWN_DIRECTORY
@ WC_TOWN_DIRECTORY
Town directory; Window numbers:
Definition window_type.h:254
WC_VEHICLE_REFIT
@ WC_VEHICLE_REFIT
Vehicle refit; Window numbers:
Definition window_type.h:206
WC_DROPDOWN_MENU
@ WC_DROPDOWN_MENU
Drop down menu; Window numbers:
Definition window_type.h:156
WC_NEWGRF_INSPECT
@ WC_NEWGRF_INSPECT
NewGRF inspect (debug); Window numbers:
Definition window_type.h:680
WC_BUS_STATION
@ WC_BUS_STATION
Build bus station; Window numbers:
Definition window_type.h:409
WC_QUERY_STRING
@ WC_QUERY_STRING
Query string window; Window numbers:
Definition window_type.h:123
WC_BUILD_WAYPOINT
@ WC_BUILD_WAYPOINT
Build waypoint; Window numbers:
Definition window_type.h:429
WC_SMALLMAP
@ WC_SMALLMAP
Small map; Window numbers:
Definition window_type.h:104
WC_COMPANY_MANAGER_FACE
@ WC_COMPANY_MANAGER_FACE
Alter company face window; Window numbers:
Definition window_type.h:236
WC_BOOTSTRAP
@ WC_BOOTSTRAP
Bootstrap; Window numbers:
Definition window_type.h:655
WC_SAVELOAD
@ WC_SAVELOAD
Saveload window; Window numbers:
Definition window_type.h:144
WC_DELIVERED_CARGO
@ WC_DELIVERED_CARGO
Delivered cargo graph; Window numbers:
Definition window_type.h:545
WC_FRAMERATE_DISPLAY
@ WC_FRAMERATE_DISPLAY
Framerate display; Window numbers:
Definition window_type.h:704
WC_GRF_PARAMETERS
@ WC_GRF_PARAMETERS
NewGRF parameters; Window numbers:
Definition window_type.h:181
WC_COMPANY_VALUE
@ WC_COMPANY_VALUE
Company value graph; Window numbers:
Definition window_type.h:557
WC_BUILD_TREES
@ WC_BUILD_TREES
Build trees toolbar; Window numbers:
Definition window_type.h:86
WC_STORY_BOOK
@ WC_STORY_BOOK
Story book; Window numbers:
Definition window_type.h:296
WC_MODAL_PROGRESS
@ WC_MODAL_PROGRESS
Progress report of landscape generation; Window numbers:
Definition window_type.h:469
WC_MAIN_TOOLBAR
@ WC_MAIN_TOOLBAR
Main toolbar (the long bar at the top); Window numbers:
Definition window_type.h:58
WC_TOOLTIPS
@ WC_TOOLTIPS
Tooltip window; Window numbers:
Definition window_type.h:116
WC_SUBSIDIES_LIST
@ WC_SUBSIDIES_LIST
Subsidies list; Window numbers:
Definition window_type.h:260
WC_VEHICLE_DETAILS
@ WC_VEHICLE_DETAILS
Vehicle details; Window numbers:
Definition window_type.h:200
WC_COMPANY
@ WC_COMPANY
Company view; Window numbers:
Definition window_type.h:369
WC_BUILD_BRIDGE
@ WC_BUILD_BRIDGE
Build bridge; Window numbers:
Definition window_type.h:395
WC_NETWORK_STATUS_WINDOW
@ WC_NETWORK_STATUS_WINDOW
Network status window; Window numbers:
Definition window_type.h:491
WC_VEHICLE_VIEW
@ WC_VEHICLE_VIEW
Vehicle view; Window numbers:
Definition window_type.h:339
WC_BUILD_VEHICLE
@ WC_BUILD_VEHICLE
Build vehicle; Window numbers:
Definition window_type.h:389
WC_BUILD_INDUSTRY
@ WC_BUILD_INDUSTRY
Build industry; Window numbers:
Definition window_type.h:441
WC_VEHICLE_TIMETABLE
@ WC_VEHICLE_TIMETABLE
Vehicle timetable; Window numbers:
Definition window_type.h:224
WC_AIRCRAFT_LIST
@ WC_AIRCRAFT_LIST
Aircraft list; Window numbers:
Definition window_type.h:326
WC_SCREENSHOT
@ WC_SCREENSHOT
Screenshot window; Window numbers:
Definition window_type.h:716
WC_NETWORK_ASK_SURVEY
@ WC_NETWORK_ASK_SURVEY
Network ask survey window; Window numbers:
Definition window_type.h:503
GameOptionsInvalidationData
GameOptionsInvalidationData
Data value for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
Definition window_type.h:728
GOID_NEWGRF_CURRENT_LOADED
@ GOID_NEWGRF_CURRENT_LOADED
The current list of active NewGRF has been loaded.
Definition window_type.h:731
GOID_NEWGRF_RESCANNED
@ GOID_NEWGRF_RESCANNED
NewGRFs were just rescanned.
Definition window_type.h:730
GOID_NEWGRF_CHANGES_APPLIED
@ GOID_NEWGRF_CHANGES_APPLIED
The active NewGRF list changes have been applied.
Definition window_type.h:734
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:733
GOID_NEWGRF_LIST_EDITED
@ GOID_NEWGRF_LIST_EDITED
List of active NewGRFs is being edited.
Definition window_type.h:732