Mercurial > mm7
comparison UIPopup.cpp @ 987:9e132060ada3
UIMSG_CHEST_ClickItem
author | Ritor1 |
---|---|
date | Sun, 12 May 2013 18:11:21 +0600 |
parents | 1462a5f12b65 |
children | eac5af72b614 c45d51b3f4f4 |
comparison
equal
deleted
inserted
replaced
986:b584c743cb47 | 987:9e132060ada3 |
---|---|
1733 case 25: // Skill Points | 1733 case 25: // Skill Points |
1734 if ( pGlobalTXT_LocalizationStrings[207] && pSkillPointsAttributeDescription ) | 1734 if ( pGlobalTXT_LocalizationStrings[207] && pSkillPointsAttributeDescription ) |
1735 sub_4179BC_draw_tooltip(pGlobalTXT_LocalizationStrings[207], pSkillPointsAttributeDescription); | 1735 sub_4179BC_draw_tooltip(pGlobalTXT_LocalizationStrings[207], pSkillPointsAttributeDescription); |
1736 break; | 1736 break; |
1737 case 26: | 1737 case 26: |
1738 __debugbreak; | 1738 __debugbreak(); |
1739 //_y = (Player *)(4 * pPlayers[uActiveCharacter]->classType); | 1739 //_y = (Player *)(4 * pPlayers[uActiveCharacter]->classType); |
1740 //v24 = *(char **)((char *)_y->pConditions + (int)pClassNames); | 1740 //v24 = *(char **)((char *)_y->pConditions + (int)pClassNames); |
1741 //v7 = *(char **)((char *)_y->pConditions + (int)pClassDescriptions); | 1741 //v7 = *(char **)((char *)_y->pConditions + (int)pClassDescriptions); |
1742 //if ( v24 && v7 ) | 1742 //if ( v24 && v7 ) |
1743 //sub_4179BC_draw_tooltip(v24, v7); | 1743 //sub_4179BC_draw_tooltip(v24, v7); |
1846 signed int v6; // esi@64 | 1846 signed int v6; // esi@64 |
1847 signed int v7; // esi@69 | 1847 signed int v7; // esi@69 |
1848 ItemGen *v8; // ecx@70 | 1848 ItemGen *v8; // ecx@70 |
1849 unsigned int v9; // eax@72 | 1849 unsigned int v9; // eax@72 |
1850 unsigned int v10; // eax@76 | 1850 unsigned int v10; // eax@76 |
1851 char v11; // zf@83 | 1851 //char v11; // zf@83 |
1852 GUIButton *pButton; // esi@84 | 1852 GUIButton *pButton; // esi@84 |
1853 unsigned int v13; // ecx@85 | 1853 unsigned int v13; // ecx@85 |
1854 char *pStr; // edi@85 | 1854 char *pStr; // edi@85 |
1855 //signed int pControlID; // eax@92 | 1855 //signed int pControlID; // eax@92 |
1856 int v16; // eax@95 | 1856 int v16; // eax@95 |
2077 pWindow.DrawMessageBox(0); | 2077 pWindow.DrawMessageBox(0); |
2078 break; | 2078 break; |
2079 } | 2079 } |
2080 case SCREEN_CHARACTERS: | 2080 case SCREEN_CHARACTERS: |
2081 case SCREEN_E: | 2081 case SCREEN_E: |
2082 case SCREEN_F: | 2082 case SCREEN_CHEST_INVENTORY: |
2083 { | 2083 { |
2084 if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) | 2084 if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) |
2085 { | 2085 { |
2086 identify_item(); | 2086 identify_item(); |
2087 } | 2087 } |
2094 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 101 )//2DEvent - CharacerScreenSkills | 2094 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 101 )//2DEvent - CharacerScreenSkills |
2095 { | 2095 { |
2096 CharacterUI_SkillsTab_ShowHint(); | 2096 CharacterUI_SkillsTab_ShowHint(); |
2097 } | 2097 } |
2098 else | 2098 else |
2099 { | 2099 { |
2100 v11 = pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103;//2DEvent - CharacerScreenInventory | 2100 if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory |
2101 if ( v11 ) | 2101 identify_item(); |
2102 identify_item(); | 2102 } |
2103 } | |
2104 break; | 2103 break; |
2105 } | 2104 } |
2106 case SCREEN_SPELL_BOOK: | 2105 case SCREEN_SPELL_BOOK: |
2107 { | 2106 { |
2108 if ( dword_507B00_spell_info_to_draw_in_popup ) | 2107 if ( dword_507B00_spell_info_to_draw_in_popup ) |