aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/sound.h')
-rw-r--r--engines/sword1/sound.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sword1/sound.h b/engines/sword1/sound.h
index c105d06b50..68be0e56e2 100644
--- a/engines/sword1/sound.h
+++ b/engines/sword1/sound.h
@@ -76,31 +76,31 @@ enum CowMode {
class Sound {
public:
Sound(const char *searchPath, Audio::Mixer *mixer, ResMan *pResMan);
- ~Sound(void);
+ ~Sound();
void setSpeechVol(uint8 volL, uint8 volR) { _speechVolL = volL; _speechVolR = volR; }
void setSfxVol(uint8 volL, uint8 volR) { _sfxVolL = volL; _sfxVolR = volR; }
void giveSpeechVol(uint8 *volL, uint8 *volR) { *volL = _speechVolL; *volR = _speechVolR; }
void giveSfxVol(uint8 *volL, uint8 *volR) { *volL = _sfxVolL; *volR = _sfxVolR; }
void newScreen(uint32 screen);
- void quitScreen(void);
- void closeCowSystem(void);
+ void quitScreen();
+ void closeCowSystem();
bool startSpeech(uint16 roomNo, uint16 localNo);
- bool speechFinished(void);
+ bool speechFinished();
void stopSpeech();
- bool amISpeaking(void);
+ bool amISpeaking();
void fnStopFx(int32 fxNo);
int addToQueue(int32 fxNo);
- void engine(void);
+ void engine();
void checkSpeechFileEndianness();
private:
uint8 _sfxVolL, _sfxVolR, _speechVolL, _speechVolR;
void playSample(QueueElement *elem);
- void initCowSystem(void);
+ void initCowSystem();
int16 *uncompressSpeech(uint32 index, uint32 cSize, uint32 *size);
void calcWaveVolume(int16 *data, uint32 length);