comparison mm7_4.cpp @ 370:7f817679b60e

_42777D_CastSpell_UseWand_ShootArrow
author Nomad
date Fri, 22 Feb 2013 17:47:41 +0200
parents b803545c1b96
children edd2d8b7e3c4
comparison
equal deleted inserted replaced
366:85edec9da96b 370:7f817679b60e
5913 { 5913 {
5914 if ( uMouseX >= (signed int)pControlsHead->uX && uMouseX <= (signed int)pControlsHead->uZ 5914 if ( uMouseX >= (signed int)pControlsHead->uX && uMouseX <= (signed int)pControlsHead->uZ
5915 && uMouseY >= (signed int)pControlsHead->uY && uMouseY <= (signed int)pControlsHead->uW )//mouse movement 5915 && uMouseY >= (signed int)pControlsHead->uY && uMouseY <= (signed int)pControlsHead->uW )//mouse movement
5916 { 5916 {
5917 pControlParam = pControlsHead->uControlParam; 5917 pControlParam = pControlsHead->uControlParam;
5918 if ( (signed int)pNumMessage < 40 ) 5918 pMessageQueue_50CBD0->SendMessage((UIMessageType)pControlsHead->field_1C, pControlParam, 0);
5919 {
5920 pMessageQueue_50CBD0->pMessages[pNumMessage].eType = (UIMessageType)pControlsHead->field_1C;
5921 //pTexture = &pTexture_PCX;
5922 pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = pControlParam;
5923 *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0;
5924 pNumMessage = pMessageQueue_50CBD0->uNumMessages + 1;
5925 ++pMessageQueue_50CBD0->uNumMessages;
5926 }
5927 v1 = 0; 5919 v1 = 0;
5928 } 5920 }
5929 pControlsHead = pControlsHead->pNext; 5921 pControlsHead = pControlsHead->pNext;
5930 } 5922 }
5931 while ( pControlsHead != (GUIButton *)v1 ); 5923 while ( pControlsHead != (GUIButton *)v1 );