1#ifndef YAZE_CLI_HANDLERS_TOOLS_DUNGEON_OBJECT_VALIDATE_COMMANDS_H
2#define YAZE_CLI_HANDLERS_TOOLS_DUNGEON_OBJECT_VALIDATE_COMMANDS_H
12 int object_id,
int size,
13 const zelda3::DimensionService::DimensionResult& bounds,
int object_x,
20 std::string
GetName()
const override {
return "dungeon-object-validate"; }
23 return "Validate dungeon object draw bounds against dimension table";
27 return "dungeon-object-validate --rom <path> [--object <hex>] [--size <n>] "
28 "[--room <id>] [--report <path>] [--trace-out <path>] "
29 "[--format json|text] [--verbose]";
35 return "Dungeon Object Validation";
42 "Trace dungeon object draws and compare bounds to selection "
50 return absl::OkStatus();
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
std::string GetDescription() const
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetOutputTitle() const override
Get the output title for formatting.
std::string GetDefaultFormat() const override
Get the default output format ("json" or "text")
std::string GetName() const override
Get the command name.
std::string GetUsage() const override
Get the command usage string.
Descriptor Describe() const override
Provide metadata for TUI/help summaries.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
Utility for parsing common CLI argument patterns.
Base class for CLI command handlers.
zelda3::DimensionService::DimensionResult ClipSelectionBoundsToRoom(int object_id, int size, const zelda3::DimensionService::DimensionResult &bounds, int object_x, int object_y)
Namespace for the command line interface.
std::string todo_reference