SCI: Clean up kRandom + allow 0 parameters via signatures
Also added in depth comments about the currently known variations Returning the RNG seed is now implemented (although it seems no games actually use this functionality, it seems to be just script bugs). Also remove Torin kRandom workarounds.
This commit is contained in:
parent
29b32d52fa
commit
26b6d450df
4 changed files with 30 additions and 24 deletions
|
@ -758,7 +758,7 @@ static SciKernelMapEntry s_kernelMap[] = {
|
|||
{ MAP_CALL(Portrait), SIG_EVERYWHERE, "i(.*)", NULL, NULL }, // subop
|
||||
{ MAP_CALL(PrevNode), SIG_EVERYWHERE, "n", NULL, NULL },
|
||||
{ MAP_CALL(PriCoord), SIG_EVERYWHERE, "i", NULL, NULL },
|
||||
{ MAP_CALL(Random), SIG_EVERYWHERE, "i(i)(i)", NULL, kRandom_workarounds },
|
||||
{ MAP_CALL(Random), SIG_EVERYWHERE, "(i)(i)", NULL, NULL },
|
||||
{ MAP_CALL(ReadNumber), SIG_EVERYWHERE, "r", NULL, kReadNumber_workarounds },
|
||||
{ MAP_CALL(RemapColors), SIG_SCI11, SIGFOR_ALL, "i(i)(i)(i)(i)", NULL, NULL },
|
||||
#ifdef ENABLE_SCI32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue