mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
20 lines
598 B
C++
20 lines
598 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
namespace wowee {
|
||
|
|
namespace editor {
|
||
|
|
namespace cli {
|
||
|
|
|
||
|
|
// Dispatch the repair-* manifest-drift fix handlers — auto-fix
|
||
|
|
// the common manifest-vs-disk inconsistencies that accumulate
|
||
|
|
// when zones are hand-edited or partially copied. Both honor
|
||
|
|
// --dry-run for safe previews.
|
||
|
|
// --repair-zone fix one zone (sync tiles, hasCreatures)
|
||
|
|
// --repair-project per-zone wrapper with aggregate tally
|
||
|
|
//
|
||
|
|
// Returns true if matched; outRc holds the exit code.
|
||
|
|
bool handleRepair(int& i, int argc, char** argv, int& outRc);
|
||
|
|
|
||
|
|
} // namespace cli
|
||
|
|
} // namespace editor
|
||
|
|
} // namespace wowee
|