Mercurial > mm7
comparison UI/UIPopup.cpp @ 1575:43d3536a20f7
OnInventoryItemRightClick
author | Nomad |
---|---|
date | Mon, 09 Sep 2013 20:09:01 +0200 |
parents | 9f8b3e904e14 |
children | 96a1f5e0b6cd |
comparison
equal
deleted
inserted
replaced
1574:2d9c8f609a3c | 1575:43d3536a20f7 |
---|---|
1927 | 1927 |
1928 switch(pCurrentScreen) | 1928 switch(pCurrentScreen) |
1929 { | 1929 { |
1930 case SCREEN_CASTING: | 1930 case SCREEN_CASTING: |
1931 { | 1931 { |
1932 identify_item(); | 1932 OnInventoryItemRightClick(); |
1933 break; | 1933 break; |
1934 } | 1934 } |
1935 | 1935 |
1936 case SCREEN_CHEST: | 1936 case SCREEN_CHEST: |
1937 { | 1937 { |
2095 case SCREEN_E: | 2095 case SCREEN_E: |
2096 case SCREEN_CHEST_INVENTORY: | 2096 case SCREEN_CHEST_INVENTORY: |
2097 { | 2097 { |
2098 if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) | 2098 if ( (signed int)pX > 467 && pCurrentScreen != SCREEN_E ) |
2099 { | 2099 { |
2100 identify_item(); | 2100 OnInventoryItemRightClick(); |
2101 } | 2101 } |
2102 else if ( (signed int)pY >= 345 ) | 2102 else if ( (signed int)pY >= 345 ) |
2103 break; | 2103 break; |
2104 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 100 )//2DEvent - CharacerScreenStats | 2104 else if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 100 )//2DEvent - CharacerScreenStats |
2105 { | 2105 { |
2110 CharacterUI_SkillsTab_ShowHint(); | 2110 CharacterUI_SkillsTab_ShowHint(); |
2111 } | 2111 } |
2112 else | 2112 else |
2113 { | 2113 { |
2114 if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory | 2114 if ( pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] == 103 )//2DEvent - CharacerScreenInventory |
2115 identify_item(); | 2115 OnInventoryItemRightClick(); |
2116 } | 2116 } |
2117 break; | 2117 break; |
2118 } | 2118 } |
2119 case SCREEN_SPELL_BOOK: | 2119 case SCREEN_SPELL_BOOK: |
2120 { | 2120 { |