diff options
author | Paul Gilbert | 2018-04-27 20:45:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-27 20:45:20 -0400 |
commit | 461171ced17993aec5ec6ff6dacaf5057870eb62 (patch) | |
tree | c57dcde6c804651787e75af9f920a94f39238651 /engines/xeen/dialogs/dialogs_spells.cpp | |
parent | 3955a38923d334daef0106df313a9a31ac63d2c0 (diff) | |
download | scummvm-rg350-461171ced17993aec5ec6ff6dacaf5057870eb62.tar.gz scummvm-rg350-461171ced17993aec5ec6ff6dacaf5057870eb62.tar.bz2 scummvm-rg350-461171ced17993aec5ec6ff6dacaf5057870eb62.zip |
XEEN: Move some few overlooked strings and spell array into xeen.ccs
Diffstat (limited to 'engines/xeen/dialogs/dialogs_spells.cpp')
-rw-r--r-- | engines/xeen/dialogs/dialogs_spells.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/xeen/dialogs/dialogs_spells.cpp b/engines/xeen/dialogs/dialogs_spells.cpp index 1e7dc75d5a..bc5313410f 100644 --- a/engines/xeen/dialogs/dialogs_spells.cpp +++ b/engines/xeen/dialogs/dialogs_spells.cpp @@ -30,14 +30,6 @@ namespace Xeen { -// FIXME: This new array for Swords isn't worth regenerating the xeen.ccs file over, but it could be -// moved in if there's any cause in future to regenerate the file for other reasons -const int SWORDS_SPELL_RANGES[12][2] = { - { 0, 20 }, { 16, 35 }, { 27, 39 }, { 29, 39 }, - { 0, 17 }, { 14, 34 }, { 26, 39 }, { 29, 39 }, - { 0, 20 }, { 16, 35 }, { 27, 39 }, {29, 39 } -}; - Character *SpellsDialog::show(XeenEngine *vm, ButtonContainer *priorDialog, Character *c, SpellDialogMode mode) { SpellsDialog *dlg = new SpellsDialog(vm); @@ -341,7 +333,7 @@ const char *SpellsDialog::setSpellText(Character *c, int mode) { groupIndex = 0; break; } - RANGE = SWORDS_SPELL_RANGES[category * 4 + groupIndex]; + RANGE = Res.SWORDS_SPELL_RANGES[category * 4 + groupIndex]; } else { int groupIndex = (party._mazeId - 29) / 2; RANGE = Res.DARK_SPELL_RANGES[category * 4 + groupIndex]; |