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::MusicMgr

Music Manager class. More...

Inherits CRM64Pro::ManagerBase.

Public Member Functions

Sint32 info (Sint32 idMus=0)
 Request Music Manager information.
 
Sint32 close (Sint32 idMus=0)
 Close and destroy a music.
 
Sint32 getNum ()
 Get number of loaded objects.
 
Sint32 setName (Sint32 idMus, const string &sName)
 Change the object name.
 
Musicget (Sint32 idMus=0)
 Get a pointer to the music using its handler.
 
Sint32 stop ()
 Stop music playing.
 
Sint32 pause ()
 Pause music playing.
 
Sint32 resume ()
 Resume music playing.
 
Sint32 status ()
 Get the music status.
 
Sint32 position (double dPosition)
 Set the current position in the music stream.
 
Sint32 fadeOut (Sint32 iTime=1000)
 Music fade out effect.
 
Sint32 loadFromFile (const string &sFile, const string &sName="")
 Load a music from an external file.
 
Sint32 load (const string &sFileCDC, const string &sName)
 Load a music stored in a CDC file.
 
Sint32 load (const Sint32 idCDC, const string &sName)
 Load a music stored in a CDC file.
 
Sint32 remove (const Sint32 idCDC, const string &sName)
 Remove a music stored in a CDC file.
 
Sint32 exist (Sint32 idCDC, const string &sName)
 Check if a music is stored in a CDC file.
 

Detailed Description

Music Manager class.