summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2020-06-26 21:30:18 +0200
committerPatric Stout <github@truebrain.nl>2020-12-27 01:03:27 +0100
commit2d9fa81bd08425d64ab40ff377d9711aae39b6d5 (patch)
tree171d962535f495756ad669d62771afbdef95fabe /src/window_gui.h
parente0ee2d530aaa7bcf0bf80012f27024337d0ac4e7 (diff)
downloadopenttd-2d9fa81bd08425d64ab40ff377d9711aae39b6d5.tar.xz
Feature: Plant clumps of trees in editor by dragging on the landscape
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index b389db5a6..b03f5bbca 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -903,9 +903,10 @@ extern bool _mouse_hovering;
/** Mouse modes. */
enum SpecialMouseMode {
WSM_NONE, ///< No special mouse mode.
- WSM_DRAGDROP, ///< Dragging an object.
+ WSM_DRAGDROP, ///< Drag&drop an object.
WSM_SIZING, ///< Sizing mode.
WSM_PRESIZE, ///< Presizing mode (docks, tunnels).
+ WSM_DRAGGING, ///< Dragging mode (trees).
};
extern SpecialMouseMode _special_mouse_mode;