mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 11:03:51 +00:00
Moves the four extracted-Data-tree audit handlers out of main: --info-extract (per-extension counts + bytes) --info-extract-tree (per-directory rollup) --info-extract-budget (proprietary share + open-format gap) --list-missing-sidecars (find unconverted .m2/.wmo/.blp/.dbc) All four operate on a Blizzard-format extracted Data tree — they audit what's there and what's missing in the migration from proprietary formats to open ones. main.cpp drops 13,485 → 13,120 lines (-365). Behavior verified by re-running --info-extract on a test zone (same output).
20 lines
626 B
C++
20 lines
626 B
C++
#pragma once
|
|
|
|
namespace wowee {
|
|
namespace editor {
|
|
namespace cli {
|
|
|
|
// Dispatch the extracted-data-tree inspection handlers:
|
|
// --info-extract (per-extension counts + bytes)
|
|
// --info-extract-tree (per-directory rollup)
|
|
// --info-extract-budget (proprietary share + open-format gap)
|
|
// --list-missing-sidecars (find unconverted .m2/.wmo/.blp/.dbc)
|
|
//
|
|
// All scan a Blizzard-format extracted Data tree directly.
|
|
//
|
|
// Returns true if matched; outRc holds the exit code.
|
|
bool handleExtractInfo(int& i, int argc, char** argv, int& outRc);
|
|
|
|
} // namespace cli
|
|
} // namespace editor
|
|
} // namespace wowee
|