aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/eobcommon.h7
-rw-r--r--engines/kyra/resource.h7
-rw-r--r--engines/kyra/staticres_eob.cpp7
3 files changed, 21 insertions, 0 deletions
diff --git a/engines/kyra/eobcommon.h b/engines/kyra/eobcommon.h
index ede25dd140..2e4df6aa1c 100644
--- a/engines/kyra/eobcommon.h
+++ b/engines/kyra/eobcommon.h
@@ -1007,6 +1007,13 @@ protected:
const char *const *_menuStringsSpec;
const char *const *_menuStringsSpellNo;
+ const uint8 *_spellLevelsMage;
+ const uint8 *_spellLevelsCleric;
+ const uint8 *_spellLevelsMps1;
+ const uint8 *_spellLevelsMps2;
+ const uint8 *_spellLevelsMps3;
+ const uint8 *_spellLevelsMps4;
+
// sound
void snd_playSoundEffect(int id, int volume=0xFF);
};
diff --git a/engines/kyra/resource.h b/engines/kyra/resource.h
index fa4dd10893..5d9554c31f 100644
--- a/engines/kyra/resource.h
+++ b/engines/kyra/resource.h
@@ -321,6 +321,13 @@ enum KyraResources {
kEobBaseMenuStringsSpec,
kEobBaseMenuStringsSpellNo,
+ kEobBaseSpellLevelsMage,
+ kEobBaseSpellLevelsCleric,
+ kEobBaseSpellMps1,
+ kEobBaseSpellMps2,
+ kEobBaseSpellMps3,
+ kEobBaseSpellMps4,
+
kEobBaseCharGuiStringsHp,
kEobBaseCharGuiStringsWp1,
kEobBaseCharGuiStringsWp2,
diff --git a/engines/kyra/staticres_eob.cpp b/engines/kyra/staticres_eob.cpp
index a9746004bd..7908bc28ee 100644
--- a/engines/kyra/staticres_eob.cpp
+++ b/engines/kyra/staticres_eob.cpp
@@ -388,6 +388,13 @@ void EobCoreEngine::initStaticResource() {
_menuStringsSpec = _staticres->loadStrings(kEobBaseMenuStringsSpec, temp);
_menuStringsSpellNo = _staticres->loadStrings(kEobBaseMenuStringsSpellNo, temp);
+ _spellLevelsMage = _staticres->loadRawData(kEobBaseSpellLevelsMage, temp);
+ _spellLevelsCleric = _staticres->loadRawData(kEobBaseSpellLevelsCleric, temp);
+ _spellLevelsMps1 = _staticres->loadRawData(kEobBaseSpellMps1, temp);
+ _spellLevelsMps2 = _staticres->loadRawData(kEobBaseSpellMps2, temp);
+ _spellLevelsMps3 = _staticres->loadRawData(kEobBaseSpellMps3, temp);
+ _spellLevelsMps4 = _staticres->loadRawData(kEobBaseSpellMps4, temp);
+
_characterGuiStringsHp = _staticres->loadStrings(kEobBaseCharGuiStringsHp, temp);
_characterGuiStringsWp = _staticres->loadStrings(_flags.gameID == GI_EOB2 ? kEobBaseCharGuiStringsWp2 : kEobBaseCharGuiStringsWp1, temp);
_characterGuiStringsWr = _staticres->loadStrings(kEobBaseCharGuiStringsWr, temp);