|
| M4Surface (const Buffer &src) |
|
| M4Surface (int sw, int sh) |
|
| M4Surface (const byte *src, int sw, int sh) |
|
void | rleDraw (const byte *src, int x=0, int y=0) |
|
void | draw (const Buffer &src, int x, int y, bool forwards=true, const byte *depthCodes=nullptr, int srcDepth=-1, const byte *inverseColorTable=nullptr, const byte *palette=nullptr) |
|
uint8 * | getBasePtr (int x, int y) |
|
const uint8 * | getBasePtr (int x, int y) const |
|
|
int32 | w |
|
int32 | h |
|
uint8 * | data |
|
uint8 | encoding |
|
int32 | stride |
|
◆ rleDraw()
void M4::M4Surface::rleDraw |
( |
const byte * |
src, |
|
|
int |
x = 0 , |
|
|
int |
y = 0 |
|
) |
| |
Simple drawing at a given position given source RLE data. In this simplified version, the sprite must be entirely on-screen
◆ draw()
void M4::M4Surface::draw |
( |
const Buffer & |
src, |
|
|
int |
x, |
|
|
int |
y, |
|
|
bool |
forwards = true , |
|
|
const byte * |
depthCodes = nullptr , |
|
|
int |
srcDepth = -1 , |
|
|
const byte * |
inverseColorTable = nullptr , |
|
|
const byte * |
palette = nullptr |
|
) |
| |
The documentation for this class was generated from the following file: