SCI: Remove dead code
This commit is contained in:
parent
6e2f18c498
commit
200c8c442b
4 changed files with 3 additions and 5 deletions
|
@ -675,7 +675,6 @@ MoveCountType GameFeatures::detectMoveCountType() {
|
|||
} else {
|
||||
if (!autoDetectMoveCountType()) {
|
||||
error("Move count autodetection failed");
|
||||
_moveCountType = kIncrementMoveCount; // Most games do this, so best guess
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -361,7 +361,7 @@ void ScreenItem::calcRects(const Plane &plane) {
|
|||
const Ratio scriptToScreenX = Ratio(screenWidth, scriptWidth);
|
||||
const Ratio scriptToScreenY = Ratio(screenHeight, scriptHeight);
|
||||
|
||||
if (/* TODO: dword_C6288 */ false && _celInfo.type == kCelTypePic) {
|
||||
if (/* TODO: dword_C6288 */ (false) && _celInfo.type == kCelTypePic) {
|
||||
_scaledPosition.x = _position.x;
|
||||
_scaledPosition.y = _position.y;
|
||||
} else {
|
||||
|
|
|
@ -2615,9 +2615,6 @@ void ResourceManager::detectSciVersion() {
|
|||
}
|
||||
|
||||
error("Failed to accurately determine SCI version");
|
||||
// No parser, we assume SCI_VERSION_01.
|
||||
s_sciVersion = SCI_VERSION_01;
|
||||
return;
|
||||
}
|
||||
|
||||
// New decompressors. It's either SCI_VERSION_1_EGA_ONLY or SCI_VERSION_1_EARLY.
|
||||
|
|
|
@ -678,6 +678,7 @@ reg_t SoundCommandParser::kDoSoundStopAll(EngineState *s, int argc, reg_t *argv)
|
|||
// this doesn't make sense, so i disable it for now
|
||||
return s->r_acc;
|
||||
|
||||
#if 0
|
||||
Common::StackLock(_music->_mutex);
|
||||
|
||||
const MusicList::iterator end = _music->getPlayListEnd();
|
||||
|
@ -693,6 +694,7 @@ reg_t SoundCommandParser::kDoSoundStopAll(EngineState *s, int argc, reg_t *argv)
|
|||
_music->soundStop(*i);
|
||||
}
|
||||
return s->r_acc;
|
||||
#endif
|
||||
}
|
||||
|
||||
reg_t SoundCommandParser::kDoSoundSetVolume(EngineState *s, int argc, reg_t *argv) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue