1#ifndef YAZE_APP_EDITOR_OVERWORLD_PROJECT_GRAPHICS_IMPORT_H_
2#define YAZE_APP_EDITOR_OVERWORLD_PROJECT_GRAPHICS_IMPORT_H_
11#include "absl/status/statusor.h"
23 std::array<std::optional<uint16_t>, 16>
colors;
40 std::vector<ProjectImportTile16>
cells;
54 std::vector<ProjectImportPaletteBinding>
palettes;
71 std::vector<uint16_t>
grid;
92 const std::filesystem::path& logical_pack);
94absl::StatusOr<ProjectGraphicsImportContext>
96 const std::vector<gfx::Tile16>& definitions,
97 const std::vector<uint16_t>& grid,
98 int width,
int height);
Represents a single Overworld map screen.
Editors are the view controllers for the application.
absl::StatusOr< ProjectGraphicsImportAsset > LoadProjectGraphicsImport(const std::filesystem::path &logical_pack)
absl::StatusOr< ProjectGraphicsImportContext > CaptureProjectGraphicsImportContext(const zelda3::OverworldMap &map, const std::vector< gfx::Tile16 > &definitions, const std::vector< uint16_t > &grid, int width, int height)
absl::StatusOr< ProjectGraphicsImportPlan > PlanProjectGraphicsImport(const ProjectGraphicsImportAsset &asset, const ProjectGraphicsImportBindings &bindings, const ProjectGraphicsImportContext &context)
std::array< std::optional< PaletteColorAddress >, 128 > PaletteAddressMap
std::vector< ProjectImportPalette > palettes
std::vector< ProjectImportTile16 > cells
std::string source_sha256
std::vector< uint8_t > target_resource
int resource_first_character
std::vector< ProjectImportPaletteBinding > palettes
std::vector< uint16_t > grid
std::vector< gfx::Tile16 > definitions
std::array< uint16_t, 128 > palette
zelda3::PaletteAddressMap palette_addresses
std::vector< zelda3::Tile8PixelData > characters
const zelda3::GameData * owner
std::vector< uint8_t > resource_before
std::vector< Tile16Commit > definitions
std::vector< uint8_t > resource_after
std::string source_sha256
std::vector< ProjectImportReplacement > replacements
std::vector< gfx::PaletteColorChange > palette_changes
std::vector< std::string > notes
int owned_character_count
std::array< std::optional< uint16_t >, 16 > colors
std::vector< uint8_t > characters
std::array< ProjectImportQuadrant, 4 > quadrants