| CRM64Pro GDK v0.15.0 A free cross-platform game development kit built on top of SDL 3.0

Loading...
Searching...
No Matches
CRM64Pro::SpriteMgr
Graphics modules » Sprite

Sprite Manager class. More...

## Detailed Description

Sprite Manager class.

## Public Member Functions
bool | info (Sint32 iMode=0) override
| Request Sprite Manager information.
Sint32 | create (const string &sName, Uint32 iVersion=10) override
| Create a new sprite.
bool | close (Sint32 idSprite) override
| Close and destroy a sprite.
Sint32 | getCount () const override
| Get number of loaded objects.
Sint32 | setName (Sint32 idSprite, const string &sName) override
| Change the object name.
Sprite * | get (Sint32 idSprite)
| Get a pointer to the sprite using its handler.
Sint32 | child (Sint32 idSprite)
| Create a child sprite dependent on the provided one (the parent).
Sint32 | load (const string &sCDCFile, const string &sName)
| Load a sprite stored in a CDC file.
Sint32 | load (const Sint32 idCDC, const string &sName)
| Load a sprite stored in a CDC file.
Sint32 | loadFromBuffer (const void *pBuffer, Sint32 iSize, const string &sName, Uint32 iW=0, Uint32 iH=0)
| Load a sprite and its image from a memory buffer.
Sint32 | remove (const Sint32 idCDC, const string &sName)
| Remove a sprite stored in a CDC file.
bool | exist (Sint32 idCDC, const string &sName)
| Check if a sprite is stored in a CDC file.
bool | exist (const string &sCDCFile, const string &sName)
| Check if a sprite is stored in a CDC file.