aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorKari Salminen2007-08-15 16:46:37 +0000
committerKari Salminen2007-08-15 16:46:37 +0000
commitec3f37956dd19325875c18abddd4f55f7fc5d3a1 (patch)
tree8c31a73def67125c647b8b58296c6b34efae90d7 /engines/agi
parentfa9a6cef846546cbcb6badd325dd485cca446da9 (diff)
downloadscummvm-rg350-ec3f37956dd19325875c18abddd4f55f7fc5d3a1.tar.gz
scummvm-rg350-ec3f37956dd19325875c18abddd4f55f7fc5d3a1.tar.bz2
scummvm-rg350-ec3f37956dd19325875c18abddd4f55f7fc5d3a1.zip
Removed unneeded code from inside #if 0 ... #endif -clauses.
svn-id: r28628
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/sound.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp
index 36692cbe21..f95ad1c923 100644
--- a/engines/agi/sound.cpp
+++ b/engines/agi/sound.cpp
@@ -294,15 +294,6 @@ static uint16 period[] = {
1448, 1534, 1625, 1722, 1825, 1933
};
-#if 0
-static struct AgiNote playSample[] = {
- {0xff, 0x7f, 0x18, 0x00, 0x7f},
- {0xff, 0xff, 0x00, 0x00, 0x00},
- {0xff, 0xff, 0x00, 0x00, 0x00},
- {0xff, 0xff, 0x00, 0x00, 0x00}
-};
-#endif
-
static int noteToPeriod(int note) {
return 10 * (period[note % 12] >> (note / 12 - 3));
}
@@ -322,9 +313,6 @@ void SoundMgr::unloadSound(int resnum) {
void SoundMgr::startSound(int resnum, int flag) {
int i, type;
-#if 0
- struct SoundIIgsSample *smp;
-#endif
if (_vm->_game.sounds[resnum].isPlaying())
return;
@@ -704,12 +692,6 @@ uint32 SoundMgr::mixSound(void) {
return BUFFER_SIZE;
}
-#if 0
-void Sound::unloadInstruments() {
- free(instruments);
-}
-#endif
-
/**
* Finds information about an Apple IIGS AGI executable based on the game ID.
* @return A non-null IIgsExeInfo pointer if successful, otherwise NULL.