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"
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);
57 void requestRoomFadeAfterMovie() { _fadeRoomAfterNextMovie =
true; }
58 void finishMoviePlayback();
59 bool isRoomPaletteFadePending()
const {
return _roomPaletteFadePending; }
60 void clearRoomPaletteFade() { _roomPaletteFadePending =
false; }
61 void resetMoviePaletteState();
64 bool loadQuickTipsResources(
bool useTextboxPanel);
65 void drawWaitFrame()
const;
66 void applyMixerLevels(
int fxLevel,
int musicLevel);
67 bool isMusicPlaying()
const;
69 void pauseMusic(
bool paused);
74 void stopSingleSound();
75 bool isSingleSoundPlaying()
const;
78 bool isSpeechPlaying()
const;
80 bool playLoadedSound(
int slot);
81 bool deleteLoadedSound(
int slot);
86 bool validateLoadedSoundSlot(
int slot)
const;
91 int _displayWidth = 0;
92 int _displayHeight = 0;
93 bool _fadeRoomAfterNextMovie =
false;
94 bool _roomPaletteFadePending =
false;
96 Text *_text =
nullptr;
101 int _soundSlotIndex = -1;
Definition: resources.h:32
Definition: formatinfo.h:28
Definition: atari-screen.h:58