22 #ifndef HARVESTER_MEDIA_MANAGER_H 23 #define HARVESTER_MEDIA_MANAGER_H 25 #include "audio/mixer.h" 26 #include "common/array.h" 27 #include "common/str.h" 36 class ResourceManager;
46 EntityManager *getRuntimeEntities()
const {
return _entityManager; }
48 int getDisplayWidth()
const {
return _displayWidth; }
49 int getDisplayHeight()
const {
return _displayHeight; }
50 Art *getArt()
const {
return _art; }
51 Text *getText()
const {
return _text; }
54 static float mapGammaLevelToBrightnessScale(
int level);
56 void resetScreen(
int width,
int height);
59 bool loadQuickTipsResources();
60 void drawWaitFrame()
const;
61 void applyMixerLevels(
int fxLevel,
int musicLevel);
62 bool isMusicPlaying()
const;
64 void pauseMusic(
bool paused);
69 void stopSingleSound();
70 bool isSingleSoundPlaying()
const;
73 bool isSpeechPlaying()
const;
75 bool playLoadedSound(
int slot);
76 bool deleteLoadedSound(
int slot);
81 bool validateLoadedSoundSlot(
int slot)
const;
86 int _displayWidth = 0;
87 int _displayHeight = 0;
89 Text *_text =
nullptr;
94 int _soundSlotIndex = -1;
104 #endif // HARVESTER_MEDIA_MANAGER_H
Definition: atari-screen.h:58
Definition: runtime_entity.h:180
Definition: formatinfo.h:28
Definition: resources.h:32