aboutsummaryrefslogtreecommitdiff
path: root/queen/talk.cpp
diff options
context:
space:
mode:
authorGregory Montoir2003-12-01 20:48:41 +0000
committerGregory Montoir2003-12-01 20:48:41 +0000
commit3befded40237972e846f5b0d6fa67797133e714e (patch)
tree24b4d3b71743882212b028a09cdbbda6f9f20005 /queen/talk.cpp
parent53b2f75215b6e5fc2ac1b2b762ac3d8374a4f216 (diff)
downloadscummvm-rg350-3befded40237972e846f5b0d6fa67797133e714e.tar.gz
scummvm-rg350-3befded40237972e846f5b0d6fa67797133e714e.tar.bz2
scummvm-rg350-3befded40237972e846f5b0d6fa67797133e714e.zip
cleanup header includes
svn-id: r11449
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r--queen/talk.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp
index c099850683..f28626a5a7 100644
--- a/queen/talk.cpp
+++ b/queen/talk.cpp
@@ -23,7 +23,9 @@
#include "queen/talk.h"
#include "queen/display.h"
#include "queen/graphics.h"
+#include "queen/input.h"
#include "queen/logic.h"
+#include "queen/resource.h"
#include "queen/sound.h"
namespace Queen {
@@ -1246,7 +1248,7 @@ int16 Talk::selectSentence() {
_logic->zoneClearAll(ZONE_PANEL);
- if (_logic->language() != ENGLISH) {
+ if (_logic->resource()->getLanguage() != ENGLISH) {
_logic->zoneSet(ZONE_PANEL, ARROW_ZONE_UP, MAX_TEXT_WIDTH + 1, 0, 319, 24);
_logic->zoneSet(ZONE_PANEL, ARROW_ZONE_DOWN, MAX_TEXT_WIDTH + 1, 25, 319, 49);
}
@@ -1272,7 +1274,7 @@ int16 Talk::selectSentence() {
i,
0,
yOffset * LINE_HEIGHT - PUSHUP,
- (_logic->language() == ENGLISH) ? 319 : MAX_TEXT_WIDTH,
+ (_logic->resource()->getLanguage() == ENGLISH) ? 319 : MAX_TEXT_WIDTH,
(yOffset + optionLines) * LINE_HEIGHT - PUSHUP);
}
@@ -1296,7 +1298,7 @@ int16 Talk::selectSentence() {
// Up and down dialogue arrows
- if (_logic->language() != ENGLISH) {
+ if (_logic->resource()->getLanguage() != ENGLISH) {
arrowBobUp->active = (startOption > 1);
arrowBobDown->active = (yOffset > 4);
}