constboolis_proper_stockpile_without_suffix=(is_stockpile_without_suffix&&stockpiling);// If callback 37 fails, the result is interpreted as a stockpile, for some reason.
STR_CONFIG_SETTING_INSTANT_TILE_TOOLTIP :Show viewport tooltips for tiles without a right-click: {STRING2}
STR_CONFIG_SETTING_INSTANT_TILE_TOOLTIP_HELPTEXT :Show viewport tooltips for tile types such as industries without requiring a right-click, when the show tooltips setting is set to right-click.
STR_CONFIG_SETTING_TOWN_NAME_TOOLTIP_MODE :Show viewport tooltips with town names: {STRING2}
STR_CONFIG_SETTING_TOWN_NAME_TOOLTIP_MODE_HELPTEXT :Show viewport tooltips for road and house tiles that belong to towns.
STR_CONFIG_SETTING_TOWN_NAME_TOOLTIP_MODE_ON_IF_HIDDEN :On, if town names are hidden
STR_CONFIG_SETTING_TOWN_NAME_TOOLTIP_MODE_ALWAYS_ON :Always on
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_SHOW :Show viewport tooltips for industries: {STRING2}
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_SHOW_HELPTEXT :Show tooltips when hovering over industry tiles.
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_NAME :Show names in industry viewport tooltips: {STRING2}
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_NAME_HELPTEXT :Show names of industries in viewport tooltips when hovering over industry tiles.
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_REQUIRED :Show required cargoes in industry viewport tooltips: {STRING2}
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_REQUIRED_HELPTEXT :Show a list of cargoes required by industries in viewport tooltips when hovering over industry tiles.
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_STOCKPILED :Show stockpiled cargoes in industry viewport tooltips: {STRING2}
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_STOCKPILED_HELPTEXT :Show a list of cargoes stockpiled by industries in viewport tooltips when hovering over industry tiles.
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_PRODUCED :Show produced cargoes in industry viewport tooltips: {STRING2}
STR_CONFIG_SETTING_INDUSTRY_TOOLTIP_PRODUCED_HELPTEXT :Show a list of cargoes produced by industries in viewport tooltips when hovering over industry tiles.
STR_CONFIG_SETTING_DEPOT_TOOLTIP_MODE_HELPTEXT :Set whether to show viewport tooltips when hovering over depot tiles and how much information to display.
STR_CONFIG_SETTING_STATION_VIEWPORT_TOOLTIP_NAME :Show names in station viewport tooltips: {STRING2}
STR_CONFIG_SETTING_STATION_VIEWPORT_TOOLTIP_NAME_HELPTEXT :Show the name of the station in a viewport tooltip when hovering over it.
STR_CONFIG_SETTING_STATION_VIEWPORT_TOOLTIP_CARGO :Show cargo details in station viewport tooltips: {STRING2}
STR_CONFIG_SETTING_STATION_VIEWPORT_TOOLTIP_CARGO_HELPTEXT :Show the list of amounts and ratings of cargo that had ever been delivered to the station by industries, towns or by vehicles via unload/transfer order that doesn't result in the final delivery.
@ -140,6 +140,16 @@ struct GUISettings : public TimeSettings {
byteerrmsg_duration;///< duration of error message
uint16hover_delay_ms;///< time required to activate a hover event, in milliseconds
boolinstant_tile_tooltip;///< don't require a right click to activate a hover event to show a tooltip for an in-game tile (e.g. industry).
uint8town_name_tooltip_mode;///< when to display town names when hovering over roads and houses. (0 = never, 1 = only if town names are hidden, 2 = always)
boolindustry_tooltip_show;///< whether to display tooltips, when hovering over industry tiles.
boolindustry_tooltip_show_name;///< whether to display the name of the industry, when hovering over one of its tiles.
boolindustry_tooltip_show_required;///< whether to display cargoes required by the industry, when hovering over one of its tiles.
boolindustry_tooltip_show_stockpiled;///< whether to display cargoes stockpiled by the industry, when hovering over one of its tiles.
boolindustry_tooltip_show_produced;///< whether to display cargoes produced by the industry, when hovering over one of its tiles.
uint8depot_tooltip_mode;///< Display mode for depot viewport tooltips. (0 = never, 1 = just a total number of vehicles, 2 = total number of vehicles in the depot along with a breakdown of numbers)
uint8station_viewport_tooltip_name;///< Show the name of the station in a viewport tooltip. (0 = never, 1 = only if station names are hidden, 2 = always)
boolstation_viewport_tooltip_cargo;///< Show a list of cargo details at the station in a viewport tooltip.
uint8station_rating_tooltip_mode;///< Station rating tooltip mode
boollink_terraform_toolbar;///< display terraform toolbar when displaying rail, road, water and airport toolbars
uint8smallmap_land_colour;///< colour used for land and heightmap at the smallmap
uint8scroll_mode;///< viewport scroll mode
@ -256,7 +266,6 @@ struct GUISettings : public TimeSettings {
if(HasBit(_display_opt,DO_SHOW_TOWN_NAMES)&&_settings_client.gui.town_name_tooltip_mode==TNTM_ON_IF_HIDDEN)return;// No need for a town name tooltip when it is already displayed