diff options
author | Paul Gilbert | 2016-04-11 19:40:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:10:55 -0400 |
commit | 54b055bcf58e8cbcf472ea6838f3ed7ecf377e37 (patch) | |
tree | 2aca74e928a44774146043fd0d357e4ca8348112 /engines/titanic/messages | |
parent | 7e1f802abdab1442bd49f1c398c0aab6d81d452b (diff) | |
download | scummvm-rg350-54b055bcf58e8cbcf472ea6838f3ed7ecf377e37.tar.gz scummvm-rg350-54b055bcf58e8cbcf472ea6838f3ed7ecf377e37.tar.bz2 scummvm-rg350-54b055bcf58e8cbcf472ea6838f3ed7ecf377e37.zip |
TITANIC: Implementing CCarry drag end handler
Diffstat (limited to 'engines/titanic/messages')
-rw-r--r-- | engines/titanic/messages/messages.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/titanic/messages/messages.h b/engines/titanic/messages/messages.h index e74c26fd97..474565a69c 100644 --- a/engines/titanic/messages/messages.h +++ b/engines/titanic/messages/messages.h @@ -79,6 +79,8 @@ enum MessageFlag { return supports(item, _type); } \ } +class CCarry; +class CCharacter; class CGameObject; class CRoomItem; class CNodeItem; @@ -267,7 +269,7 @@ MESSAGE0(CDoffNavHelmet); MESSAGE0(CDonNavHelmet); MESSAGE1(CDoorbotNeededInElevatorMsg, int, value, 0); MESSAGE0(CDoorbotNeededInHomeMsg); -MESSAGE1(CDropobjectMsg, int, value, 0); +MESSAGE1(CDropObjectMsg, CCarry *, item, nullptr); MESSAGE1(CDropZoneGotObjectMsg, int, value, 0); MESSAGE1(CDropZoneLostObjectMsg, int, value, 0); MESSAGE1(CEjectCylinderMsg, int, value, 0); @@ -389,8 +391,8 @@ MESSAGE3(CTrueTalkTriggerActionMsg, int, value1, 0, int, value2, 0, int, value3, MESSAGE0(CTurnOff); MESSAGE0(CTurnOn); MESSAGE1(CUse, int, value, 0); -MESSAGE1(CUseWithCharMsg, int, value, 0); -MESSAGE1(CUseWithOtherMsg, int, value, 0); +MESSAGE1(CUseWithCharMsg, CCharacter *, character, nullptr); +MESSAGE1(CUseWithOtherMsg, CGameObject *, other, 0); MESSAGE1(CVirtualKeyCharMsg, Common::KeyState, keyState, Common::KeyState()); MESSAGE1(CVisibleMsg, bool, visible, true); |