1#ifndef YAZE_APP_EDITOR_TILE16EDITOR_H
2#define YAZE_APP_EDITOR_TILE16EDITOR_H
7#include "absl/status/status.h"
15#include "imgui/imgui.h"
27 std::array<gfx::Bitmap, zelda3::kNumTile16Individual> &tile16_individual)
31 std::array<uint8_t, 0x200> &all_tiles_types);
The Rom class is used to load, save, and modify Rom data.
Allows the user to view and edit in game palettes.
gfx::Bitmap current_gfx_bmp_
util::NotifyValue< uint32_t > notify_tile16
absl::Status UpdateTransferTileCanvas()
bool map_blockset_loaded_
PaletteEditor palette_editor_
std::array< uint8_t, 0x200 > all_tiles_types_
gfx::SnesPalette palette_
absl::Status UpdateTile16Transfer()
absl::Status UpdateTile16Edit()
absl::Status UpdateBlockset()
absl::Status SetCurrentTile(int id)
Tile16Editor(std::array< gfx::Bitmap, zelda3::kNumTile16Individual > &tile16_individual)
absl::Status DrawToCurrentTile16(ImVec2 pos)
gui::Canvas transfer_canvas_
bool transfer_blockset_loaded_
gui::Canvas tile16_edit_canvas_
gui::Canvas blockset_canvas_
gui::Canvas tile8_source_canvas_
absl::Status transfer_status_
zelda3::Overworld transfer_overworld_
gfx::Bitmap tile16_blockset_bmp_
gfx::Bitmap transfer_blockset_bmp_
std::vector< gfx::Bitmap > current_gfx_individual_
std::array< gfx::Bitmap, kNumGfxSheets > transfer_gfx_
absl::Status DrawTileEditControls()
std::array< gfx::Bitmap, zelda3::kNumTile16Individual > & tile16_individual_
gfx::Bitmap current_tile16_bmp_
absl::Status InitBlockset(const gfx::Bitmap &tile16_blockset_bmp, const gfx::Bitmap ¤t_gfx_bmp, std::array< uint8_t, 0x200 > &all_tiles_types)
util::NotifyValue< uint8_t > notify_palette
Represents a bitmap image.
Shared graphical context across editors.
Represents a palette of colors for the Super Nintendo Entertainment System (SNES).
Represents a canvas for drawing and manipulating graphics.
A class to manage a value that can be modified and notify when it changes.
Represents the full Overworld data, light and dark world.
Editors are the view controllers for the application.
constexpr int kTilesheetHeight
constexpr int kTilesheetWidth
Main namespace for the application.