refactor(music): update include path for Hyrule Magic
- Changed the include path for Hyrule Magic from "app/zelda3/hyrule_magic.h" to "util/hyrule_magic.h" in tracker.cc. - This adjustment improves the modularity of the codebase by aligning the include structure with the new organization of utility headers.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "app/rom.h"
|
#include "app/rom.h"
|
||||||
#include "app/zelda3/hyrule_magic.h"
|
#include "util/hyrule_magic.h"
|
||||||
#include "util/macro.h"
|
#include "util/macro.h"
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
|
|||||||
@@ -11,6 +11,11 @@
|
|||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace cli {
|
namespace cli {
|
||||||
|
|
||||||
|
// Forward declaration
|
||||||
|
namespace handlers {
|
||||||
|
absl::Status HandleAgentCommand(const std::vector<std::string>& args);
|
||||||
|
}
|
||||||
|
|
||||||
ModernCLI::ModernCLI() {
|
ModernCLI::ModernCLI() {
|
||||||
// Commands are now managed by CommandRegistry singleton
|
// Commands are now managed by CommandRegistry singleton
|
||||||
// SetupCommands() is no longer needed
|
// SetupCommands() is no longer needed
|
||||||
@@ -58,8 +63,7 @@ absl::Status ModernCLI::Run(int argc, char* argv[]) {
|
|||||||
// Special case: "agent" command routes to HandleAgentCommand
|
// Special case: "agent" command routes to HandleAgentCommand
|
||||||
if (args[0] == "agent") {
|
if (args[0] == "agent") {
|
||||||
std::vector<std::string> agent_args(args.begin() + 1, args.end());
|
std::vector<std::string> agent_args(args.begin() + 1, args.end());
|
||||||
std::cout << "Agent args: " << absl::StrJoin(agent_args, " ") << std::endl;
|
return handlers::HandleAgentCommand(agent_args);
|
||||||
args = agent_args;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use CommandRegistry for unified command execution
|
// Use CommandRegistry for unified command execution
|
||||||
|
|||||||
Reference in New Issue
Block a user