yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
sprite_graphics_context.cc File Reference
#include "app/editor/sprite/sprite_graphics_context.h"
#include <algorithm>
#include <array>
#include <set>
#include <string>
#include <vector>
#include "absl/strings/str_format.h"
#include "app/editor/graphics/graphics_edit_context.h"
#include "app/editor/graphics/usage_preview.h"
#include "app/editor/sprite/sprite_drawer.h"
#include "zelda3/game_data.h"
#include "zelda3/gfx_sheet_storage.h"
#include "zelda3/sprite/sprite_sheet_slots.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::sprite_graphics_context
 

Functions

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)
 
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)