FULLPIPE: Remove redundant debug output

This commit is contained in:
Eugene Sandulenko 2016-09-25 20:05:55 +02:00
parent d367f0fb7c
commit 804c6ab713
2 changed files with 0 additions and 20 deletions

View File

@ -121,14 +121,6 @@ void GameLoader::readSavegame(const char *fname) {
_sc2array[i]._isLoaded = 0;
}
int num = 2;
for (int k = 0; k < _sc2array[num]._picAniInfosCount; k++) {
debugC(4, kDebugLoading, "num: %d", k);
debugC(4, kDebugLoading, "type: %d id: %d", _sc2array[num]._picAniInfos[k]->type, _sc2array[num]._picAniInfos[k]->objectId);
debugC(4, kDebugLoading, "staticsId: %d movid: %d movphase: %d", _sc2array[num]._picAniInfos[k]->staticsId,
_sc2array[num]._picAniInfos[k]->movementId, _sc2array[num]._picAniInfos[k]->dynamicPhaseIndex);
}
delete archive;
getGameLoaderInventory()->rebuildItemRects();
@ -600,8 +592,6 @@ bool PicAniInfo::load(MfcArchive &file) {
oy = file.readSint32LE();
priority = file.readUint32LE();
staticsId = file.readUint16LE();
if (objectId == 334)
warning("objid: %d stid: %d", objectId, staticsId);
movementId = file.readUint16LE();
dynamicPhaseIndex = file.readUint16LE();
flags = file.readUint16LE();

View File

@ -98,14 +98,6 @@ void GameLoader::writeSavegame(Scene *sc, const char *fname) {
}
}
int num = 2;
for (int k = 0; k < _sc2array[num]._picAniInfosCount; k++) {
debugC(4, kDebugLoading, "num: %d", k);
debugC(4, kDebugLoading, "type: %d id: %d", _sc2array[num]._picAniInfos[k]->type, _sc2array[num]._picAniInfos[k]->objectId);
debugC(4, kDebugLoading, "staticsId: %d movid: %d movphase: %d", _sc2array[num]._picAniInfos[k]->staticsId,
_sc2array[num]._picAniInfos[k]->movementId, _sc2array[num]._picAniInfos[k]->dynamicPhaseIndex);
}
header.encSize = stream.size();
// Now obfuscate the data
@ -178,8 +170,6 @@ void PicAniInfo::save(MfcArchive &file) {
file.writeSint32LE(oy);
file.writeUint32LE(priority);
file.writeUint16LE(staticsId);
if (objectId == 334)
warning("objid: %d stid: %d", objectId, staticsId);
file.writeUint16LE(movementId);
file.writeUint16LE(dynamicPhaseIndex);
file.writeUint16LE(flags);