aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/director/director.cpp2
-rw-r--r--engines/director/resource.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index e57401c6f0..5e523de11d 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -166,6 +166,8 @@ Common::HashMap<Common::String, Score *> *DirectorEngine::scanMovies(const Commo
if (Common::matchString(i->getName().c_str(), sharedMMMname, true)) {
_sharedCastFile = i->getName();
+
+ debugC(2, kDebugLoading, "Shared cast detected: %s", i->getName().c_str());
continue;
}
diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 3d1f7a25bb..f43118d10b 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -192,7 +192,7 @@ void DirectorEngine::loadMac() {
void DirectorEngine::loadSharedCastsFrom(Common::String filename) {
Archive *shardcst = createArchive();
- debugC(1, kDebugLoading, "Loading Shared cast '%s'", filename.c_str());
+ debug(0, "Loading Shared cast '%s'", filename.c_str());
if (!shardcst->openFile(filename)) {
warning("No shared cast %s", filename.c_str());
@@ -248,6 +248,7 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) {
if (bmp.size() != 0) {
debugC(3, kDebugLoading, "Loading %d BITDs", bmp.size());
for (Common::Array<uint16>::iterator iterator = bmp.begin(); iterator != bmp.end(); ++iterator) {
+ debugC(3, kDebugLoading, "Shared BITD %d", *iterator);
_sharedBMP->setVal(*iterator, shardcst->getResource(MKTAG('B','I','T','D'), *iterator));
}
}
@@ -256,6 +257,7 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) {
if (stxt.size() != 0) {
debugC(3, kDebugLoading, "Loading %d SNDs", sound.size());
for (Common::Array<uint16>::iterator iterator = sound.begin(); iterator != sound.end(); ++iterator) {
+ debugC(3, kDebugLoading, "Shared SND %d", *iterator);
_sharedSound->setVal(*iterator, shardcst->getResource(MKTAG('S','N','D',' '), *iterator));
}
}