Add picker tool to main toolbar help menu

See: #498

Supports:
* Rail types
* Road/tram types
* Objects
* Rail stations/waypoints
* Road stops/waypoints

Add unset hotkey
This commit is contained in:
Jonathan G Rennison
2023-06-05 19:37:14 +01:00
parent 665a4ca55b
commit 61e9c3084f
11 changed files with 333 additions and 44 deletions

View File

@@ -4633,7 +4633,12 @@ static void SetSelectionTilesDirty()
void SetSelectionRed(bool b)
{
_thd.square_palette = b ? PALETTE_SEL_TILE_RED : PAL_NONE;
SetSelectionPalette(b ? PALETTE_SEL_TILE_RED : PAL_NONE);
}
void SetSelectionPalette(PaletteID pal)
{
_thd.square_palette = pal;
SetSelectionTilesDirty();
}