◆ ~Sprites()
| virtual Ultima::Shared::Gfx::Sprites::~Sprites |
( |
| ) |
|
|
inlinevirtual |
◆ load()
| void Ultima::Shared::Gfx::Sprites::load |
( |
const Common::Path & |
name, |
|
|
uint |
bpp, |
|
|
uint16 |
w = 16, |
|
|
uint16 |
h = 16 |
|
) |
| |
|
protected |
Load a raw data file containing sprite pixels
- Parameters
-
| name | Filename |
| bpp | The bits per pixel for tiles in the file |
| w | Width of tiles |
| h | Height of files |
◆ getSpriteSize()
| Point Ultima::Shared::Gfx::Sprites::getSpriteSize |
( |
| ) |
const |
|
inline |
Return the default dimensions for tiles
◆ size()
| size_t Ultima::Shared::Gfx::Sprites::size |
( |
| ) |
const |
|
inline |
Return the size of the sprites list
◆ empty()
| bool Ultima::Shared::Gfx::Sprites::empty |
( |
| ) |
const |
|
inline |
Returns true if the sprites list is empty
◆ operator[]()
| virtual Sprite& Ultima::Shared::Gfx::Sprites::operator[] |
( |
uint |
idx | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: