mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-09 18:43:51 +00:00
Moves the proprietary-format inspection commands out of main.cpp into their own translation unit. Each reads a Blizzard-format file and prints its structure: --info-png --info-blp --info-m2 --info-wmo --info-adt --info-jsondbc main.cpp drops 18,198 → 17,766 lines (-432). Behavior verified by re-running --info-png on a generated noise texture.
18 lines
471 B
C++
18 lines
471 B
C++
#pragma once
|
|
|
|
namespace wowee {
|
|
namespace editor {
|
|
namespace cli {
|
|
|
|
// Dispatch the proprietary-format inspection handlers — each
|
|
// reads a Blizzard-format file and prints its structure:
|
|
// --info-png --info-blp
|
|
// --info-m2 --info-wmo
|
|
// --info-adt --info-jsondbc
|
|
//
|
|
// Returns true if matched; outRc holds the exit code.
|
|
bool handleFormatInfo(int& i, int argc, char** argv, int& outRc);
|
|
|
|
} // namespace cli
|
|
} // namespace editor
|
|
} // namespace wowee
|