aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-03-08 10:08:09 +0000
committerTravis Howell2009-03-08 10:08:09 +0000
commit56189fcf30e0f0bcf086d82896a26e6bda2b0bc0 (patch)
treeadd856e36814ad2c568166b71a3f02d1587392e0 /engines/agos/script.cpp
parenta630759d6db2d3f0aae4b7baf9a1e0fcf323f2e1 (diff)
downloadscummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.tar.gz
scummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.tar.bz2
scummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.zip
Clarify several errors messages.
svn-id: r39219
Diffstat (limited to 'engines/agos/script.cpp')
-rw-r--r--engines/agos/script.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 5eb864d40b..3d8b80b659 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -495,7 +495,7 @@ void AGOSEngine::o_comment() {
void AGOSEngine::o_haltAnimation() {
// 88: stop animation
- _lockWord |= 0x10;
+ _videoLockOut |= 0x10;
if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) {
VgaTimerEntry *vte = _vgaTimerList;
@@ -512,7 +512,7 @@ void AGOSEngine::o_haltAnimation() {
void AGOSEngine::o_restartAnimation() {
// 89: restart animation
- _lockWord &= ~0x10;
+ _videoLockOut &= ~0x10;
}
void AGOSEngine::o_getParent() {
@@ -570,7 +570,7 @@ void AGOSEngine::o_loadZone() {
// 97: load zone
uint vga_res = getVarOrWord();
- _lockWord |= 0x80;
+ _videoLockOut |= 0x80;
if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2 ||
getGameType() == GType_WW) {
@@ -586,14 +586,14 @@ void AGOSEngine::o_loadZone() {
_vgaSpriteChanged = 0;
}
- _lockWord &= ~0x80;
+ _videoLockOut &= ~0x80;
}
void AGOSEngine::o_killAnimate() {
// 100: kill animations
- _lockWord |= 0x8000;
+ _videoLockOut |= 0x8000;
vc27_resetSprite();
- _lockWord &= ~0x8000;
+ _videoLockOut &= ~0x8000;
}
void AGOSEngine::o_defWindow() {
@@ -1044,18 +1044,18 @@ void AGOSEngine::synchChain(Item *i) {
void AGOSEngine::sendSync(uint a) {
uint16 id = to16Wrapper(a);
- _lockWord |= 0x8000;
+ _videoLockOut |= 0x8000;
_vcPtr = (byte *)&id;
vc15_sync();
- _lockWord &= ~0x8000;
+ _videoLockOut &= ~0x8000;
}
void AGOSEngine::stopAnimate(uint16 a) {
uint16 b = to16Wrapper(a);
- _lockWord |= 0x8000;
+ _videoLockOut |= 0x8000;
_vcPtr = (byte *)&b;
vc60_stopAnimation();
- _lockWord &= ~0x8000;
+ _videoLockOut &= ~0x8000;
}
void AGOSEngine::waitForSync(uint a) {