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);
27 absl::Status
OnEntry(std::string filename =
"");
34 void SetStartupEditor(
const std::string& editor_name,
const std::string& cards);
46 friend int ::main(
int argc,
char** argv);
Main controller for the application.
auto window() -> SDL_Window *
auto overworld() -> yaze::zelda3::Overworld *
auto renderer() -> gfx::IRenderer *
editor::EditorManager editor_manager_
absl::Status OnEntry(std::string filename="")
auto GetCurrentRom() -> Rom *
void SetStartupEditor(const std::string &editor_name, const std::string &cards)
std::unique_ptr< gfx::IRenderer > renderer_
void set_active(bool active)
The Rom class is used to load, save, and modify Rom data.
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.
Main namespace for the application.
std::shared_ptr< SDL_Window > window_