Mercurial > mm7
comparison mm7_6.cpp @ 151:9abdd40a107b
pCurrentScreen
author | Ritor1 |
---|---|
date | Tue, 12 Feb 2013 15:28:08 +0600 |
parents | cca78efb377e |
children | a0e7ad5425d4 |
comparison
equal
deleted
inserted
replaced
150:d92c78ab54fe | 151:9abdd40a107b |
---|---|
9182 if ( (signed int)pMessageQueue_50CBD0->uNumMessages >= 40 ) | 9182 if ( (signed int)pMessageQueue_50CBD0->uNumMessages >= 40 ) |
9183 break; | 9183 break; |
9184 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)404; | 9184 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)404; |
9185 goto _send_message; | 9185 goto _send_message; |
9186 } | 9186 } |
9187 if ( pCurrentScreen == 4 ) | 9187 if ( pCurrentScreen == SCREEN_NPC_DIALOGUE ) |
9188 { | 9188 { |
9189 v11 = pMessageQueue_50CBD0->uNumMessages; | 9189 v11 = pMessageQueue_50CBD0->uNumMessages; |
9190 if ( pMessageQueue_50CBD0->uNumMessages ) | 9190 if ( pMessageQueue_50CBD0->uNumMessages ) |
9191 { | 9191 { |
9192 if ( pMessageQueue_50CBD0->pMessages[0].field_8 ) | 9192 if ( pMessageQueue_50CBD0->pMessages[0].field_8 ) |
9208 goto LABEL_132; | 9208 goto LABEL_132; |
9209 } | 9209 } |
9210 break; | 9210 break; |
9211 case INPUT_CharCycle: | 9211 case INPUT_CharCycle: |
9212 //__debugbreak(); | 9212 //__debugbreak(); |
9213 if ( pCurrentScreen == 8 | 9213 if ( pCurrentScreen == SCREEN_SPELL_BOOK |
9214 || dword_50C9E8 >= 40 ) | 9214 || dword_50C9E8 >= 40 ) |
9215 break; | 9215 break; |
9216 dword_50C9EC[3 * dword_50C9E8] = 176; | 9216 dword_50C9EC[3 * dword_50C9E8] = 176; |
9217 goto LABEL_155; | 9217 goto LABEL_155; |
9218 case INPUT_LookUp: | 9218 case INPUT_LookUp: |
9309 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 0; | 9309 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 0; |
9310 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 9310 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
9311 ++pMessageQueue_50CBD0->uNumMessages; | 9311 ++pMessageQueue_50CBD0->uNumMessages; |
9312 goto LABEL_175; | 9312 goto LABEL_175; |
9313 } | 9313 } |
9314 if ( pCurrentScreen == 4 | 9314 if ( pCurrentScreen == SCREEN_NPC_DIALOGUE |
9315 || pCurrentScreen == 19 ) | 9315 || pCurrentScreen == SCREEN_BRANCHLESS_NPC_DIALOG ) |
9316 { | 9316 { |
9317 v15 = pMessageQueue_50CBD0->uNumMessages; | 9317 v15 = pMessageQueue_50CBD0->uNumMessages; |
9318 if ( pMessageQueue_50CBD0->uNumMessages ) | 9318 if ( pMessageQueue_50CBD0->uNumMessages ) |
9319 { | 9319 { |
9320 v15 = 0; | 9320 v15 = 0; |