yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
tile_brush_preview.h File Reference
#include <algorithm>
#include <cstdint>
#include <span>
#include <vector>
#include "app/editor/overworld/painting/tile_brush.h"
#include "app/gfx/core/bitmap.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::MapBrushPreview
 

Namespaces

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

Functions

MapBrushPreview yaze::editor::BuildMapBrushPreview (const TileBrush &brush, int anchor_x, int anchor_y, int map_x, int map_y, std::span< const uint8_t > atlas, int atlas_width=128)
 
void yaze::editor::SyncMapBrushPreview (const MapBrushPreview &piece, const gfx::SnesPalette &palette, gfx::Bitmap &preview)
 
std::vector< uint8_t > yaze::editor::Tile16PixelsFromBlockset (std::span< const uint8_t > atlas, int tile_id, int atlas_width=128)