Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::Shape8BitOffset_t Struct Reference
Collaboration diagram for Burger::Shape8BitOffset_t:

Public Member Functions

uint_t GetWidth (void) const
 
uint_t GetHeight (void) const
 
const uint8_t * GetPixels (void) const
 
int GetXOffset (void) const
 
int GetYOffset (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 Shape8BitOffset_tLoad (RezFile *pRezFile, uint_t uRezNum)
 
static void Preload (RezFile *pRezFile, uint_t uRezNum)
 

Public Attributes

short m_sXOffset
 Signed offset for x.
 
short m_sYOffset
 Signed offset for y.
 
Shape8Bit_t m_Shape8Bit
 Shape data.
 

Member Function Documentation

◆ Draw()

void Burger::Shape8BitOffset_t::Draw ( Renderer * pRenderer,
int iX,
int iY ) const
inline

◆ DrawMasked()

void Burger::Shape8BitOffset_t::DrawMasked ( Renderer * pRenderer,
int iX,
int iY ) const
inline

◆ GetHeight()

uint_t Burger::Shape8BitOffset_t::GetHeight ( void ) const
inline

◆ GetPixels()

const uint8_t * Burger::Shape8BitOffset_t::GetPixels ( void ) const
inline

◆ GetWidth()

uint_t Burger::Shape8BitOffset_t::GetWidth ( void ) const
inline

◆ GetXOffset()

int Burger::Shape8BitOffset_t::GetXOffset ( void ) const
inline

◆ GetYOffset()

int Burger::Shape8BitOffset_t::GetYOffset ( void ) const
inline

◆ Load()

Burger::Shape8BitOffset_t *BURGER_API Burger::Shape8BitOffset_t::Load ( Burger::RezFile * pRezFile,
uint_t uRezNum )
static

Load a Burgerlib shape assuming it's little endian. I will swap the endian on big endian machines

◆ Preload()

void BURGER_API Burger::Shape8BitOffset_t::Preload ( Burger::RezFile * pRezFile,
uint_t uRezNum )
static

Load a Burgerlib shape assuming it's little endian. I will swap the endian on big endian machines

Member Data Documentation

◆ m_Shape8Bit

Shape8Bit_t Burger::Shape8BitOffset_t::m_Shape8Bit

Shape data.

◆ m_sXOffset

short Burger::Shape8BitOffset_t::m_sXOffset

Signed offset for x.

◆ m_sYOffset

short Burger::Shape8BitOffset_t::m_sYOffset

Signed offset for y.