comparison mm7_6.cpp @ 1003:9318dd3f3711

return dword_50C9EC
author Ritor1
date Tue, 14 May 2013 23:16:10 +0600
parents e4383e6dfbef
children 8073f9a70e8b c45d51b3f4f4
comparison
equal deleted inserted replaced
1002:3ee391de04d5 1003:9318dd3f3711
8785 pMessageQueue_50CBD0->AddMessage(UIMSG_Attack, 0, 0); 8785 pMessageQueue_50CBD0->AddMessage(UIMSG_Attack, 0, 0);
8786 break; 8786 break;
8787 } 8787 }
8788 else 8788 else
8789 { 8789 {
8790 /*if ( dword_50C9E8 < 40 ) 8790 if ( dword_50C9E8 < 40 )
8791 { 8791 {
8792 dword_50C9EC[3 * dword_50C9E8] = 25; 8792 dword_50C9EC[3 * dword_50C9E8] = 25;
8793 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8793 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8794 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8794 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8795 ++dword_50C9E8; 8795 ++dword_50C9E8;
8796 }*/ 8796 }
8797 pMessageQueue_50CBD0->AddMessage(UIMSG_CastQuickSpell, 0, 0);
8798 } 8797 }
8799 break; 8798 break;
8800 case INPUT_Attack: 8799 case INPUT_Attack:
8801 if (pCurrentScreen != SCREEN_GAME) 8800 if (pCurrentScreen != SCREEN_GAME)
8802 break; 8801 break;
8831 } 8830 }
8832 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0); 8831 pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
8833 } 8832 }
8834 break; 8833 break;
8835 case INPUT_CharCycle: 8834 case INPUT_CharCycle:
8836 if ( pCurrentScreen == SCREEN_SPELL_BOOK )// || dword_50C9E8 >= 40 ) 8835 if ( pCurrentScreen == SCREEN_SPELL_BOOK || dword_50C9E8 >= 40 )
8837 break; 8836 break;
8838 /*dword_50C9EC[3 * dword_50C9E8] = 176; 8837 dword_50C9EC[3 * dword_50C9E8] = 176;
8839 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8838 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8840 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8839 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8841 ++dword_50C9E8;*/ 8840 ++dword_50C9E8;
8842 pMessageQueue_50CBD0->AddMessage(UIMSG_CycleCharacters, 0, 0);
8843 break; 8841 break;
8844 case INPUT_LookUp: 8842 case INPUT_LookUp:
8845 if ( pEventTimer->bPaused ) 8843 if ( pEventTimer->bPaused )
8846 break; 8844 break;
8847 partyAction = (PartyAction)7; 8845 partyAction = (PartyAction)7;
8878 partyAction = (PartyAction)14; 8876 partyAction = (PartyAction)14;
8879 pPartyActionQueue->Add(partyAction); 8877 pPartyActionQueue->Add(partyAction);
8880 } 8878 }
8881 break; 8879 break;
8882 case INPUT_ZoomIn: 8880 case INPUT_ZoomIn:
8883 /*if ( dword_50C9E8 >= 40 ) 8881 if ( dword_50C9E8 >= 40 )
8884 break; 8882 break;
8885 dword_50C9EC[3 * dword_50C9E8] = 367; 8883 dword_50C9EC[3 * dword_50C9E8] = 367;
8886 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8884 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8887 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8885 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8888 ++dword_50C9E8;*/ 8886 ++dword_50C9E8;
8889 pMessageQueue_50CBD0->AddMessage(UIMSG_ClickZoomOutBtn, 0, 0);
8890 break; 8887 break;
8891 case INPUT_ZoomOut: 8888 case INPUT_ZoomOut:
8892 /*if ( dword_50C9E8 < 40 ) 8889 if ( dword_50C9E8 < 40 )
8893 { 8890 {
8894 dword_50C9EC[3 * dword_50C9E8] = 368; 8891 dword_50C9EC[3 * dword_50C9E8] = 368;
8895 dword_50C9EC[3 * dword_50C9E8 + 1] = 0; 8892 dword_50C9EC[3 * dword_50C9E8 + 1] = 0;
8896 dword_50C9EC[3 * dword_50C9E8 + 2] = 0; 8893 dword_50C9EC[3 * dword_50C9E8 + 2] = 0;
8897 ++dword_50C9E8; 8894 ++dword_50C9E8;
8898 }*/ 8895 }
8899 pMessageQueue_50CBD0->AddMessage(UIMSG_ClickZoomInBtn, 0, 0);
8900 break; 8896 break;
8901 case INPUT_AlwaysRun: 8897 case INPUT_AlwaysRun:
8902 bAlwaysRun = bAlwaysRun == 0; 8898 bAlwaysRun = bAlwaysRun == 0;
8903 break; 8899 break;
8904 default: 8900 default: