| 213 | } |
| 214 | |
| 215 | void OnPlaceObject([[maybe_unused]] Point pt, TileIndex tile) override |
| 216 | { |
| 217 | if (_game_mode != GM_EDITOR && this->mode == PM_NORMAL) { |
| 218 | VpStartPlaceSizing(tile, VPM_X_AND_Y, DDSP_PLANT_TREES); |
| 219 | } else { |
| 220 | VpStartDragging(DDSP_PLANT_TREES); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | void OnPlaceDrag(ViewportPlaceMethod select_method, [[maybe_unused]] ViewportDragDropSelectionProcess select_proc, [[maybe_unused]] Point pt) override |
| 225 | { |
nothing calls this directly
no test coverage detected