[Scummvm-cvs-logs] SF.net SVN: scummvm:[35606] scummvm/trunk/engines/kyra

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Dec 29 15:06:31 CET 2008


Revision: 35606
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35606&view=rev
Author:   lordhoto
Date:     2008-12-29 14:06:31 +0000 (Mon, 29 Dec 2008)

Log Message:
-----------
Extended some comments.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/lol.cpp
    scummvm/trunk/engines/kyra/staticres.cpp

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2008-12-29 14:03:27 UTC (rev 35605)
+++ scummvm/trunk/engines/kyra/lol.cpp	2008-12-29 14:06:31 UTC (rev 35606)
@@ -138,7 +138,7 @@
 			setupPrologueData(true);
 			break;
 
-		case 2:		// "Lore of the Lands"
+		case 2:		// "Lore of the Lands" (only CD version)
 			break;
 
 		case 3:		// Load game
@@ -192,6 +192,9 @@
 	memset(pal, 0, 768);
 	_screen->setScreenPalette(pal);
 
+	// TODO: We need to check if the SYSEX events of intro and ingame differ.
+	// If they really need to setup the proper ingame sysex when starting
+	// the game. But the place to do it would not be here in our code!
 	/*if (_sound->getMusicType() == Sound::kMidiMT32 || _sound->getSfxType() == Sound::kMidiMT32) {
 		_sound->loadSoundFile("LOLSYSEX");
 		_sound->playTrack(0);
@@ -261,7 +264,7 @@
 	assert(menu);
 	menu->init(data, MainMenu::Animation());
 
-	int selection = menu->handle(_flags.isTalkie ? (hasSave ? 12 : 6) :(hasSave ? 6 : 13));
+	int selection = menu->handle(_flags.isTalkie ? (hasSave ? 12 : 6) : (hasSave ? 6 : 13));
 	delete menu;
 
 	if (!_flags.isTalkie && selection >= 2)

Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp	2008-12-29 14:03:27 UTC (rev 35605)
+++ scummvm/trunk/engines/kyra/staticres.cpp	2008-12-29 14:06:31 UTC (rev 35606)
@@ -2369,8 +2369,8 @@
 	{ 0x07, 0x19, 0x1A, 0x97, 0x00, 0x00, 0x00, 0x00 },
 	{ 0x03, 0x1E, 0x22, 0x8C, 0x00, 0x00, 0x00, 0x00 },
 	{ 0x02, 0x48, 0x24, 0x34, 0x00, 0x00, 0x00, 0x00 },
-	{ 0x0B, 0x8C, 0x10, 0x33, 0x3D, 0x01, 0x00, 0x00 },	// Main menu box (5 entries)
-	{ 0x0B, 0x8C, 0x10, 0x23, 0x3D, 0x01, 0x00, 0x00 }	// Main menu box (3 entries)
+	{ 0x0B, 0x8C, 0x10, 0x33, 0x3D, 0x01, 0x00, 0x00 },	// Main menu box (5 entries, CD version only)
+	{ 0x0B, 0x8C, 0x10, 0x23, 0x3D, 0x01, 0x00, 0x00 }	// Main menu box (3 entries, floppy version only)
 };
 
 const int Screen_LoL::_screenDimTableCount = ARRAYSIZE(Screen_LoL::_screenDimTable);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list