Resolved some TODOs in Kyra3 code.

svn-id: r41957
This commit is contained in:
Johannes Schickel 2009-06-29 17:26:43 +00:00
parent fbefe917f2
commit 11dafd2ded
2 changed files with 2 additions and 10 deletions

View File

@ -269,7 +269,6 @@ Common::Error KyraEngine_MR::go() {
_screen->setScreenPalette(_screen->getPalette(0));
// XXX
playMenuAudioFile();
for (int i = 0; i < 64 && !shouldQuit(); ++i) {
@ -558,9 +557,7 @@ void KyraEngine_MR::startup() {
_screen->setFont(Screen::FID_6_FNT);
_stringBuffer = new char[500];
//XXX
musicUpdate(0);
//XXX
allocAnimObjects(1, 16, 50);
musicUpdate(0);
@ -584,14 +581,11 @@ void KyraEngine_MR::startup() {
if (!loadLanguageFile("_ACTOR.", _actorFile))
error("couldn't load _ACTOR");
musicUpdate(0);
//XXX
musicUpdate(0);
openTalkFile(0);
musicUpdate(0);
_currentTalkFile = 0;
openTalkFile(1);
//XXX
loadCostPal();
musicUpdate(0);

View File

@ -48,10 +48,8 @@ void KyraEngine_MR::enterNewScene(uint16 sceneId, int facing, int unk1, int unk2
}
musicUpdate(0);
if (!unk3) {
//XXX
if (!unk3)
musicUpdate(0);
}
if (unk1) {
int x = _mainCharacter.x1;
@ -88,7 +86,7 @@ void KyraEngine_MR::enterNewScene(uint16 sceneId, int facing, int unk1, int unk2
newSoundFile = true;
}
//XXX
_chatAltFlag = false;
if (!unk3) {
_emc->init(&_sceneScriptState, &_sceneScriptData);