#include <Sprites.h>
◆ FastFindSprite()
int SpriteFrameTable::FastFindSprite |
( |
std::string_view |
pSpriteName | ) |
|
- Parameters
-
pSpriteName | Name of the sprite to find. Names are case-insensitive. |
- Returns
- Index in
pSpriteSFrames
for the sprite, or 0 if sprite wasn't found. Conveniently, sprite 0 is a dummy sprite that actually exists.
◆ GetFrame()
◆ GetFrameReversed()
◆ InitializeSprite()
void SpriteFrameTable::InitializeSprite |
( |
signed int |
uSpriteID | ) |
|
◆ ResetLoadedFlags()
void SpriteFrameTable::ResetLoadedFlags |
( |
| ) |
|
◆ ResetPaletteIndexes()
void SpriteFrameTable::ResetPaletteIndexes |
( |
| ) |
|
Resets the uPaletteIndex of all loaded pSpriteSFrames. Called by PaletteManager on reset.
◆ pSpriteEFrames
std::vector<uint16_t> SpriteFrameTable::pSpriteEFrames |
Indices into pSpriteSFrames
, sorted by sprite name. Note that pSpriteSFrames
itself is not sorted. Contains only indices for 'a' (frontal?) sprites, so smaller in size than pSpriteSFrames
.
◆ pSpriteSFrames
std::vector<SpriteFrame> SpriteFrameTable::pSpriteSFrames |
The documentation for this struct was generated from the following files: