Functions | |
| absl::StatusOr< GraphicsEditContext > | Make (const zsprite::Frame &frame, int frame_index, int oam_index, const std::array< uint8_t, 8 > &slots, const gfx::PaletteGroup &palettes, const zelda3::GameData *owner, const std::string &source_label, const std::string &sheet_source) |
| absl::StatusOr< usage_preview::PreviewImage > | RenderCapturedFrame (const zsprite::Frame &frame, const std::array< uint8_t, 8 > &slots, const gfx::PaletteGroup &palettes, const zelda3::GameData *owner) |
| absl::StatusOr< GraphicsEditContext > yaze::editor::sprite_graphics_context::Make | ( | const zsprite::Frame & | frame, |
| int | frame_index, | ||
| int | oam_index, | ||
| const std::array< uint8_t, 8 > & | slots, | ||
| const gfx::PaletteGroup & | palettes, | ||
| const zelda3::GameData * | owner, | ||
| const std::string & | source_label, | ||
| const std::string & | sheet_source ) |
Definition at line 21 of file sprite_graphics_context.cc.
References yaze::zelda3::GetGfxSheetStorageKind(), yaze::zelda3::ResolvedGraphicsContext::graphics_loaded, yaze::zelda3::GraphicsSheetStore::HasSheet(), yaze::zelda3::ResolvedGraphicsContext::id, yaze::zelda3::kCompressed2bpp, yaze::editor::GraphicsEditContext::label, yaze::editor::GraphicsEditContext::limitation, yaze::zelda3::ResolvedGraphicsContext::loader_agrees, yaze::editor::GraphicsEditContext::owner, yaze::zelda3::ResolvedGraphicsContext::palette_colors_resolved, yaze::gfx::PaletteGroup::palette_ref(), yaze::zelda3::ResolvedGraphicsContext::palettes, yaze::editor::GraphicsEditContext::resolved, yaze::zelda3::GraphicsSheetStore::Revision(), yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, yaze::gfx::SnesPalette::size(), yaze::gfx::PaletteGroup::size(), yaze::zelda3::ResolvedGraphicsContext::slots, yaze::zelda3::SpriteSlotForTile(), yaze::zelda3::ResolvedGraphicsContext::surface, yaze::editor::GraphicsEditContext::targets, and yaze::editor::zsprite::Frame::Tiles.
Referenced by yaze::editor::SpriteEditor::OpenSelectedOamGraphics().
| absl::StatusOr< usage_preview::PreviewImage > yaze::editor::sprite_graphics_context::RenderCapturedFrame | ( | const zsprite::Frame & | frame, |
| const std::array< uint8_t, 8 > & | slots, | ||
| const gfx::PaletteGroup & | palettes, | ||
| const zelda3::GameData * | owner ) |
Definition at line 102 of file sprite_graphics_context.cc.
References yaze::editor::usage_preview::PreviewImage::colors, yaze::editor::SpriteDrawer::DrawFrame(), yaze::editor::usage_preview::PreviewImage::height, yaze::editor::usage_preview::PreviewImage::index0_transparent, yaze::gfx::PaletteGroup::palette_ref(), yaze::editor::usage_preview::PreviewImage::pixels, yaze::gfx::PaletteGroup::size(), yaze::editor::usage_preview::SnapshotSessionSheets(), yaze::gfx::Bitmap::vector(), and yaze::editor::usage_preview::PreviewImage::width.
Referenced by yaze::editor::SpriteEditor::OpenSelectedOamGraphics().