aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/res.h
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-01-27 19:47:41 +0000
committerJordi Vilalta Prat2008-01-27 19:47:41 +0000
commit66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (patch)
treee27aadabecd8dd910884280e6559ff9c94c3d73c /engines/lure/res.h
parent278857698dc7b1623096fe1ad12511dc4c886c7e (diff)
downloadscummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.gz
scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.bz2
scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.zip
Removed trailing spaces.
svn-id: r30664
Diffstat (limited to 'engines/lure/res.h')
-rw-r--r--engines/lure/res.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/lure/res.h b/engines/lure/res.h
index ac0430e32d..8e54135868 100644
--- a/engines/lure/res.h
+++ b/engines/lure/res.h
@@ -135,12 +135,12 @@ public:
PausedCharacterList &pausedList() { return _pausedList; }
BarmanLists &barmanLists() { return _barmanLists; }
StringList &stringList() { return _stringList; }
- uint16 getCharOffset(int index) {
- if (index >= numCharOffsets)
+ uint16 getCharOffset(int index) {
+ if (index >= numCharOffsets)
error("Invalid index %d passed to script engine support data offset list", index);
if (index == 1)
error("support data list index #1 was referenced - special handlng TODO");
- return _charOffsets[index];
+ return _charOffsets[index];
}
void copyCursorTo(Surface *s, uint8 cursorNum, int16 x, int16 y);
@@ -149,7 +149,7 @@ public:
TalkData *getTalkData() { return _activeTalkData; }
void setTalkState(TalkState state) { _talkState = state; }
TalkState getTalkState() { return _talkState; }
- TalkSelections &getTalkSelections() { return _talkSelections; }
+ TalkSelections &getTalkSelections() { return _talkSelections; }
TalkDialogDetails &getTalkDetails() { return _talkDetails; }
void setTalkSelection(int index) { _talkSelection = index; }
int getTalkSelection() { return _talkSelection; }
@@ -164,8 +164,8 @@ public:
}
void setCurrentAction(Action action) { _currentAction = action; }
Action getCurrentAction() { return _currentAction; }
- const char *getCurrentActionStr() {
- if (_currentAction > EXAMINE)
+ const char *getCurrentActionStr() {
+ if (_currentAction > EXAMINE)
error("Invalid current action %d", _currentAction);
return _stringList.getString(_currentAction);
}