aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-13 11:00:37 +0000
committerTravis Howell2004-02-13 11:00:37 +0000
commitf02f786b3f1e0c55a4d72c30ae12194e7e3d7e88 (patch)
tree31ba820f133e3443dd9204a89c4ae9baebf5d52f /scumm
parentadaeb61054fa9fb451da6be46fb451f5ab9c4c32 (diff)
downloadscummvm-rg350-f02f786b3f1e0c55a4d72c30ae12194e7e3d7e88.tar.gz
scummvm-rg350-f02f786b3f1e0c55a4d72c30ae12194e7e3d7e88.tar.bz2
scummvm-rg350-f02f786b3f1e0c55a4d72c30ae12194e7e3d7e88.zip
Switch warnings to debug.
Remove old commented out Simon code. svn-id: r12845
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6he.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 71be9a656f..047826cc04 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -665,7 +665,6 @@ void ScummEngine_v6he::o6_actorOps() {
case 218:
{
// TODO: this opcode is used in the putt-putt fun pack, in 'checkers" mini game
- warning("o6_actorOps():218 partially unimplemented");
int top_actor = a->top;
int bottom_actor = a->bottom;
@@ -957,7 +956,7 @@ void ScummEngine_v6he::o6_openFile() {
else
error("o6_openFile(): wrong open file mode");
- warning("%d = o6_openFile(\"%s\", %d)", slot, filename + r, mode);
+ debug(1, "%d = o6_openFile(\"%s\", %d)", slot, filename + r, mode);
}
push(slot);
}
@@ -965,7 +964,7 @@ void ScummEngine_v6he::o6_openFile() {
void ScummEngine_v6he::o6_closeFile() {
int slot = pop();
_hFileTable[slot].close();
- warning("o6_closeFile(%d)", slot);
+ debug(1, "o6_closeFile(%d)", slot);
}
void ScummEngine_v6he::o6_deleteFile() {
@@ -984,7 +983,7 @@ void ScummEngine_v6he::o6_deleteFile() {
break;
}
- warning("stub o6_deleteFile(\"%s\")", filename + r);
+ debug(1, "stub o6_deleteFile(\"%s\")", filename + r);
}
void ScummEngine_v6he::o6_rename() {
@@ -1015,7 +1014,7 @@ void ScummEngine_v6he::o6_rename() {
break;
}
- warning("stub o6_rename(\"%s\" to \"%s\")", filename + r1, filename2 + r2);
+ debug(1, "stub o6_rename(\"%s\" to \"%s\")", filename + r1, filename2 + r2);
}
int ScummEngine_v6he::readFileToArray(int slot, int32 size) {
@@ -1039,7 +1038,7 @@ void ScummEngine_v6he::o6_readFile() {
} else {
push(readFileToArray(slot, size));
}
- warning("o6_readFile(%d, %d)", slot, size);
+ debug(1, "o6_readFile(%d, %d)", slot, size);
}
void ScummEngine_v6he::writeFileFromArray(int slot, int resID) {
@@ -1061,7 +1060,7 @@ void ScummEngine_v6he::o6_writeFile() {
} else {
writeFileFromArray(slot, resID);
}
- warning("o6_writeFile(%d, %d)", slot, resID);
+ debug(1, "o6_writeFile(%d, %d)", slot, resID);
}
void ScummEngine_v6he::o6_setVolume() {
@@ -1177,7 +1176,7 @@ void ScummEngine_v6he::o6_readINI() {
int len;
len = resStrLen(_scriptPointer);
- warning("stub o6_readINI(\"%s\")", _scriptPointer);
+ debug(1, "stub o6_readINI(\"%s\")", _scriptPointer);
_scriptPointer += len + 1;
pop();
push(0);