|
coastline 0.0.4
|
A picture of the paint shop, Sprite of the console. More...
#include <paintshop.h>
Public Attributes | |
| std::vector< u8 > | pixels |
| u8 | bitsPerTexel = 0 |
| s32 | width = 0 |
| s32 | height = 0 |
| s32 | originX = 0 |
| s32 | originY = 0 |
| s32 | drawWidth = 0 |
| s32 | drawHeight = 0 |
| u8 | style = 0 |
| std::string | asset |
| std::unique_ptr< RenderTexture > | texture |
A picture of the paint shop, Sprite of the console.
| std::vector<u8> coastline::PaintSprite::pixels |
The texels as the cartridge has them, the bottom row first.
| u8 coastline::PaintSprite::bitsPerTexel = 0 |
The bits of a texel: 4, 8, or 16.
| s32 coastline::PaintSprite::width = 0 |
The width in texels.
| s32 coastline::PaintSprite::height = 0 |
The height in texels.
| s32 coastline::PaintSprite::originX = 0 |
The x the picture is drawn from.
| s32 coastline::PaintSprite::originY = 0 |
The y the picture is drawn from.
| s32 coastline::PaintSprite::drawWidth = 0 |
The width it is drawn at, negative to flip it.
| s32 coastline::PaintSprite::drawHeight = 0 |
The height it is drawn at.
| u8 coastline::PaintSprite::style = 0 |
The style of a tool, or 99 for a picture drawn in a colour.
| std::string coastline::PaintSprite::asset |
The asset of the cartridge the texels come from.
| std::unique_ptr<RenderTexture> coastline::PaintSprite::texture |
The texels upright, made at the first draw.