comparison GUIWindow.cpp @ 1035:306ec23b37df

004C1EE5 & other stuff
author Nomad
date Wed, 22 May 2013 14:12:51 +0200
parents 9ac94d00012e
children 39f42990698f
comparison
equal deleted inserted replaced
1034:aa848c90181f 1035:306ec23b37df
97 if ( bFirstCall ) 97 if ( bFirstCall )
98 { 98 {
99 for ( i = uNumVisibleWindows; i >= 0; --i ) 99 for ( i = uNumVisibleWindows; i >= 0; --i )
100 { 100 {
101 result = 84 * pVisibleWindowsIdxs[i]; 101 result = 84 * pVisibleWindowsIdxs[i];
102 //for ( j = *(GUIButton **)((char *)pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_ + result); j; j = j->pNext )
103 for ( j = pWindowList[pVisibleWindowsIdxs[i] - 1].pControlsHead; j; j = j->pNext ) 102 for ( j = pWindowList[pVisibleWindowsIdxs[i] - 1].pControlsHead; j; j = j->pNext )
104 j->field_28 = 0; 103 j->field_28 = 0;
105 } 104 }
106 } 105 }
107 for ( k = uNumVisibleWindows; k >= 0; --k ) 106 for ( k = uNumVisibleWindows; k >= 0; --k )
108 { 107 {
109 result = 84 * pVisibleWindowsIdxs[k]; 108 result = 84 * pVisibleWindowsIdxs[k];
110 //for ( l = *(GUIButton **)((char *)pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_ + result); l; l = l->pNext )
111 for ( l = pWindowList[pVisibleWindowsIdxs[k] - 1].pControlsHead; l; l = l->pNext ) 109 for ( l = pWindowList[pVisibleWindowsIdxs[k] - 1].pControlsHead; l; l = l->pNext )
112 { 110 {
113 LOBYTE(result) = v10; 111 LOBYTE(result) = v10;
114 if ( l->uHotkey == v10 ) 112 if ( l->uHotkey == v10 )
115 { 113 {