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

svn-id: r55136
This commit is contained in:
Filippos Karapetis 2011-01-07 00:05:14 +00:00
parent 4b2f92b5e5
commit a6994413ea

View file

@ -458,6 +458,8 @@ bool Console::cmdGetVersion(int argc, const char **argv) {
#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");