comparison mm7_6.cpp @ 987:9e132060ada3

UIMSG_CHEST_ClickItem
author Ritor1
date Sun, 12 May 2013 18:11:21 +0600
parents d982fffb8b96
children 087a9af8e0ec
comparison
equal deleted inserted replaced
986:b584c743cb47 987:9e132060ada3
2318 if ( HIBYTE(a5) & 1 ) 2318 if ( HIBYTE(a5) & 1 )
2319 { 2319 {
2320 if ( pGUIWindow_Settings ) 2320 if ( pGUIWindow_Settings )
2321 return; 2321 return;
2322 pGUIWindow_Settings = GUIWindow::Create(0, 0, 640, 480, WINDOW_CastSpell, (int)&pCastSpellInfo[result], 0); 2322 pGUIWindow_Settings = GUIWindow::Create(0, 0, 640, 480, WINDOW_CastSpell, (int)&pCastSpellInfo[result], 0);
2323 pGUIWindow_Settings->CreateButton(0x34u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_8D, 0, 0x31u, "", 0); 2323 pGUIWindow_Settings->CreateButton(0x34u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_SPIRIT_Fate, 0, 0x31u, "", 0);
2324 pGUIWindow_Settings->CreateButton(0xA5u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_8D, 1, 0x32u, "", 0); 2324 pGUIWindow_Settings->CreateButton(0xA5u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_SPIRIT_Fate, 1, 0x32u, "", 0);
2325 pGUIWindow_Settings->CreateButton(0x118u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_8D, 2, 0x33u, "", 0); 2325 pGUIWindow_Settings->CreateButton(0x118u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_SPIRIT_Fate, 2, 0x33u, "", 0);
2326 pGUIWindow_Settings->CreateButton(0x186u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_8D, 3, 0x34u, "", 0); 2326 pGUIWindow_Settings->CreateButton(0x186u, 0x1A6u, 0x23u, 0, 2, 0, UIMSG_CastSpell_SPIRIT_Fate, 3, 0x34u, "", 0);
2327 pGUIWindow_Settings->CreateButton(8, 8, game_viewport_width, game_viewport_height, 1, 0, UIMSG_CastSpell_GreatShot, 0, 0, "", NULL); 2327 pGUIWindow_Settings->CreateButton(8, 8, game_viewport_width, game_viewport_height, 1, 0, UIMSG_CastSpell_GreatShot, 0, 0, "", NULL);
2328 sub_421B2C_PlaceInInventory_or_DropPickedItem(); 2328 sub_421B2C_PlaceInInventory_or_DropPickedItem();
2329 } 2329 }
2330 if ( HIBYTE(a5) & 2 && !pGUIWindow_Settings ) 2330 if ( HIBYTE(a5) & 2 && !pGUIWindow_Settings )
2331 { 2331 {
2338 pBtn_NPCRight = pGUIWindow_Settings->CreateButton(626, 178, 2338 pBtn_NPCRight = pGUIWindow_Settings->CreateButton(626, 178,
2339 pIcons_LOD->GetTexture(uTextureID_Btn_NPCRight)->uTextureWidth, 2339 pIcons_LOD->GetTexture(uTextureID_Btn_NPCRight)->uTextureWidth,
2340 pIcons_LOD->GetTexture(uTextureID_Btn_NPCRight)->uTextureHeight, 2340 pIcons_LOD->GetTexture(uTextureID_Btn_NPCRight)->uTextureHeight,
2341 1, 0, UIMSG_ScrollNPCPanel, 1, 0, "", 2341 1, 0, UIMSG_ScrollNPCPanel, 1, 0, "",
2342 pIcons_LOD->GetTexture(uTextureID_Btn_NPCRight), 0); 2342 pIcons_LOD->GetTexture(uTextureID_Btn_NPCRight), 0);
2343 pGUIWindow_Settings->CreateButton(0x1EBu, 149, 64, 74, 1, 0, UIMSG_8F, 4, 0x35u, "", 0); 2343 pGUIWindow_Settings->CreateButton(0x1EBu, 149, 64, 74, 1, 0, UIMSG_CastSpell_8F, 4, 0x35u, "", 0);
2344 pGUIWindow_Settings->CreateButton(0x231u, 149, 64, 74, 1, 0, UIMSG_8F, 5, 0x36u, "", 0); 2344 pGUIWindow_Settings->CreateButton(0x231u, 149, 64, 74, 1, 0, UIMSG_CastSpell_8F, 5, 0x36u, "", 0);
2345 } 2345 }
2346 } 2346 }
2347 } 2347 }
2348 2348
2349 //----- (00427D48) -------------------------------------------------------- 2349 //----- (00427D48) --------------------------------------------------------