comparison UI/UIShops.cpp @ 1729:f44b6e02e81c

pop-up window in character(paperdill) window, alchemy
author Ritor1
date Wed, 25 Sep 2013 17:29:14 +0600
parents 96d567a7d15f
children 1776d4f033a7 cecb080929c4
comparison
equal deleted inserted replaced
1728:7b6b4ce8da76 1729:f44b6e02e81c
1350 if ( !v109 ) 1350 if ( !v109 )
1351 { 1351 {
1352 dialog_window.DrawCurrentTime( pParty->field_3C.Shops_next_generation_time[ (unsigned int)window_SpeakInHouse->ptr_1C] - pParty->uTimePlayed); 1352 dialog_window.DrawCurrentTime( pParty->field_3C.Shops_next_generation_time[ (unsigned int)window_SpeakInHouse->ptr_1C] - pParty->uTimePlayed);
1353 return; 1353 return;
1354 } 1354 }
1355 v66 = pMouse->GetCursorPos(&v98); 1355 pMouse->GetCursorPos(&v98);
1356 pNumActiveItem = v66->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v96)->y]; 1356 pNumActiveItem = v98.x + pSRZBufferLineOffsets[v98.y];
1357 if ( pRenderer->pActiveZBuffer[pNumActiveItem] & 0xFFFF ) 1357 if ( pRenderer->pActiveZBuffer[pNumActiveItem] & 0xFFFF )
1358 { 1358 {
1359 v67 = (pRenderer->pActiveZBuffer[pNumActiveItem] & 0xFFFF) - 1; 1359 v67 = (pRenderer->pActiveZBuffer[pNumActiveItem] & 0xFFFF) - 1;
1360 v70 = (ItemGen *)&pParty->StandartItemsInShops[(int)window_SpeakInHouse->ptr_1C][v67]; 1360 v70 = (ItemGen *)&pParty->StandartItemsInShops[(int)window_SpeakInHouse->ptr_1C][v67];
1361 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD) 1361 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD)