aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-21 01:51:59 +0000
committerTravis Howell2006-10-21 01:51:59 +0000
commit399f8381a970133a6a6247d49eaf57b7a811d902 (patch)
tree8617f9222657de3cbb0fa90aa05e46ae3ef7ba34 /engines/agos/script.cpp
parent4e859bb26ea6b75f954f3b5b155eea74104dbfa1 (diff)
downloadscummvm-rg350-399f8381a970133a6a6247d49eaf57b7a811d902.tar.gz
scummvm-rg350-399f8381a970133a6a6247d49eaf57b7a811d902.tar.bz2
scummvm-rg350-399f8381a970133a6a6247d49eaf57b7a811d902.zip
Cleanup
svn-id: r24397
Diffstat (limited to 'engines/agos/script.cpp')
-rw-r--r--engines/agos/script.cpp23
1 files changed, 2 insertions, 21 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 09581ca4bd..22225165f2 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -724,9 +724,9 @@ void AGOSEngine::o_defWindow() {
if (num == _curWindow) {
_textWindow = _windowArray[num];
if (getGameType() == GType_FF || getGameType() == GType_PP)
- showmessage_helper_3(_textWindow->textColumn, _textWindow->width);
+ justifyStart(_textWindow->textColumn, _textWindow->width);
else
- showmessage_helper_3(_textWindow->textLength, _textWindow->textMaxLength);
+ justifyStart(_textWindow->textLength, _textWindow->textMaxLength);
}
}
@@ -1506,17 +1506,6 @@ void AGOSEngine::waitForMark(uint i) {
}
}
-void AGOSEngine::freezeBottom() {
- _vgaMemBase = _vgaMemPtr;
- _vgaFrozenBase = _vgaMemPtr;
-}
-
-void AGOSEngine::unfreezeBottom() {
- _vgaMemPtr = _vgaRealBase;
- _vgaMemBase = _vgaRealBase;
- _vgaFrozenBase = _vgaRealBase;
-}
-
void AGOSEngine::sendSync(uint a) {
uint16 id = to16Wrapper(a);
_lockWord |= 0x8000;
@@ -1552,12 +1541,4 @@ void AGOSEngine::stopAnimateSimon2(uint a, uint b) {
_lockWord &= ~0x8000;
}
-int16 AGOSEngine::levelOf(Item *item) {
- SubPlayer *p = (SubPlayer *) findChildOfType(item, 3);
- if (p == NULL)
- return 0;
-
- return p->level;
-}
-
} // End of namespace AGOS