Mercurial > mm7
comparison mm7_2.cpp @ 990:087a9af8e0ec
MessageParam
author | Ritor1 |
---|---|
date | Mon, 13 May 2013 18:03:55 +0600 |
parents | 9e132060ada3 |
children | 3431f6abc786 |
comparison
equal
deleted
inserted
replaced
989:bb37d33934b0 | 990:087a9af8e0ec |
---|---|
94 if ( a1 == 41 ) | 94 if ( a1 == 41 ) |
95 { | 95 { |
96 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0); | 96 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0); |
97 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 97 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
98 { | 98 { |
99 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 99 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
100 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 0; | 100 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 0; |
101 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 101 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
102 ++pMessageQueue_50CBD0->uNumMessages; | 102 ++pMessageQueue_50CBD0->uNumMessages; |
103 }*/ | 103 }*/ |
104 dword_50C9DC = 195; | 104 dword_50C9DC = 195; |
593 pParty->sRotationY = 512; | 593 pParty->sRotationY = 512; |
594 pParty->sRotationX = 0; | 594 pParty->sRotationX = 0; |
595 pParty->uFallSpeed = 0; | 595 pParty->uFallSpeed = 0; |
596 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 596 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
597 { | 597 { |
598 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 598 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
599 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; | 599 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; |
600 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 600 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
601 ++pMessageQueue_50CBD0->uNumMessages; | 601 ++pMessageQueue_50CBD0->uNumMessages; |
602 }*/ | 602 }*/ |
603 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); | 603 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); |
7245 { | 7245 { |
7246 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, window_SpeakInHouse != 0, 0); | 7246 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, window_SpeakInHouse != 0, 0); |
7247 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 7247 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
7248 { | 7248 { |
7249 v12 = window_SpeakInHouse == 0; | 7249 v12 = window_SpeakInHouse == 0; |
7250 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 7250 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
7251 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = !v12; | 7251 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = !v12; |
7252 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 7252 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
7253 ++pMessageQueue_50CBD0->uNumMessages; | 7253 ++pMessageQueue_50CBD0->uNumMessages; |
7254 }*/ | 7254 }*/ |
7255 return 0; | 7255 return 0; |
10734 if ( v13->sNPC_ID ) | 10734 if ( v13->sNPC_ID ) |
10735 { | 10735 { |
10736 pMessageQueue_50CBD0->AddMessage(UIMSG_StartNPCDialogue, v12, 0); | 10736 pMessageQueue_50CBD0->AddMessage(UIMSG_StartNPCDialogue, v12, 0); |
10737 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 10737 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
10738 { | 10738 { |
10739 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)161; | 10739 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_StartNPCDialogue; |
10740 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = v12; | 10740 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = v12; |
10741 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 10741 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
10742 ++pMessageQueue_50CBD0->uNumMessages; | 10742 ++pMessageQueue_50CBD0->uNumMessages; |
10743 }*/ | 10743 }*/ |
10744 } | 10744 } |