diff options
author | Bendegúz Nagy | 2016-08-01 15:24:47 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 22d6973de5814a6229fb665a43882df1eb140048 (patch) | |
tree | 2622b02a713fd6b63c9db6d12d04bf013a907f09 /engines/dm/dm.cpp | |
parent | e29d843cfae8f399800c4c077e10976da9e26c57 (diff) | |
download | scummvm-rg350-22d6973de5814a6229fb665a43882df1eb140048.tar.gz scummvm-rg350-22d6973de5814a6229fb665a43882df1eb140048.tar.bz2 scummvm-rg350-22d6973de5814a6229fb665a43882df1eb140048.zip |
DM: Add sound loading
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r-- | engines/dm/dm.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 852145056a..50afa43a8c 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -202,6 +202,9 @@ DMEngine::~DMEngine() { delete _projexpl; delete _dialog; + for (uint16 i = 0; i < k34_D13_soundCount; ++i) + delete[] _gK24_soundData[i]._firstSample; + // clear debug channels DebugMan.clearAllDebugChannels(); } @@ -227,7 +230,8 @@ void DMEngine::f463_initializeGame() { _displayMan->loadPalette(g21_PalDungeonView[0]); _displayMan->f94_loadFloorSet(k0_FloorSetStone); _displayMan->f95_loadWallSet(k0_WallSetStone); - + f503_loadSounds(); + warning(false, "MISSING CODE: F0437_STARTEND_DrawTitle"); _textMan->f54_textInitialize(); _objectMan->loadObjectNames(); _eventMan->initMouse(); @@ -697,5 +701,4 @@ void DMEngine::f439_drawEntrance() { _displayMan->f21_blitToScreen(_g562_entranceDoorAnimSteps[4], &G0011_s_Graphic562_Box_Entrance_ClosedDoorRight, k64_byteWidth, kM1_ColorNoTransparency, 161); warning(false, "MISSING CODE: F0436_STARTEND_FadeToPalette(g20_PalEntrance);"); } - } // End of namespace DM |