mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 02:23:52 +00:00
feat(editor): water mask PNG export (16x16 chunk grid, white=water)
This commit is contained in:
parent
235eccad88
commit
7ce49ebe96
2 changed files with 16 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ public:
|
|||
static bool exportHeightmapPreview(const pipeline::ADTTerrain& terrain,
|
||||
const std::string& path);
|
||||
|
||||
// Export water mask as PNG (white=water, black=land)
|
||||
static bool exportWaterMask(const pipeline::ADTTerrain& terrain,
|
||||
const std::string& path);
|
||||
|
||||
// Import terrain from open format back to ADTTerrain
|
||||
static bool importOpen(const std::string& basePath, pipeline::ADTTerrain& terrain);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue