mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
feat(editor): erosion brush, NPC load, auto-save
- Erode brush mode: simulates water erosion by moving height downhill based on slope, creating natural drainage patterns and gullies - NPC JSON loader: File > Load NPCs parses saved creatures.json back into the spawn list (round-trip save/load now works) - Auto-save: every 5 minutes when unsaved changes exist, exports the full zone (ADT + WDT + creatures) to the output directory - Sculpt mode now has 6 brush types: Raise/Lower/Smooth/Flatten/Level/Erode
This commit is contained in:
parent
42749e9b58
commit
a91233a6ec
7 changed files with 164 additions and 7 deletions
|
|
@ -69,6 +69,7 @@ private:
|
|||
void applyRaise(float dt);
|
||||
void applySmooth(float dt);
|
||||
void applyFlatten(float dt);
|
||||
void applyErode(float dt);
|
||||
void stitchEdges(int chunkIdx);
|
||||
|
||||
std::vector<int> getAffectedChunks(const glm::vec3& center, float radius) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue