ScummVM API documentation
Titanic::CMusicRoom Class Reference

Public Member Functions

 CMusicRoom (CGameManager *owner)
 
CMusicRoomHandlercreateMusicHandler ()
 
void destroyMusicHandler ()
 
void setSpeedControl (MusicInstrument instrument, int val)
 
void setPitchControl (MusicInstrument instrument, int val)
 
void setDirectionControl (MusicInstrument instrument, bool val)
 
void setInversionControl (MusicInstrument instrument, bool val)
 
void setMuteControl (MusicInstrument instrument, bool val)
 
void setupMusic (int volume)
 
void stopMusic ()
 

Public Attributes

CGameManager_gameManager
 
CSound_sound
 

Static Public Attributes

static CMusicRoomHandler_musicHandler
 

Member Function Documentation

◆ createMusicHandler()

CMusicRoomHandler* Titanic::CMusicRoom::createMusicHandler ( )

Creates a music handler

◆ destroyMusicHandler()

void Titanic::CMusicRoom::destroyMusicHandler ( )

Destroys and currently active music handler

◆ setSpeedControl()

void Titanic::CMusicRoom::setSpeedControl ( MusicInstrument  instrument,
int  val 
)
inline

Sets the speed control for a given instrument

◆ setPitchControl()

void Titanic::CMusicRoom::setPitchControl ( MusicInstrument  instrument,
int  val 
)
inline

Sets the pitch control for a given instrument

◆ setDirectionControl()

void Titanic::CMusicRoom::setDirectionControl ( MusicInstrument  instrument,
bool  val 
)
inline

Sets the direction control for a given instrument

◆ setInversionControl()

void Titanic::CMusicRoom::setInversionControl ( MusicInstrument  instrument,
bool  val 
)
inline

Sets the inversion control for a given instrument

◆ setMuteControl()

void Titanic::CMusicRoom::setMuteControl ( MusicInstrument  instrument,
bool  val 
)
inline

Sets the mute control for a given instrument

◆ setupMusic()

void Titanic::CMusicRoom::setupMusic ( int  volume)

Sets up the music controls

◆ stopMusic()

void Titanic::CMusicRoom::stopMusic ( )

Stop playing music


The documentation for this class was generated from the following file: