SCI: Move GameFeatures from EngineState to SciEngine

svn-id: r48049
This commit is contained in:
Max Horn 2010-02-13 17:44:58 +00:00
parent a82939c9be
commit 9575cc08a2
14 changed files with 45 additions and 35 deletions

View file

@ -25,6 +25,7 @@
#ifdef ENABLE_SCI32
#include "sci/engine/features.h"
#include "sci/engine/kernel.h"
#include "sci/engine/segment.h"
#include "sci/engine/state.h"
@ -383,7 +384,7 @@ void Kernel::setKernelNamesSci21(EngineState *s) {
// This is interesting because they all have the same interpreter version (2.100.002), yet
// they would not be compatible with other games of the same interpreter.
if (s->_features->detectSci21KernelType() == SCI_VERSION_2) {
if (g_sci->_features->detectSci21KernelType() == SCI_VERSION_2) {
_kernelNames = Common::StringList(sci2_default_knames, kKernelEntriesGk2Demo);
// OnMe is IsOnMe here, but they should be compatible
_kernelNames[0x23] = "Robot"; // Graph in SCI2