diff options
author | Paul Gilbert | 2015-01-29 08:42:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-29 08:42:31 -0500 |
commit | be327cb7672652a44294a13b9fa4215ae6358b6a (patch) | |
tree | 95ac1eb0f12553925d4a4a649be5280ea65f8df8 /engines/xeen/town.cpp | |
parent | e34429207c9d632a1f72680a08409992e81d95a5 (diff) | |
download | scummvm-rg350-be327cb7672652a44294a13b9fa4215ae6358b6a.tar.gz scummvm-rg350-be327cb7672652a44294a13b9fa4215ae6358b6a.tar.bz2 scummvm-rg350-be327cb7672652a44294a13b9fa4215ae6358b6a.zip |
XEEN: Implemented setSpellText for spells dialog
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r-- | engines/xeen/town.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp index f90ffbd481..d773f6d4f2 100644 --- a/engines/xeen/town.cpp +++ b/engines/xeen/town.cpp @@ -23,6 +23,7 @@ #include "xeen/town.h" #include "xeen/dialogs_input.h" #include "xeen/dialogs_yesno.h" +#include "xeen/dialogs_spells.h" #include "xeen/resources.h" #include "xeen/xeen.h" @@ -563,15 +564,14 @@ Character *Town::doGuildOptions(Character *c) { sound.playSample(&f, 1); } } - } - else if (_buttonValue == Common::KEYCODE_s) { + } else if (_buttonValue == Common::KEYCODE_s) { if (c->guildMember()) - c = showAvailableSpells(c, 0x80); + c = SpellsScroll::show(_vm, c, 0x80); _buttonValue = 0; } else if (_buttonValue == Common::KEYCODE_c) { if (!c->noActions()) { if (c->guildMember()) - c = showAvailableSpells(c, 0); + c = SpellsScroll::show(_vm, c, 0); _buttonValue = 0; } } @@ -1260,8 +1260,4 @@ Character *Town::showItems(Character *c, int v2) { error("TODO: showItems"); } -Character *Town::showAvailableSpells(Character *c, int v2) { - error("TODO: showAvailableSpells"); -} - } // End of namespace Xeen |