aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_options.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-02 16:02:24 -1000
committerPaul Gilbert2015-01-02 16:02:24 -1000
commit7d4fcfd5afb272c62ad7f1628cc1adfe17c8ee6f (patch)
tree389700cc8f82c3fdecb554c1f6ad38a0b64a4914 /engines/xeen/dialogs_options.cpp
parent9b40bd5c6aa8110e7b3a13eec2550a4c6f201668 (diff)
downloadscummvm-rg350-7d4fcfd5afb272c62ad7f1628cc1adfe17c8ee6f.tar.gz
scummvm-rg350-7d4fcfd5afb272c62ad7f1628cc1adfe17c8ee6f.tar.bz2
scummvm-rg350-7d4fcfd5afb272c62ad7f1628cc1adfe17c8ee6f.zip
XEEN: Added checkSkill and animating indicators to assembleBorder
Diffstat (limited to 'engines/xeen/dialogs_options.cpp')
-rw-r--r--engines/xeen/dialogs_options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/dialogs_options.cpp b/engines/xeen/dialogs_options.cpp
index eace67eecd..fb7366c5c7 100644
--- a/engines/xeen/dialogs_options.cpp
+++ b/engines/xeen/dialogs_options.cpp
@@ -56,7 +56,7 @@ void OptionsMenu::execute() {
File newBright("newbrigh.m");
_vm->_sound->playMusic(newBright);
- screen._windows[28].setBounds(Common::Rect(72, 25, 248, 175));
+ screen._windows[GAME_WINDOW].setBounds(Common::Rect(72, 25, 248, 175));
Common::String title1, title2;
startup(title1, title2);
@@ -202,7 +202,7 @@ void WorldOptionsMenu::setBackground(bool doFade) {
}
void WorldOptionsMenu::openWindow() {
- _vm->_screen->_windows[28].open();
+ _vm->_screen->_windows[GAME_WINDOW].open();
}
void WorldOptionsMenu::showContents(SpriteResource &title1, bool waitFlag) {
@@ -215,8 +215,8 @@ void WorldOptionsMenu::showContents(SpriteResource &title1, bool waitFlag) {
title1.draw(screen._windows[0], _bgFrame);
// Draw the basic frame for the optitons menu and title text
- screen._windows[28].frame();
- screen._windows[28].writeString(OPTIONS_TITLE);
+ screen._windows[GAME_WINDOW].frame();
+ screen._windows[GAME_WINDOW].writeString(OPTIONS_TITLE);
drawButtons(&screen._windows[0]);