summaryrefslogtreecommitdiff
path: root/src/tile_cmd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-02 22:42:05 +0000
committerrubidium <rubidium@openttd.org>2009-01-02 22:42:05 +0000
commit1357b0a4c2c9cb2cf6d81a2cbc3e851d25c6c735 (patch)
treef69215ca7fcf8c6741e37e05e4a9c67f0e8e201a /src/tile_cmd.h
parent2086fbcf174b20758cbd9ebb94b3985e2b25ee29 (diff)
downloadopenttd-1357b0a4c2c9cb2cf6d81a2cbc3e851d25c6c735.tar.xz
(svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo)
Diffstat (limited to 'src/tile_cmd.h')
-rw-r--r--src/tile_cmd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tile_cmd.h b/src/tile_cmd.h
index 5baa3fa25..c7a09eb79 100644
--- a/src/tile_cmd.h
+++ b/src/tile_cmd.h
@@ -103,7 +103,7 @@ typedef TrackStatus GetTileTrackStatusProc(TileIndex tile, TransportType mode, u
* @param b Destination array of produced cargo
*/
typedef void GetProducedCargoProc(TileIndex tile, CargoID *b);
-typedef void ClickTileProc(TileIndex tile);
+typedef bool ClickTileProc(TileIndex tile);
typedef void AnimateTileProc(TileIndex tile);
typedef void TileLoopProc(TileIndex tile);
typedef void ChangeTileOwnerProc(TileIndex tile, Owner old_owner, Owner new_owner);
@@ -156,7 +156,7 @@ VehicleEnterTileStatus VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac);
void ChangeTileOwner(TileIndex tile, Owner old_owner, Owner new_owner);
void AnimateTile(TileIndex tile);
-void ClickTile(TileIndex tile);
+bool ClickTile(TileIndex tile);
void GetTileDesc(TileIndex tile, TileDesc *td);
#endif /* TILE_CMD_H */