Files
@ r18175:88999042d226
Branch filter:
Location: cpp/openttd-patchpack/source/src/window_type.h - annotation
r18175:88999042d226
3.0 KiB
text/x-c
(svn r23014) -Update from WebTranslator v3.0:
welsh - 3 changes by kazzie
welsh - 3 changes by kazzie
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | r8106:01dbd10fde05 r8106:01dbd10fde05 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8923:caacf8f8b60a r8923:caacf8f8b60a r8923:caacf8f8b60a r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r11156:94cc27f7f726 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r11085:c87a330fb4c2 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r17584:7592b2c83ed3 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r10207:a1fc2f2a33db r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r9588:95c71f2b1d5b r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r17970:0f746074f2a8 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8737:36bd0e7321ea r9949:5ac3bf61abad r10626:59619471b98d r13758:432cf1c33bff r10696:8dfe83e30d01 r10840:7a608f4ad153 r10840:7a608f4ad153 r15072:0c171c464368 r15087:eb029334c019 r15537:70b474f9b9c7 r15588:8aad267fa5ef r15972:6463015373ad r9244:dfe988250150 r9244:dfe988250150 r8106:01dbd10fde05 r8106:01dbd10fde05 r17816:ea46d9d50889 r17816:ea46d9d50889 r17816:ea46d9d50889 r17816:ea46d9d50889 r17816:ea46d9d50889 r17816:ea46d9d50889 r17816:ea46d9d50889 r17816:ea46d9d50889 r17817:8dc818f57e26 r17816:ea46d9d50889 r17816:ea46d9d50889 r8106:01dbd10fde05 r10238:f2215d7dd22b r10238:f2215d7dd22b r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 | /* $Id$ */
/*
* 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 window_type.h Types related to windows */
#ifndef WINDOW_TYPE_H
#define WINDOW_TYPE_H
/**
* Window classes
*/
enum WindowClass {
WC_NONE,
WC_MAIN_WINDOW = WC_NONE,
WC_MAIN_TOOLBAR,
WC_STATUS_BAR,
WC_BUILD_TOOLBAR,
WC_NEWS_WINDOW,
WC_TOWN_DIRECTORY,
WC_STATION_LIST,
WC_TOWN_VIEW,
WC_FOUND_TOWN,
WC_SMALLMAP,
WC_TRAINS_LIST,
WC_ROADVEH_LIST,
WC_SHIPS_LIST,
WC_AIRCRAFT_LIST,
WC_VEHICLE_VIEW,
WC_VEHICLE_DETAILS,
WC_VEHICLE_REFIT,
WC_VEHICLE_ORDERS,
WC_STATION_VIEW,
WC_VEHICLE_DEPOT,
WC_BUILD_VEHICLE,
WC_BUILD_BRIDGE,
WC_ERRMSG,
WC_BUILD_STATION,
WC_BUS_STATION,
WC_TRUCK_STATION,
WC_BUILD_DEPOT,
WC_COMPANY,
WC_FINANCES,
WC_COMPANY_COLOUR,
WC_QUERY_STRING,
WC_SAVELOAD,
WC_SELECT_GAME,
WC_CLIENT_LIST_POPUP,
WC_INCOME_GRAPH,
WC_OPERATING_PROFIT,
WC_TOOLTIPS,
WC_INDUSTRY_VIEW,
WC_COMPANY_MANAGER_FACE,
WC_LAND_INFO,
WC_TOWN_AUTHORITY,
WC_SUBSIDIES_LIST,
WC_GRAPH_LEGEND,
WC_DELIVERED_CARGO,
WC_PERFORMANCE_HISTORY,
WC_COMPANY_VALUE,
WC_COMPANY_LEAGUE,
WC_BUY_COMPANY,
WC_PAYMENT_RATES,
WC_ENGINE_PREVIEW,
WC_MUSIC_WINDOW,
WC_MUSIC_TRACK_SELECTION,
WC_SCEN_LAND_GEN,
WC_SCEN_INDUSTRY,
WC_SCEN_BUILD_TOOLBAR,
WC_BUILD_TREES,
WC_SEND_NETWORK_MSG,
WC_DROPDOWN_MENU,
WC_BUILD_INDUSTRY,
WC_GAME_OPTIONS,
WC_NETWORK_WINDOW,
WC_INDUSTRY_DIRECTORY,
WC_MESSAGE_HISTORY,
WC_CHEATS,
WC_PERFORMANCE_DETAIL,
WC_CONSOLE,
WC_EXTRA_VIEW_PORT,
WC_CLIENT_LIST,
WC_NETWORK_STATUS_WINDOW,
WC_CUSTOM_CURRENCY,
WC_REPLACE_VEHICLE,
WC_HIGHSCORE,
WC_ENDSCREEN,
WC_SIGN_LIST,
WC_GENERATE_LANDSCAPE,
WC_MODAL_PROGRESS,
WC_CONFIRM_POPUP_QUERY,
WC_TRANSPARENCY_TOOLBAR,
WC_VEHICLE_TIMETABLE,
WC_BUILD_SIGNAL,
WC_COMPANY_PASSWORD_WINDOW,
WC_OSK,
WC_WAYPOINT_VIEW,
WC_SELECT_STATION,
WC_SET_DATE,
WC_AI_DEBUG,
WC_AI_LIST,
WC_AI_SETTINGS,
WC_NEWGRF_INSPECT,
WC_SPRITE_ALIGNER,
WC_INDUSTRY_CARGOES,
WC_GRF_PARAMETERS,
WC_BUILD_OBJECT,
WC_INVALID = 0xFFFF
};
/**
* Data value for #Window::OnInvalidateData() of windows with class #WC_GAME_OPTIONS.
*/
enum GameOptionsInvalidationData {
GOID_DEFAULT = 0,
GOID_NEWGRF_RESCANNED, ///< NewGRFs were just rescanned.
GOID_NEWGRF_LIST_EDITED, ///< List of active NewGRFs is being edited.
GOID_NEWGRF_PRESET_LOADED, ///< A NewGRF preset was picked.
GOID_DIFFICULTY_CHANGED, ///< Difficulty settings were changed.
};
struct Window;
/** Number to differentiate different windows of the same class */
typedef int32 WindowNumber;
#endif /* WINDOW_TYPE_H */
|