[Scummvm-cvs-logs] SF.net SVN: scummvm:[52732] scummvm/trunk/engines/sci/engine/kernel_tables. h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Sep 15 14:14:35 CEST 2010


Revision: 52732
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52732&view=rev
Author:   thebluegr
Date:     2010-09-15 12:14:34 +0000 (Wed, 15 Sep 2010)

Log Message:
-----------
SCI2: adding a stub for the kPurge memory function

kPurge is specific to the SSCI memory manager. We have our own memory manager and
garbage collector, thus we ignore these calls

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kernel_tables.h

Modified: scummvm/trunk/engines/sci/engine/kernel_tables.h
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel_tables.h	2010-09-15 07:44:24 UTC (rev 52731)
+++ scummvm/trunk/engines/sci/engine/kernel_tables.h	2010-09-15 12:14:34 UTC (rev 52732)
@@ -491,6 +491,12 @@
     { MAP_CALL(UpdatePlane),       SIG_EVERYWHERE,           "o",                     NULL,            NULL },
     { MAP_CALL(UpdateScreenItem),  SIG_EVERYWHERE,           "o",                     NULL,            NULL },
 
+	// SCI2 empty functions
+
+	// Purge is used by the memory manager in SSCI to ensure that X number of bytes (the so called "unmovable
+	// memory") are available. We have our own memory manager and garbage collector, thus we ignore this call.
+	{ MAP_EMPTY(Purge),            SIG_EVERYWHERE,           "i",                     NULL,            NULL },
+
     // SCI2.1 Kernel Functions
     { MAP_CALL(CD),           	   SIG_EVERYWHERE,           "(.*)",                  NULL,            NULL },
     { MAP_CALL(IsOnMe),            SIG_EVERYWHERE,           "iioi",                  NULL,            NULL },
@@ -507,6 +513,9 @@
 	{ MAP_CALL(PrintDebug),        SIG_EVERYWHERE,           "ri",                    NULL,            NULL },
 
 	// SCI2.1 empty functions
+
+	// SetWindowsOption is used to set Windows specific options, like for example the title bar visibility of
+	// the game window in Phantasmagoria 2. We ignore these settings completely.
 	{ MAP_EMPTY(SetWindowsOption), SIG_EVERYWHERE,           "ii",                    NULL,            NULL },
 
 	// Unimplemented SCI2.1 unused functions, always mapped to kDummy


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