Drag over the map while holding the left mouse down. */
| 2830 | |
| 2831 | /** Drag over the map while holding the left mouse down. */ |
| 2832 | void VpStartDragging(ViewportDragDropSelectionProcess process) |
| 2833 | { |
| 2834 | _thd.select_method = VPM_X_AND_Y; |
| 2835 | _thd.select_proc = process; |
| 2836 | _thd.selstart.x = 0; |
| 2837 | _thd.selstart.y = 0; |
| 2838 | _thd.next_drawstyle = HT_RECT; |
| 2839 | |
| 2840 | _special_mouse_mode = WSM_DRAGGING; |
| 2841 | } |
| 2842 | |
| 2843 | void VpSetPlaceSizingLimit(int limit) |
| 2844 | { |