diff options
author | athrxx | 2019-04-01 00:55:17 +0200 |
---|---|---|
committer | athrxx | 2019-04-13 18:55:02 +0200 |
commit | 0ea6650837cce3007f0820acd17518f9809fd4a7 (patch) | |
tree | 507986e06df0d230cc2d1ee64b47efb87546b4e7 /engines/kyra/engine/eobcommon.cpp | |
parent | 972f4e201ade5660723f6348480437e2a02fa6de (diff) | |
download | scummvm-rg350-0ea6650837cce3007f0820acd17518f9809fd4a7.tar.gz scummvm-rg350-0ea6650837cce3007f0820acd17518f9809fd4a7.tar.bz2 scummvm-rg350-0ea6650837cce3007f0820acd17518f9809fd4a7.zip |
KYRA: (EOB2/Amiga) - implement proper sound file loading
(also fix some sound related bugs)
Diffstat (limited to 'engines/kyra/engine/eobcommon.cpp')
-rw-r--r-- | engines/kyra/engine/eobcommon.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/kyra/engine/eobcommon.cpp b/engines/kyra/engine/eobcommon.cpp index 16f9088945..153d17971f 100644 --- a/engines/kyra/engine/eobcommon.cpp +++ b/engines/kyra/engine/eobcommon.cpp @@ -221,6 +221,9 @@ EoBCoreEngine::EoBCoreEngine(OSystem *system, const GameFlags &flags) : KyraRpgE _mnNumWord = _numSpells = _mageSpellListSize = _spellLevelsMageSize = _spellLevelsClericSize = 0; _inventorySlotsX = _slotValidationFlags = _encodeMonsterShpTable = 0; _cgaMappingDefault = _cgaMappingAlt = _cgaMappingInv = _cgaLevelMappingIndex = _cgaMappingItemsL = _cgaMappingItemsS = _cgaMappingThrown = _cgaMappingIcons = _cgaMappingDeco = 0; + _amigaLevelSoundList1 = _amigaLevelSoundList2 = 0; + _amigaSoundMap = 0; + _amigaCurSoundFile = -1; memset(_cgaMappingLevel, 0, sizeof(_cgaMappingLevel)); memset(_expRequirementTables, 0, sizeof(_expRequirementTables)); memset(_saveThrowTables, 0, sizeof(_saveThrowTables)); @@ -322,6 +325,9 @@ EoBCoreEngine::~EoBCoreEngine() { delete[] _menuDefs; _menuDefs = 0; + delete[] _amigaSoundMap; + _amigaSoundMap = 0; + delete _inf; _inf = 0; delete _timer; |