Mercurial > mm7
comparison mm7_1.cpp @ 990:087a9af8e0ec
MessageParam
author | Ritor1 |
---|---|
date | Mon, 13 May 2013 18:03:55 +0600 |
parents | 9e132060ada3 |
children | 3a3ab572eff5 |
comparison
equal
deleted
inserted
replaced
989:bb37d33934b0 | 990:087a9af8e0ec |
---|---|
1252 } | 1252 } |
1253 return; | 1253 return; |
1254 } | 1254 } |
1255 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages >= 40 ) | 1255 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages >= 40 ) |
1256 return; | 1256 return; |
1257 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)161; | 1257 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_StartNPCDialogue; |
1258 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = v18; | 1258 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = v18; |
1259 LABEL_42: | 1259 LABEL_42: |
1260 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; | 1260 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; |
1261 ++pMessageQueue_50CBD0->uNumMessages; | 1261 ++pMessageQueue_50CBD0->uNumMessages; |
1262 return;*/ | 1262 return;*/ |
1268 pTurnEngine->field_18 |= 8u; | 1268 pTurnEngine->field_18 |= 8u; |
1269 return; | 1269 return; |
1270 } | 1270 } |
1271 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 1271 /*if ( (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
1272 { | 1272 { |
1273 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)23; | 1273 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_Attack; |
1274 goto LABEL_41; | 1274 goto LABEL_41; |
1275 }*/ | 1275 }*/ |
1276 pMessageQueue_50CBD0->AddMessage(UIMSG_Attack, 0, 0); | 1276 pMessageQueue_50CBD0->AddMessage(UIMSG_Attack, 0, 0); |
1277 } | 1277 } |
1278 else | 1278 else |
1285 if ( uActiveCharacter | 1285 if ( uActiveCharacter |
1286 && sub_427769_spell(pPlayers[uActiveCharacter]->uQuickSpell)) | 1286 && sub_427769_spell(pPlayers[uActiveCharacter]->uQuickSpell)) |
1287 { | 1287 { |
1288 pMessageQueue_50CBD0->AddMessage(UIMSG_CastQuickSpell, 0, 0); | 1288 pMessageQueue_50CBD0->AddMessage(UIMSG_CastQuickSpell, 0, 0); |
1289 /*&& (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) | 1289 /*&& (signed int)pMessageQueue_50CBD0->uNumMessages < 40 ) |
1290 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = (UIMessageType)25; | 1290 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].eType = UIMSG_CastQuickSpell; |
1291 LABEL_41: | 1291 LABEL_41: |
1292 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 0; | 1292 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = 0; |
1293 goto LABEL_42;*/ | 1293 goto LABEL_42;*/ |
1294 } | 1294 } |
1295 } | 1295 } |