comparison UI/UIPopup.cpp @ 1723:29924bbb2a4e

m
author Ritor1
date Wed, 25 Sep 2013 11:13:08 +0600
parents 1c072d19e397
children 8de9b24ace86
comparison
equal deleted inserted replaced
1722:e1c451f4d5ba 1723:29924bbb2a4e
1494 pAudioPlayer->StopChannels(-1, -1); 1494 pAudioPlayer->StopChannels(-1, -1);
1495 pWindow.DrawMessageBox(0); 1495 pWindow.DrawMessageBox(0);
1496 break; 1496 break;
1497 } 1497 }
1498 case SCREEN_CHARACTERS: 1498 case SCREEN_CHARACTERS:
1499 case SCREEN_E: 1499 case SCREEN_E:
1500 case SCREEN_CHEST_INVENTORY: 1500 case SCREEN_CHEST_INVENTORY:
1501 { 1501 {
1502 if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) 1502 if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E )
1503 { 1503 OnInventoryItemRightClick();
1504 OnInventoryItemRightClick(); 1504 else if ( (signed int)pY >= 345 )
1505 } 1505 break;
1506 else if ( (signed int)pY >= 345 ) 1506 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 100 )//2DEvent - CharacerScreenStats
1507 break; 1507 CharacterUI_StatsTab_ShowHint();
1508 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 100 )//2DEvent - CharacerScreenStats 1508 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 101 )//2DEvent - CharacerScreenSkills
1509 { 1509 CharacterUI_SkillsTab_ShowHint();
1510 CharacterUI_StatsTab_ShowHint(); 1510 else
1511 } 1511 {
1512 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 101 )//2DEvent - CharacerScreenSkills 1512 if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory
1513 { 1513 OnInventoryItemRightClick();
1514 CharacterUI_SkillsTab_ShowHint(); 1514 }
1515 } 1515 break;
1516 else 1516 }
1517 { 1517 case SCREEN_SPELL_BOOK:
1518 if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory
1519 OnInventoryItemRightClick();
1520 }
1521 break;
1522 }
1523 case SCREEN_SPELL_BOOK:
1524 { 1518 {
1525 if ( dword_507B00_spell_info_to_draw_in_popup ) 1519 if ( dword_507B00_spell_info_to_draw_in_popup )
1526 DrawSpellDescriptionPopup(dword_507B00_spell_info_to_draw_in_popup - 1); 1520 DrawSpellDescriptionPopup(dword_507B00_spell_info_to_draw_in_popup - 1);
1527 break; 1521 break;
1528 } 1522 }