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