CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CRM64Pro::SpriteMgr

Sprite Manager class. More...

Inherits CRM64Pro::ManagerBase.

Public Member Functions

Sint32 info (Sint32 iMode=0)
 Request Sprite Manager information.
 
Sint32 create (const string &sName, Uint32 iVersion=10)
 Create a new sprite.
 
Sint32 close (Sint32 idSprite)
 Close and destroy a sprite.
 
Sint32 getNum ()
 Get number of loaded objects.
 
Sint32 setName (Sint32 idSprite, const string &sName)
 Change the object name.
 
Spriteget (Sint32 idSprite)
 Get a pointer to the sprite using its handler.
 
Sint32 child (Sint32 idSprite)
 Create a child sprite dependant on the provided one(the parent).
 
Sint32 load (const string &sFileCDC, 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 remove (const Sint32 idCDC, const string &sName)
 Remove a sprite stored in a CDC file.
 

Detailed Description

Sprite Manager class.