aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/debugger.cpp
diff options
context:
space:
mode:
authorStrangerke2014-02-26 22:44:30 +0100
committerStrangerke2014-02-26 22:45:16 +0100
commitccde2d5b7604756f5333ea16807c82ef1b387c10 (patch)
treed9c48e61db4248f9d15ab3bd404003ce7d1f7f4b /engines/voyeur/debugger.cpp
parent55b76f7d16be83fc3e6f2e2d4d0f53ab7eaae1bd (diff)
downloadscummvm-rg350-ccde2d5b7604756f5333ea16807c82ef1b387c10.tar.gz
scummvm-rg350-ccde2d5b7604756f5333ea16807c82ef1b387c10.tar.bz2
scummvm-rg350-ccde2d5b7604756f5333ea16807c82ef1b387c10.zip
VOYEUR: Remove setVm from SVoy
Diffstat (limited to 'engines/voyeur/debugger.cpp')
-rw-r--r--engines/voyeur/debugger.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/voyeur/debugger.cpp b/engines/voyeur/debugger.cpp
index 04a6597b16..f5453210b9 100644
--- a/engines/voyeur/debugger.cpp
+++ b/engines/voyeur/debugger.cpp
@@ -53,7 +53,7 @@ bool Debugger::Cmd_Time(int argc, const char **argv) {
dtString += " " + timeString;
DebugPrintf("Time period = %d, date/time is: %s, time is %s\n",
- _vm->_voy._transitionId, dtString.c_str(), _isTimeActive ? "on" : "off");
+ _vm->_voy->_transitionId, dtString.c_str(), _isTimeActive ? "on" : "off");
DebugPrintf("Format: %s [on | off | 1..17 | val <amount>]\n\n", argv[0]);
} else {
if (!strcmp(argv[1], "on")) {
@@ -64,10 +64,10 @@ bool Debugger::Cmd_Time(int argc, const char **argv) {
DebugPrintf("Time is now off\n\n");
} else if (!strcmp(argv[1], "val")) {
if (argc < 3) {
- DebugPrintf("Time expired is currently %d.\n", _vm->_voy._RTVNum);
+ DebugPrintf("Time expired is currently %d.\n", _vm->_voy->_RTVNum);
} else {
- _vm->_voy._RTVNum = atoi(argv[2]);
- DebugPrintf("Time expired is now %d.\n", _vm->_voy._RTVNum);
+ _vm->_voy->_RTVNum = atoi(argv[2]);
+ DebugPrintf("Time expired is now %d.\n", _vm->_voy->_RTVNum);
}
} else {
int timeId = atoi(argv[1]);
@@ -104,27 +104,27 @@ bool Debugger::Cmd_Hotspots(int argc, const char **argv) {
hotspots[hotspotIdx].right, hotspots[hotspotIdx].bottom);
for (int arrIndex = 0; arrIndex < 3; ++arrIndex) {
- if (_vm->_voy._audioHotspotTimes._min[arrIndex][hotspotIdx] != 9999) {
+ if (_vm->_voy->_audioHotspotTimes._min[arrIndex][hotspotIdx] != 9999) {
DebugPrintf("Hotspot %d %s Audio slot %d, time: %d to %d\n",
hotspotIdx, pos.c_str(), arrIndex,
- _vm->_voy._audioHotspotTimes._min[arrIndex][hotspotIdx],
- _vm->_voy._audioHotspotTimes._max[arrIndex][hotspotIdx]);
+ _vm->_voy->_audioHotspotTimes._min[arrIndex][hotspotIdx],
+ _vm->_voy->_audioHotspotTimes._max[arrIndex][hotspotIdx]);
}
- if (_vm->_voy._evidenceHotspotTimes._min[arrIndex][hotspotIdx] != 9999) {
+ if (_vm->_voy->_evidenceHotspotTimes._min[arrIndex][hotspotIdx] != 9999) {
DebugPrintf("Hotspot %d %s Evidence slot %d, time: %d to %d\n",
hotspotIdx, pos.c_str(), arrIndex,
- _vm->_voy._evidenceHotspotTimes._min[arrIndex][hotspotIdx],
- _vm->_voy._evidenceHotspotTimes._max[arrIndex][hotspotIdx]);
+ _vm->_voy->_evidenceHotspotTimes._min[arrIndex][hotspotIdx],
+ _vm->_voy->_evidenceHotspotTimes._max[arrIndex][hotspotIdx]);
}
}
for (int arrIndex = 0; arrIndex < 8; ++arrIndex) {
- if (_vm->_voy._videoHotspotTimes._min[arrIndex][hotspotIdx] != 9999) {
+ if (_vm->_voy->_videoHotspotTimes._min[arrIndex][hotspotIdx] != 9999) {
DebugPrintf("Hotspot %d %s Video slot %d, time: %d to %d\n",
hotspotIdx, pos.c_str(), arrIndex,
- _vm->_voy._videoHotspotTimes._min[arrIndex][hotspotIdx],
- _vm->_voy._videoHotspotTimes._max[arrIndex][hotspotIdx]);
+ _vm->_voy->_videoHotspotTimes._min[arrIndex][hotspotIdx],
+ _vm->_voy->_videoHotspotTimes._max[arrIndex][hotspotIdx]);
}
}
}