Feature: Plant clumps of trees in editor by dragging on the landscape

This commit is contained in:
Niels Martin Hansen
2020-06-26 21:30:18 +02:00
committed by Patric Stout
parent e0ee2d530a
commit 2d9fa81bd0
7 changed files with 153 additions and 10 deletions

View File

@@ -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;