mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
FULLPIPE: Implement ModalMainMenu::updateVolume()
This commit is contained in:
parent
3b1af18d92
commit
559f51e29e
@ -1025,7 +1025,16 @@ bool ModalMainMenu::init(int counterdiff) {
|
||||
}
|
||||
|
||||
void ModalMainMenu::updateVolume() {
|
||||
warning("STUB: ModalMainMenu::updateVolume()");
|
||||
if (g_fp->_soundEnabled ) {
|
||||
for (int s = 0; s < g_fp->_currSoundListCount; s++)
|
||||
for (int i = 0; i < g_fp->_currSoundList1[s]->getCount(); i++) {
|
||||
updateSoundVolume(g_fp->_currSoundList1[s]->getSoundByIndex(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ModalMainMenu::updateSoundVolume(Sound *snd) {
|
||||
warning("STUB: ModalMainMenu::updateSoundVolume()");
|
||||
}
|
||||
|
||||
void ModalMainMenu::updateSliderPos() {
|
||||
|
@ -27,6 +27,7 @@ namespace Fullpipe {
|
||||
|
||||
class PictureObject;
|
||||
class Picture;
|
||||
class Sound;
|
||||
|
||||
class BaseModalObject {
|
||||
public:
|
||||
@ -185,6 +186,7 @@ private:
|
||||
void enableDebugMenu(char c);
|
||||
int checkHover(Common::Point &point);
|
||||
void updateVolume();
|
||||
void updateSoundVolume(Sound *snd);
|
||||
void updateSliderPos();
|
||||
bool isOverArea(PictureObject *obj, Common::Point *point);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user