diff options
author | rubidium <rubidium@openttd.org> | 2008-05-18 12:40:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-18 12:40:38 +0000 |
commit | fc4393dcfee86962549736b429f69cc551ea1ab3 (patch) | |
tree | 714f6bb8fc38d8b835bffc7a3eaa83e7e6e08e5a /src/tilehighlight_func.h | |
parent | a4260474410a86019f2ab80a329141afd7db79ce (diff) | |
download | openttd-fc4393dcfee86962549736b429f69cc551ea1ab3.tar.xz |
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
Diffstat (limited to 'src/tilehighlight_func.h')
-rw-r--r-- | src/tilehighlight_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tilehighlight_func.h b/src/tilehighlight_func.h index 78eff6f5f..4a0f5bb0e 100644 --- a/src/tilehighlight_func.h +++ b/src/tilehighlight_func.h @@ -12,7 +12,7 @@ typedef void PlaceProc(TileIndex tile); void PlaceProc_DemolishArea(TileIndex tile); -bool GUIPlaceProcDragXY(const WindowEvent *e); +bool GUIPlaceProcDragXY(ViewportDragDropSelectionProcess proc, TileIndex start_tile, TileIndex end_tile); bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, ViewportHighlightMode mode, PlaceProc *placeproc); void SetObjectToPlaceWnd(CursorID icon, SpriteID pal, ViewportHighlightMode mode, Window *w); |