comparison mm7_6.cpp @ 1012:9e823ad5eaa6

second msg_queue returned
author Gloval
date Sun, 19 May 2013 12:13:42 +0400
parents a32318b557c7
children 0cef8c6aa893
comparison
equal deleted inserted replaced
1011:f85a8305a57c 1012:9e823ad5eaa6
8178 pMessageQueue_50CBD0->AddMessage(UIMSG_Attack, 0, 0); 8178 pMessageQueue_50CBD0->AddMessage(UIMSG_Attack, 0, 0);
8179 break; 8179 break;
8180 } 8180 }
8181 else 8181 else
8182 { 8182 {
8183 if ( dword_50C9E8 < 40 ) 8183 /* if ( dword_50C9E8 < 40 )
8184 { 8184 {
8185 dword_50C9EC[3 * dword_50C9E8] = 25; 8185 dword_50C9EC[3 * dword_50C9E8] = 25;
8186 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8186 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8187 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8187 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8188 ++dword_50C9E8; 8188 ++dword_50C9E8;
8189 } 8189 }*/
8190 pMessageQueue_50C9E8->AddMessage(UIMSG_CastQuickSpell, 0, 0);
8190 } 8191 }
8191 break; 8192 break;
8192 case INPUT_Attack: 8193 case INPUT_Attack:
8193 if (pCurrentScreen != SCREEN_GAME) 8194 if (pCurrentScreen != SCREEN_GAME)
8194 break; 8195 break;
8223 } 8224 }
8224 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0); 8225 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
8225 } 8226 }
8226 break; 8227 break;
8227 case INPUT_CharCycle: 8228 case INPUT_CharCycle:
8228 if ( pCurrentScreen == SCREEN_SPELL_BOOK || dword_50C9E8 >= 40 ) 8229 if ( pCurrentScreen == SCREEN_SPELL_BOOK )
8229 break; 8230 break;
8230 dword_50C9EC[3 * dword_50C9E8] = 176; 8231 /* dword_50C9EC[3 * dword_50C9E8] = 176;|| dword_50C9E8 >= 40
8231 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8232 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8232 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8233 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8233 ++dword_50C9E8; 8234 ++dword_50C9E8;*/
8235 pMessageQueue_50C9E8->AddMessage(UIMSG_CycleCharacters, 0, 0);
8234 break; 8236 break;
8235 case INPUT_LookUp: 8237 case INPUT_LookUp:
8236 if ( pEventTimer->bPaused ) 8238 if ( pEventTimer->bPaused )
8237 break; 8239 break;
8238 partyAction = (PartyAction)7; 8240 partyAction = (PartyAction)7;
8269 partyAction = (PartyAction)14; 8271 partyAction = (PartyAction)14;
8270 pPartyActionQueue->Add(partyAction); 8272 pPartyActionQueue->Add(partyAction);
8271 } 8273 }
8272 break; 8274 break;
8273 case INPUT_ZoomIn: 8275 case INPUT_ZoomIn:
8274 if ( dword_50C9E8 >= 40 ) 8276 /*if ( dword_50C9E8 >= 40 )
8275 break; 8277 break;
8276 dword_50C9EC[3 * dword_50C9E8] = 367; 8278 dword_50C9EC[3 * dword_50C9E8] = 367;
8277 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8279 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8278 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8280 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8279 ++dword_50C9E8; 8281 ++dword_50C9E8;*/
8282 pMessageQueue_50C9E8->AddMessage(UIMSG_ClickZoomOutBtn, 0, 0);
8280 break; 8283 break;
8281 case INPUT_ZoomOut: 8284 case INPUT_ZoomOut:
8282 if ( dword_50C9E8 < 40 ) 8285 /*if ( dword_50C9E8 < 40 )
8283 { 8286 {
8284 dword_50C9EC[3 * dword_50C9E8] = 368; 8287 dword_50C9EC[3 * dword_50C9E8] = 368;
8285 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8288 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8286 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8289 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8287 ++dword_50C9E8; 8290 ++dword_50C9E8;
8288 } 8291 }*/
8292 pMessageQueue_50C9E8->AddMessage(UIMSG_ClickZoomInBtn, 0, 0);
8289 break; 8293 break;
8290 case INPUT_AlwaysRun: 8294 case INPUT_AlwaysRun:
8291 bAlwaysRun = bAlwaysRun == 0; 8295 bAlwaysRun = bAlwaysRun == 0;
8292 break; 8296 break;
8293 default: 8297 default: