diff options
author | rubidium <rubidium@openttd.org> | 2009-01-02 22:42:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-02 22:42:05 +0000 |
commit | 1357b0a4c2c9cb2cf6d81a2cbc3e851d25c6c735 (patch) | |
tree | f69215ca7fcf8c6741e37e05e4a9c67f0e8e201a /src/viewport_func.h | |
parent | 2086fbcf174b20758cbd9ebb94b3985e2b25ee29 (diff) | |
download | openttd-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/viewport_func.h')
-rw-r--r-- | src/viewport_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h index f5a87d06f..9523c895f 100644 --- a/src/viewport_func.h +++ b/src/viewport_func.h @@ -43,7 +43,7 @@ void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y, bool trans void StartSpriteCombine(); void EndSpriteCombine(); -void HandleViewportClicked(const ViewPort *vp, int x, int y); +bool HandleViewportClicked(const ViewPort *vp, int x, int y); void PlaceObject(); void SetRedErrorSquare(TileIndex tile); void SetTileSelectSize(int w, int h); |