diff options
author | Filippos Karapetis | 2009-04-23 19:11:01 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-04-23 19:11:01 +0000 |
commit | 001699becbe2d8e6124051ac588095acca385d01 (patch) | |
tree | 01a3ea8946e5564bd49a7021c0cb29d18c3b2d91 /engines | |
parent | efc28c1be6b344a72cd1011a20ba2924515de334 (diff) | |
download | scummvm-rg350-001699becbe2d8e6124051ac588095acca385d01.tar.gz scummvm-rg350-001699becbe2d8e6124051ac588095acca385d01.tar.bz2 scummvm-rg350-001699becbe2d8e6124051ac588095acca385d01.zip |
Removed a FIXME concerning CanBeHere and CantBeHere and added an explanation. Also, removed some unused code.
svn-id: r40094
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 667ae917e6..182f0c8408 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -142,8 +142,9 @@ SciKernelFunction kfunct_mappers[] = { /*4e*/ DEFUN("ReadNumber", kReadNumber, "r"), /*4f*/ DEFUN("BaseSetter", kBaseSetter, "o"), /*50*/ DEFUN("DirLoop", kDirLoop, "oi"), + // Opcode 51 is defined twice for a reason. Older SCI versions + // call CanBeHere, whereas newer ones its inverse, CantBeHere /*51*/ DEFUN("CanBeHere", kCanBeHere, "ol*"), - // FIXME: The number 0x51 occurs twice :-) /*51*/ DEFUN("CantBeHere", kCanBeHere, "ol*"), /*52*/ DEFUN("OnControl", kOnControl, "i*"), /*53*/ DEFUN("InitBresen", kInitBresen, "oi*"), @@ -173,13 +174,8 @@ SciKernelFunction kfunct_mappers[] = { /*6b*/ DEFUN("FlushResources", kFlushResources, "i"), /*6c*/ DEFUN("TimesSin", kTimesSin, "ii"), /*6d*/ DEFUN("TimesCos", kTimesCos, "ii"), -#if 0 - /*6e*/ NOFUN(NULL), - /*6f*/ NOFUN(NULL), -#else /*6e*/ DEFUN("6e", kTimesSin, "ii"), /*6f*/ DEFUN("6f", kTimesCos, "ii"), -#endif /*70*/ DEFUN("Graph", kGraph, ".*"), /*71*/ DEFUN("Joystick", kJoystick, ".*"), /*72*/ NOFUN(NULL), |