1#ifndef YAZE_APP_CORE_CONTROLLER_H
2#define YAZE_APP_CORE_CONTROLLER_H
8#include "absl/status/status.h"
14int main(
int argc,
char** argv);
18class CanvasAutomationServiceImpl;
29 absl::Status
OnEntry(std::string filename =
"");
37 const std::string& cards);
61 void SetCanvasAutomationService(CanvasAutomationServiceImpl* service) {
67 friend int ::main(
int argc,
char** argv);
Main controller for the application.
platform::IWindowBackend * window_backend()
auto window() -> SDL_Window *
editor::EditorManager * editor_manager()
auto overworld() -> yaze::zelda3::Overworld *
auto renderer() -> gfx::IRenderer *
editor::EditorManager editor_manager_
absl::Status LoadRomForTesting(const std::string &rom_path)
absl::Status OnEntry(std::string filename="")
auto GetCurrentRom() -> Rom *
void SetStartupEditor(const std::string &editor_name, const std::string &cards)
std::unique_ptr< platform::IWindowBackend > window_backend_
std::unique_ptr< gfx::IRenderer > renderer_
void set_active(bool active)
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
The EditorManager controls the main editor window and manages the various editor classes.
auto overworld() const -> yaze::zelda3::Overworld *
auto GetCurrentRom() const -> Rom *
Defines an abstract interface for all rendering operations.
Represents the full Overworld data, light and dark world.
int main(int argc, char **argv)
SDL2/SDL3 compatibility layer.