(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)

This commit is contained in:
rubidium
2009-01-02 22:42:05 +00:00
parent 2086fbcf17
commit 1357b0a4c2
20 changed files with 59 additions and 31 deletions

View File

@@ -2569,13 +2569,14 @@ static void AnimateTile_Station(TileIndex tile)
}
static void ClickTile_Station(TileIndex tile)
static bool ClickTile_Station(TileIndex tile)
{
if (IsHangar(tile)) {
ShowDepotWindow(tile, VEH_AIRCRAFT);
} else {
ShowStationViewWindow(GetStationIndex(tile));
}
return true;
}
static VehicleEnterTileStatus VehicleEnter_Station(Vehicle *v, TileIndex tile, int x, int y)