[Scummvm-cvs-logs] SF.net SVN: scummvm:[55136] scummvm/trunk/engines/sci/console.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Jan 7 01:05:15 CET 2011


Revision: 55136
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55136&view=rev
Author:   thebluegr
Date:     2011-01-07 00:05:14 +0000 (Fri, 07 Jan 2011)

Log Message:
-----------
SCI2.1: Show the kernel table used in the "version" console command

Transitive SCI2.1 games (e.g. QFG4CD and PQ4CD, as well as GK2 demo) used a SCI2 table,
with some added functions. If a SCI2.1 game is loaded, show what kernel table it uses

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2011-01-06 21:11:24 UTC (rev 55135)
+++ scummvm/trunk/engines/sci/console.cpp	2011-01-07 00:05:14 UTC (rev 55136)
@@ -458,6 +458,8 @@
 #ifdef ENABLE_SCI32
 	if (getSciVersion() >= SCI_VERSION_2)
 		DebugPrintf("kString type: %s\n", (_engine->_features->detectSci2StringFunctionType() == kSci2StringFunctionOld) ? "SCI2 (old)" : "SCI2.1 (new)");
+	if (getSciVersion() == SCI_VERSION_2_1)
+		DebugPrintf("SCI2.1 kernel table: %s\n", (_engine->_features->detectSci21KernelType() == SCI_VERSION_2) ? "modified SCI2 (old)" : "SCI2.1 (new)");
 #endif
 	DebugPrintf("View type: %s\n", viewTypeDesc[g_sci->getResMan()->getViewType()]);
 	DebugPrintf("Uses palette merging: %s\n", g_sci->_gfxPalette->isMerging() ? "yes" : "no");


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