ScummVM API documentation
Harvester::MediaManager Class Reference

Public Member Functions

 MediaManager (ResourceManager &resources)
 
EntityManagergetRuntimeEntities () const
 
Graphics::ScreengetScreen () const
 
int getDisplayWidth () const
 
int getDisplayHeight () const
 
ArtgetArt () const
 
TextgetText () const
 
const Common::StringgetMusicPath () const
 
void resetScreen (int width, int height)
 
bool loadArt ()
 
bool loadText ()
 
bool loadQuickTipsResources ()
 
void drawWaitFrame () const
 
void applyMixerLevels (int fxLevel, int musicLevel)
 
bool isMusicPlaying () const
 
bool playMusic (const Common::String &path)
 
void pauseMusic (bool paused)
 
void stopMusic ()
 
bool executeAudioCommand (const AudioCommand &command)
 
bool playSound (const Common::String &path)
 
bool playSingleSound (const Common::String &path)
 
void stopSingleSound ()
 
bool isSingleSoundPlaying () const
 
bool playSpeech (const Common::String &path)
 
void stopSpeech ()
 
bool isSpeechPlaying () const
 
bool loadSound (int slot, const Common::String &path)
 
bool playLoadedSound (int slot)
 
bool deleteLoadedSound (int slot)
 
void stopSound ()
 

Static Public Member Functions

static float mapGammaLevelToBrightnessScale (int level)
 

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