mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 02:23:52 +00:00
Pairs with the per-zone inventory module from c0f2ab75. Moves
the five project-wide inventory handlers into their own file:
--list-project-meshes (per-zone WOM aggregate)
--list-project-meshes-detail (per-mesh sorted listing)
--list-project-audio (per-zone WAV aggregate)
--list-project-textures (per-zone + global texture refs)
--info-project-summary (BOOTSTRAPPED/PARTIAL/EMPTY rollup)
All five enumerate zones the same way; consolidated that into
a shared enumerateZones() helper at file scope.
main.cpp drops 27,200 → 26,650 lines (-550). Behavior unchanged
across all 5 commands (verified against /tmp/proj_starter).
19 lines
649 B
C++
19 lines
649 B
C++
#pragma once
|
|
|
|
namespace wowee {
|
|
namespace editor {
|
|
namespace cli {
|
|
|
|
// Dispatch the five project-wide inventory handlers:
|
|
// --list-project-meshes (per-zone WOM aggregate)
|
|
// --list-project-meshes-detail (per-mesh sorted-by-tris listing)
|
|
// --list-project-audio (per-zone WAV aggregate)
|
|
// --list-project-textures (per-zone + global texture-ref histogram)
|
|
// --info-project-summary (per-zone BOOTSTRAPPED/PARTIAL/EMPTY)
|
|
//
|
|
// Returns true if matched; outRc holds the exit code.
|
|
bool handleProjectInventory(int& i, int argc, char** argv, int& outRc);
|
|
|
|
} // namespace cli
|
|
} // namespace editor
|
|
} // namespace wowee
|