[Scummvm-cvs-logs] scummvm master -> 769ba7f6cab51dc48f4d6aaefcb3bf8c216abaa9
sev-
sev at scummvm.org
Wed Oct 16 08:05:04 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
769ba7f6ca FULLPIPE: More work on MovGraph2::method4C()
Commit: 769ba7f6cab51dc48f4d6aaefcb3bf8c216abaa9
https://github.com/scummvm/scummvm/commit/769ba7f6cab51dc48f4d6aaefcb3bf8c216abaa9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-10-15T23:04:21-07:00
Commit Message:
FULLPIPE: More work on MovGraph2::method4C()
Changed paths:
engines/fullpipe/motion.cpp
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 4e708c1..8e25786 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -732,7 +732,7 @@ MessageQueue *MovGraph2::method4C(StaticANIObject *obj, int xpos, int ypos, int
#if 0
if (staticsId) {
- v47 = MovGraph2_getItem1IndexByStaticsId(this, ex, staticsId);
+ v47 = MovGraph2_getItem1IndexByStaticsId(ex, staticsId);
} else if (tempLinkList.m_nCount <= 1) {
if (tempLinkList.m_nCount == 1)
LOBYTE(v47) = MovGraph2_sub_456690(
@@ -776,30 +776,12 @@ MessageQueue *MovGraph2::method4C(StaticANIObject *obj, int xpos, int ypos, int
&& picAniInfo.someDynamicPhaseIndex == v52->msg.field_14) {
MessageQueue_deleteExCommandByIndex(v50, 0, 1);
} else {
- v54 = (ExCommand *)operator new(sizeof(ExCommand));
- v63 = v54;
- LOBYTE(v71.state) = 5;
- if (v54)
- v55 = ExCommand_ctor(
- v54,
- picAniInfo.objectId,
- 5,
- *(_DWORD *)(point.x + offsetof(ExCommand, messageNum)),
- obj->GameObject.ox,
- obj->GameObject.oy,
- 0,
- 1,
- 0,
- 0,
- 0);
- else
- v55 = 0;
- v55->msg.field_14 = -1;
- v55->msg.keyCode = picAniInfo.field_8;
- v56 = v55->excFlags | 2;
- LOBYTE(v71.state) = 4;
- v55->excFlags = v56;
- MessageQueue_addExCommand(v50, v55);
+ ExCommand *ex = new ExCommand(picAniInfo.objectId, 5, v52->_messageNum, obj->_ox, obj->_oy, 0, 1, 0, 0, 0);
+ ex->_field_14 = -1;
+ ex->_keyCode = picAniInfo.field_8;
+ ex->_excFlags |= 2;
+ v50->addExCommand(ex);
+
v57 = (ExCommand *)operator new(sizeof(ExCommand));
v63 = v57;
LOBYTE(v71.state) = 6;
More information about the Scummvm-git-logs
mailing list