mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 02:23:52 +00:00
feat(editor): NPC scatter tool, adjacent tile creation, multi-tile prep
- Scatter tool: place N creatures in a radius around cursor position with random rotation and uniform disk distribution - File > Add Adjacent Tile: creates and exports a blank tile N/S/E/W of current (foundation for multi-tile zone editing) - Scatter UI: count slider (1-30), radius slider (10-200) - Scatter places all copies with same stats/behavior as template
This commit is contained in:
parent
6e24e08818
commit
48026421c9
5 changed files with 67 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ public:
|
|||
void startGizmoMode(TransformMode mode);
|
||||
void setGizmoAxis(TransformAxis axis);
|
||||
void snapSelectedToGround();
|
||||
|
||||
// Multi-tile support
|
||||
void addAdjacentTile(int offsetX, int offsetY);
|
||||
TransformGizmo& getGizmo() { return viewport_.getGizmo(); }
|
||||
bool shouldOpenContextMenu() const { return openContextMenu_; }
|
||||
void clearContextMenuFlag() { openContextMenu_ = false; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue