yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
sprite_editor_internal.h File Reference
#include <algorithm>
#include <array>
#include <cstdint>
#include <vector>
#include "app/editor/sprite/zsprite.h"
#include "app/gfx/core/bitmap.h"
#include "app/gfx/types/snes_palette.h"
This graph shows which files directly or indirectly include this file:

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::internal
 

Functions

std::vector< int > yaze::editor::internal::FrameTiles8x8 (const zsprite::Frame &frame)
 
gfx::PaletteGroup yaze::editor::internal::DefaultSpritePreviewPalettes (const gfx::PaletteGroup &global, const gfx::PaletteGroup &aux1, const gfx::PaletteGroup &aux2, const gfx::PaletteGroup &aux3)
 
gfx::PaletteGroup yaze::editor::internal::SpritePalettesFromCgram (const std::array< SDL_Color, 256 > &cgram)
 
void yaze::editor::internal::EnsureSpritePreviewBitmapReady (gfx::Bitmap &bmp, int width, int height, int depth, const std::vector< uint8_t > &gfx_buffer)
 
void yaze::editor::internal::PublishSpritePreviewPixels (gfx::Bitmap &bmp)