1#ifndef YAZE_APP_EDITOR_SCREEN_EDITOR_H
2#define YAZE_APP_EDITOR_SCREEN_EDITOR_H
6#include "absl/status/status.h"
19#include "imgui/imgui.h"
46 absl::Status
Update()
override;
48 absl::Status
Undo()
override {
return absl::UnimplementedError(
"Undo"); }
49 absl::Status
Redo()
override {
return absl::UnimplementedError(
"Redo"); }
50 absl::Status
Cut()
override {
return absl::UnimplementedError(
"Cut"); }
51 absl::Status
Copy()
override {
return absl::UnimplementedError(
"Copy"); }
52 absl::Status
Paste()
override {
return absl::UnimplementedError(
"Paste"); }
53 absl::Status
Find()
override {
return absl::UnimplementedError(
"Find"); }
A class to hold a shared pointer to a Rom object.
Interface for editor classes.
The ScreenEditor class allows the user to edit a variety of screens in the game or create a custom me...
gui::Canvas tilemap_canvas_
std::vector< std::vector< std::array< std::string, 25 > > > dungeon_map_labels_
void DrawInventoryMenuEditor()
gui::Canvas screen_canvas_
absl::Status LoadDungeonMapTile16()
bool dungeon_maps_loaded_
absl::Status Update() override
absl::Status Cut() override
gfx::Tilesheet tile16_sheet_
absl::Status Redo() override
zelda3::screen::Inventory inventory_
absl::Status Paste() override
void DrawTitleScreenEditor()
void DrawDungeonMapsEditor()
absl::Status SaveDungeonMaps()
gfx::SnesPalette palette_
void DrawOverworldMapEditor()
bool paste_button_pressed
absl::Status Undo() override
void DrawDungeonMapsTabs()
absl::Status LoadDungeonMaps()
void DrawNamingScreenEditor()
absl::Status Copy() override
gui::Canvas tilesheet_canvas_
void DrawInventoryToolset()
std::vector< zelda3::screen::DungeonMap > dungeon_maps_
std::vector< uint8_t > all_gfx_
std::unordered_map< int, gfx::Bitmap > tile16_individual_
absl::Status Find() override
Represents a palette of colors for the Super Nintendo Entertainment System (SNES).
Represents a tilesheet, which is a collection of tiles stored in a bitmap.
Represents a canvas for drawing and manipulating graphics.
void SetCanvasSize(ImVec2 canvas_size)
std::unordered_map< int, gfx::Bitmap > BitmapTable