Mercurial > mm7
comparison mm7_4.cpp @ 990:087a9af8e0ec
MessageParam
author | Ritor1 |
---|---|
date | Mon, 13 May 2013 18:03:55 +0600 |
parents | a6ef7125f6e4 |
children | e865f349aa41 c45d51b3f4f4 8b492d4722d4 |
comparison
equal
deleted
inserted
replaced
989:bb37d33934b0 | 990:087a9af8e0ec |
---|---|
6705 pPlayers[uActiveCharacter]->PlaySound(SPEECH_85, 0); | 6705 pPlayers[uActiveCharacter]->PlaySound(SPEECH_85, 0); |
6706 } | 6706 } |
6707 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); | 6707 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); |
6708 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 6708 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
6709 { | 6709 { |
6710 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 6710 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
6711 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; | 6711 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; |
6712 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 6712 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
6713 ++pMessageQueue_50CBD0->uNumMessages; | 6713 ++pMessageQueue_50CBD0->uNumMessages; |
6714 }*/ | 6714 }*/ |
6715 } | 6715 } |
6760 break; | 6760 break; |
6761 } | 6761 } |
6762 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); | 6762 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); |
6763 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 6763 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
6764 { | 6764 { |
6765 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 6765 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
6766 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; | 6766 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; |
6767 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 6767 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
6768 ++pMessageQueue_50CBD0->uNumMessages; | 6768 ++pMessageQueue_50CBD0->uNumMessages; |
6769 }*/ | 6769 }*/ |
6770 //v11 = uActiveCharacter; | 6770 //v11 = uActiveCharacter; |
6823 dialog_menu_id = HOUSE_DIALOGUE_MAIN; | 6823 dialog_menu_id = HOUSE_DIALOGUE_MAIN; |
6824 | 6824 |
6825 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); | 6825 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, 0); |
6826 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 6826 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
6827 { | 6827 { |
6828 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 6828 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
6829 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; | 6829 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; |
6830 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 6830 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
6831 ++pMessageQueue_50CBD0->uNumMessages; | 6831 ++pMessageQueue_50CBD0->uNumMessages; |
6832 }*/ | 6832 }*/ |
6833 if ( uActiveCharacter ) | 6833 if ( uActiveCharacter ) |
8459 v5 = 0; | 8459 v5 = 0; |
8460 } | 8460 } |
8461 /*result = pMessageQueue_50CBD0->uNumMessages; | 8461 /*result = pMessageQueue_50CBD0->uNumMessages; |
8462 if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 8462 if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
8463 { | 8463 { |
8464 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)113; | 8464 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Escape; |
8465 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; | 8465 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 1; |
8466 result = 3 * pMessageQueue_50CBD0->uNumMessages + 3; | 8466 result = 3 * pMessageQueue_50CBD0->uNumMessages + 3; |
8467 *(&pMessageQueue_50CBD0->uNumMessages + result) = v5; | 8467 *(&pMessageQueue_50CBD0->uNumMessages + result) = v5; |
8468 ++pMessageQueue_50CBD0->uNumMessages; | 8468 ++pMessageQueue_50CBD0->uNumMessages; |
8469 }*/ | 8469 }*/ |