mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 11:03:51 +00:00
Moves the two tree-style content browser handlers
(--info-zone-tree, --info-project-tree) out of main.cpp into
a new cli_info_tree.{hpp,cpp} module. Both render
Unix-`tree`-style hierarchical views — one drilling into a
single zone (manifest, tiles, creatures, objects, quests,
files) and one giving a bird's-eye view of every zone in a
project with bake/viewer status.
main.cpp shrinks by 201 lines (8,140 to 7,939). The remaining
info-zone/-project-* pairs (bytes, extents, water, density,
audio) form the next natural extraction batch.
20 lines
690 B
C++
20 lines
690 B
C++
#pragma once
|
|
|
|
namespace wowee {
|
|
namespace editor {
|
|
namespace cli {
|
|
|
|
// Dispatch the tree-style content browser handlers — Unix
|
|
// `tree`-style hierarchical views of zone and project contents
|
|
// (manifest, tiles, creatures, objects, quests, files, baked
|
|
// artifacts). Designed for at-a-glance comprehension of what
|
|
// lives in a given directory without opening the JSON files.
|
|
// --info-zone-tree drill into one zone's contents
|
|
// --info-project-tree bird's-eye view of every zone in a project
|
|
//
|
|
// Returns true if matched; outRc holds the exit code.
|
|
bool handleInfoTree(int& i, int argc, char** argv, int& outRc);
|
|
|
|
} // namespace cli
|
|
} // namespace editor
|
|
} // namespace wowee
|