Feature: A setting to bring back old tile tooltip behavior.

If enabled, the setting allows tooltips for tiles, such as industries, to show instantly, when otherwise they would require a right-click.
This commit is contained in:
RoqueDeicide
2023-06-24 21:00:21 +04:00
parent cc22351ef4
commit 829db8e4f9
6 changed files with 15 additions and 2 deletions

View File

@@ -132,6 +132,7 @@ struct GUISettings : public TimeSettings {
uint8 auto_scrolling; ///< scroll when moving mouse to the edge (see #ViewportAutoscrolling)
byte errmsg_duration; ///< duration of error message
uint16 hover_delay_ms; ///< time required to activate a hover event, in milliseconds
bool instant_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).
bool link_terraform_toolbar; ///< display terraform toolbar when displaying rail, road, water and airport toolbars
uint8 smallmap_land_colour; ///< colour used for land and heightmap at the smallmap
uint8 scroll_mode; ///< viewport scroll mode