Public Member Functions | |
uint_t | GetWidth (void) const |
uint_t | GetHeight (void) const |
const uint8_t * | GetPixels (void) const |
void | Draw (Renderer *pRenderer, int iX, int iY) const |
void | DrawMasked (Renderer *pRenderer, int iX, int iY) const |
Static Public Member Functions | |
static Shape8Bit_t * | Load (RezFile *pRezFile, uint_t uRezNum) |
static void | Preload (RezFile *pRezFile, uint_t uRezNum) |
Public Attributes | |
uint16_t | m_usWidth |
Width of the shape. | |
uint16_t | m_usHeight |
Height of the shape. | |
uint8_t | m_Data [1] |
Raw shape data. | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Load a Burgerlib shape assuming it's little endian. I will swap the endian on big endian machines
|
static |
Load a Burgerlib shape assuming it's little endian. I will swap the endian on big endian machines
uint8_t Burger::Shape8Bit_t::m_Data[1] |
Raw shape data.
uint16_t Burger::Shape8Bit_t::m_usHeight |
Height of the shape.
uint16_t Burger::Shape8Bit_t::m_usWidth |
Width of the shape.