1#ifndef YAZE_SRC_CLI_HANDLERS_GAME_DUNGEON_COLLISION_COMMANDS_H_
2#define YAZE_SRC_CLI_HANDLERS_GAME_DUNGEON_COLLISION_COMMANDS_H_
14 return "dungeon-list-custom-collision";
17 return "List ZScream-style custom collision tiles for a dungeon room";
20 return "dungeon-list-custom-collision --room <room_id> "
21 "[--tiles <hex,hex,...>] [--nonzero] [--all] [--format <json|text>]";
36 return "dungeon-export-custom-collision-json";
39 return "Export dungeon custom collision maps to JSON";
42 return "dungeon-export-custom-collision-json --out <path> "
43 "[--room <room_id> | --rooms <hex,hex,...> | --all] "
45 "[--format <json|text>]";
60 return "dungeon-import-custom-collision-json";
63 return "Import dungeon custom collision maps from JSON";
66 return "dungeon-import-custom-collision-json --in <path> [--replace-all] "
67 "[--force] [--dry-run] [--report <path>] [--format <json|text>]";
81 return "dungeon-export-water-fill-json";
84 return "Export dungeon water fill zones to JSON";
87 return "dungeon-export-water-fill-json --out <path> "
88 "[--room <room_id> | --rooms <hex,hex,...> | --all] "
90 "[--format <json|text>]";
104 return "dungeon-import-water-fill-json";
107 return "Import dungeon water fill zones from JSON";
110 return "dungeon-import-water-fill-json --in <path> [--dry-run] "
111 "[--strict-masks] [--report <path>] [--format <json|text>]";
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
std::string GetName() const override
Get the command name.
std::string GetUsage() const override
Get the command usage string.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetDescription() const
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetDescription() const
std::string GetName() const override
Get the command name.
std::string GetUsage() const override
Get the command usage string.
std::string GetUsage() const override
Get the command usage string.
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetName() const override
Get the command name.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetDescription() const
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
std::string GetUsage() const override
Get the command usage string.
std::string GetName() const override
Get the command name.
std::string GetDescription() const
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
std::string GetName() const override
Get the command name.
std::string GetUsage() const override
Get the command usage string.
std::string GetDescription() const
absl::Status ValidateArgs(const resources::ArgumentParser &parser) override
Validate command arguments.
absl::Status Execute(Rom *rom, const resources::ArgumentParser &parser, resources::OutputFormatter &formatter) override
Execute the command business logic.
Utility for parsing common CLI argument patterns.
absl::Status RequireArgs(const std::vector< std::string > &required) const
Validate that required arguments are present.
Base class for CLI command handlers.