diff options
author | Joost Peters | 2003-06-01 12:49:39 +0000 |
---|---|---|
committer | Joost Peters | 2003-06-01 12:49:39 +0000 |
commit | 063c310917f981f5075c91097c46963d1fa9a94b (patch) | |
tree | 9e6468ffa4de5d4f26fa2093e188e1ff2e902574 /sky/logic.cpp | |
parent | 5c91b160f68947c77fe73314fc3a740a7c9aa660 (diff) | |
download | scummvm-rg350-063c310917f981f5075c91097c46963d1fa9a94b.tar.gz scummvm-rg350-063c310917f981f5075c91097c46963d1fa9a94b.tar.bz2 scummvm-rg350-063c310917f981f5075c91097c46963d1fa9a94b.zip |
added some buggy, incomplete mouse code
svn-id: r8233
Diffstat (limited to 'sky/logic.cpp')
-rw-r--r-- | sky/logic.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index 57cd263064..495caca726 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -1187,8 +1187,7 @@ bool SkyLogic::fnAssignBase(uint32 id, uint32 scr, uint32 c) { } bool SkyLogic::fnDiskMouse(uint32 a, uint32 b, uint32 c) { - warning("Stub: fnDiskMouse"); - return true; + return _skyMouse->fnDiskMouse(); } bool SkyLogic::fnNormalMouse(uint32 a, uint32 b, uint32 c) { @@ -1196,7 +1195,7 @@ bool SkyLogic::fnNormalMouse(uint32 a, uint32 b, uint32 c) { } bool SkyLogic::fnBlankMouse(uint32 a, uint32 b, uint32 c) { - return (_skyMouse->fnBlankMouse() != 0); + return _skyMouse->fnBlankMouse(); } bool SkyLogic::fnCrossMouse(uint32 a, uint32 b, uint32 c) { @@ -2060,12 +2059,11 @@ void SkyLogic::stdSpeak(Compact *target, uint32 textNum, uint32 animNum, uint32 if (SkyTalkAnims::animTalkTableIsPointer[offset]) //is it a pointer? animPtr = (uint16 *)SkyTalkAnims::animTalkTablePtr[offset]; - else { //then it must be a value + else //then it must be a value animPtr = (uint16 *)SkyState::fetchCompact(SkyTalkAnims::animTalkTableVal[offset]); - target->offset = *animPtr++; - target->getToFlag = *animPtr++; - } - + + target->offset = *animPtr++; + target->getToFlag = *animPtr++; target->grafixProg = animPtr; if (SkyState::isCDVersion(_gameVersion)) |