SCI32:
- Fully implement kArray and kIsHiRes and mostly implement kString (printf and atoi subfunctions still missing). - Add a dummy SciGui class for SCI32 to bypass the views. Gabriel Knight 1 will now play the Sierra logo music and the main menu music. - Some other minor SCI32 changes. svn-id: r46462
This commit is contained in:
parent
2a3cbcbc57
commit
ef79d7f017
15 changed files with 592 additions and 15 deletions
|
@ -187,7 +187,7 @@ SciKernelFunction kfunct_mappers[] = {
|
|||
/*00*/ DEFUN("Load", kLoad, "iii*"),
|
||||
/*01*/ DEFUN("UnLoad", kUnLoad, "i.*"),
|
||||
/*02*/ DEFUN("ScriptID", kScriptID, "Ioi*"),
|
||||
/*03*/ DEFUN("DisposeScript", kDisposeScript, "Oi"), // Work around QfG1 bug
|
||||
/*03*/ DEFUN("DisposeScript", kDisposeScript, "Oii*"), // Work around QfG1 bug
|
||||
/*04*/ DEFUN("Clone", kClone, "o"),
|
||||
/*05*/ DEFUN("DisposeClone", kDisposeClone, "o"),
|
||||
/*06*/ DEFUN("IsObject", kIsObject, "."),
|
||||
|
@ -217,7 +217,7 @@ SciKernelFunction kfunct_mappers[] = {
|
|||
// FIXME: signature check removed (set to .*) as kGetEvent is different in Mac versions
|
||||
/*1c*/ DEFUN("GetEvent", kGetEvent, ".*"),
|
||||
///*1c*/ DEFUN("GetEvent", kGetEvent, "io"),
|
||||
/*1d*/ DEFUN("GlobalToLocal", kGlobalToLocal, "o"),
|
||||
/*1d*/ DEFUN("GlobalToLocal", kGlobalToLocal, "oo*"),
|
||||
/*1e*/ DEFUN("LocalToGlobal", kLocalToGlobal, "o"),
|
||||
/*1f*/ DEFUN("MapKeyToDir", kMapKeyToDir, "o"),
|
||||
/*20*/ DEFUN("DrawMenuBar", kDrawMenuBar, "i"),
|
||||
|
@ -336,6 +336,13 @@ SciKernelFunction kfunct_mappers[] = {
|
|||
DEFUN("TextColors", kTextColors, ".*"),
|
||||
DEFUN("TextFonts", kTextFonts, ".*"),
|
||||
DEFUN("Portrait", kPortrait, ".*"),
|
||||
|
||||
#ifdef ENABLE_SCI32
|
||||
// SCI32 Kernel Functions
|
||||
DEFUN("IsHiRes", kIsHiRes, ""),
|
||||
DEFUN("Array", kArray, ".*"),
|
||||
DEFUN("String", kString, ".*"),
|
||||
#endif
|
||||
|
||||
// its a stub, but its needed for Pharkas to work
|
||||
DEFUN("PalVary", kPalVary, "ii*"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue