NEVERHOOD: Change the debuglevel of the scene changing debug output

These are shown on each scene change, but should no longer be needed
to be enabled by default, since we can now use the debugger to check
and change the current scene
This commit is contained in:
Filippos Karapetis 2013-06-10 10:32:30 +03:00
parent 8dace22f97
commit 0d3902b345
22 changed files with 24 additions and 24 deletions

View File

@ -438,7 +438,7 @@ void GameModule::checkRequests() {
}
void GameModule::createModule(int moduleNum, int which) {
debug("GameModule::createModule(%d, %d)", moduleNum, which);
debug(1, "GameModule::createModule(%d, %d)", moduleNum, which);
_moduleNum = moduleNum;
delete _childObject;
@ -542,7 +542,7 @@ void GameModule::createModule(int moduleNum, int which) {
}
void GameModule::createModuleByHash(uint32 nameHash) {
debug("GameModule::createModuleByHash(%08X)", nameHash);
debug(1, "GameModule::createModuleByHash(%08X)", nameHash);
switch (nameHash) {
case 0x03294419:
createModule(1000, -1);
@ -687,7 +687,7 @@ void GameModule::updateModule() {
createModule(2300, 1);
break;
case 2300:
debug("module 23000 _moduleResult : %d", _moduleResult);
debug(1, "module 23000 _moduleResult : %d", _moduleResult);
if (_moduleResult == 2)
createModule(1200, 0);
else if (_moduleResult == 0)

View File

@ -48,7 +48,7 @@ Module1000::~Module1000() {
}
void Module1000::createScene(int sceneNum, int which) {
debug("Module1000::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1000::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -64,7 +64,7 @@ Module1100::~Module1100() {
void Module1100::createScene(int sceneNum, int which) {
static const uint32 kSmackerFileHashList06[] = {0x10880805, 0x1088081D, 0};
static const uint32 kSmackerFileHashList07[] = {0x00290321, 0x01881000, 0};
debug("Module1100::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1100::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -45,7 +45,7 @@ Module1200::~Module1200() {
}
void Module1200::createScene(int sceneNum, int which) {
debug("Module1200::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1200::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -109,7 +109,7 @@ Module1300::~Module1300() {
}
void Module1300::createScene(int sceneNum, int which) {
debug("Module1300::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1300::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 1:

View File

@ -47,7 +47,7 @@ Module1400::~Module1400() {
}
void Module1400::createScene(int sceneNum, int which) {
debug("Module1400::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1400::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -35,7 +35,7 @@ Module1500::Module1500(NeverhoodEngine *vm, Module *parentModule, int which)
}
void Module1500::createScene(int sceneNum, int which) {
debug("Module1500::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1500::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -59,7 +59,7 @@ Module1600::~Module1600() {
}
void Module1600::createScene(int sceneNum, int which) {
debug("Module1600::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1600::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -58,7 +58,7 @@ Module1700::~Module1700() {
}
void Module1700::createScene(int sceneNum, int which) {
debug("Module1700::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1700::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -61,7 +61,7 @@ Module1800::~Module1800() {
void Module1800::createScene(int sceneNum, int which) {
static const byte kNavigationTypes00[] = {1, 0, 2, 0};
static const byte kNavigationTypes01[] = {5};
debug("Module1800::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1800::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -52,7 +52,7 @@ Module1900::~Module1900() {
}
void Module1900::createScene(int sceneNum, int which) {
debug("Module1900::createScene(%d, %d)", sceneNum, which);
debug(1, "Module1900::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -43,7 +43,7 @@ Module2000::~Module2000() {
}
void Module2000::createScene(int sceneNum, int which) {
debug("Module2000::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2000::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -47,7 +47,7 @@ Module2100::~Module2100() {
}
void Module2100::createScene(int sceneNum, int which) {
debug("Module2100::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2100::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -47,7 +47,7 @@ Module2200::~Module2200() {
}
void Module2200::createScene(int sceneNum, int which) {
debug("Module2200::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2200::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -68,7 +68,7 @@ Module2300::~Module2300() {
}
void Module2300::createScene(int sceneNum, int which) {
debug("Module2300::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2300::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -41,7 +41,7 @@ Module2400::~Module2400() {
}
void Module2400::createScene(int sceneNum, int which) {
debug("Module2400::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2400::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -73,7 +73,7 @@ Module2500::~Module2500() {
}
void Module2500::createScene(int sceneNum, int which) {
debug("Module2500::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2500::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -54,7 +54,7 @@ Module2600::~Module2600() {
}
void Module2600::createScene(int sceneNum, int which) {
debug("Module2600::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2600::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -111,7 +111,7 @@ Module2700::~Module2700() {
}
void Module2700::createScene(int sceneNum, int which) {
debug("Module2700::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2700::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -58,7 +58,7 @@ Module2800::~Module2800() {
}
void Module2800::createScene(int sceneNum, int which) {
debug("Module2800::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2800::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -42,7 +42,7 @@ Module2900::Module2900(NeverhoodEngine *vm, Module *parentModule, int which)
}
void Module2900::createScene(int sceneNum, int which) {
debug("Module2900::createScene(%d, %d)", sceneNum, which);
debug(1, "Module2900::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
case 0:

View File

@ -75,7 +75,7 @@ Module3000::~Module3000() {
void Module3000::createScene(int sceneNum, int which) {
static const byte kNavigationTypes05[] = {3, 0};
static const byte kNavigationTypes06[] = {5};
debug("Module3000::createScene(%d, %d)", sceneNum, which);
debug(1, "Module3000::createScene(%d, %d)", sceneNum, which);
_vm->gameState().sceneNum = sceneNum;
switch (_vm->gameState().sceneNum) {
case 1: