aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/data.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-02 22:38:27 -0500
committerPaul Gilbert2014-02-02 22:38:27 -0500
commit4ef57db61a7730d0ff1fc19658cb8726ee35b9ca (patch)
tree21925bc8aafca9441d5e7fee7ee77f64ab58de23 /engines/voyeur/data.cpp
parentf88985dc649b81e13490d7f3f949838a9b6680c9 (diff)
downloadscummvm-rg350-4ef57db61a7730d0ff1fc19658cb8726ee35b9ca.tar.gz
scummvm-rg350-4ef57db61a7730d0ff1fc19658cb8726ee35b9ca.tar.bz2
scummvm-rg350-4ef57db61a7730d0ff1fc19658cb8726ee35b9ca.zip
VOYEUR: General field renaming and comments
Diffstat (limited to 'engines/voyeur/data.cpp')
-rw-r--r--engines/voyeur/data.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/voyeur/data.cpp b/engines/voyeur/data.cpp
index 8bcf32fb2f..3d91b7daa6 100644
--- a/engines/voyeur/data.cpp
+++ b/engines/voyeur/data.cpp
@@ -77,13 +77,13 @@ void SVoy::synchronize(Common::Serializer &s) {
s.syncAsSint16LE(_field468);
s.syncAsSint16LE(_field46A);
s.syncAsSint16LE(_vocSecondsOffset);
- s.syncAsSint16LE(_field46E);
+ s.syncAsSint16LE(_abortInterface);
s.syncAsSint16LE(_field470);
s.syncAsSint16LE(_aptLoadMode);
s.syncAsSint16LE(_transitionId);
s.syncAsSint16LE(_RTVLimit);
s.syncAsSint16LE(_eventFlags);
- s.syncAsSint16LE(_field47A);
+ s.syncAsSint16LE(_boltGroupId2);
s.syncAsSint16LE(_field4AC);
s.syncAsSint16LE(_field4B8);
@@ -157,7 +157,7 @@ void SVoy::addEvidEventStart(int v) {
e._isAM = _isAM;
e._type = EVTYPE_EVID;
e._audioVideoId = _vm->_playStampGroupId;
- e._computerOn = _field47A;
+ e._computerOn = _boltGroupId2;
e._computerOff = v;
}
@@ -188,7 +188,7 @@ void SVoy::addComputerEventEnd(int v) {
void SVoy::reviewAnEvidEvent(int eventIndex) {
VoyeurEvent &e = _events[eventIndex];
_vm->_playStampGroupId = e._audioVideoId;
- _field47A = e._computerOn;
+ _boltGroupId2 = e._computerOn;
int frameOff = e._computerOff;
if (_vm->_bVoy->getBoltGroup(_vm->_playStampGroupId)) {
@@ -201,9 +201,9 @@ void SVoy::reviewAnEvidEvent(int eventIndex) {
_vm->_bVoy->freeBoltGroup(_vm->_playStampGroupId);
_vm->_playStampGroupId = -1;
- if (_field47A != -1) {
- _vm->_bVoy->freeBoltGroup(_field47A);
- _field47A = -1;
+ if (_boltGroupId2 != -1) {
+ _vm->_bVoy->freeBoltGroup(_boltGroupId2);
+ _boltGroupId2 = -1;
}
}
}