Implement new agent commands for resource listing and dungeon sprite retrieval
- Added `HandleResourceListCommand` to list resources by type and format (table or JSON). - Introduced `HandleDungeonListSpritesCommand` to retrieve and display sprites from specified dungeon rooms. - Updated command handling in `agent.cc` to support new subcommands. - Enhanced error handling for invalid inputs and missing ROM files. This commit expands the functionality of the z3ed agent, enabling users to interact with game resources and dungeon sprites more effectively.
This commit is contained in:
@@ -24,7 +24,10 @@ absl::Status HandleLearnCommand();
|
||||
absl::Status HandleListCommand();
|
||||
absl::Status HandleCommitCommand(Rom& rom);
|
||||
absl::Status HandleRevertCommand(Rom& rom);
|
||||
absl::Status HandleDescribeCommand(const std::vector<std::string>& args);
|
||||
absl::Status HandleDescribeCommand(const std::vector<std::string>& arg_vec);
|
||||
absl::Status HandleResourceListCommand(const std::vector<std::string>& arg_vec);
|
||||
absl::Status HandleDungeonListSpritesCommand(
|
||||
const std::vector<std::string>& arg_vec);
|
||||
|
||||
} // namespace agent
|
||||
} // namespace cli
|
||||
|
||||
Reference in New Issue
Block a user