comparison UI/UIOptions.cpp @ 2154:9bd7522cdbbb

Render decoupling. Unsorted variables cleaning.
author Nomad
date Thu, 09 Jan 2014 14:36:48 +0200
parents 259df09dfb50
children 0a1438c16c2b
comparison
equal deleted inserted replaced
2153:d28d3c006077 2154:9bd7522cdbbb
151 void GameMenuUI_DrawVideoOptions() 151 void GameMenuUI_DrawVideoOptions()
152 { 152 {
153 GUIWindow msg_window; // [sp+8h] [bp-54h]@3 153 GUIWindow msg_window; // [sp+8h] [bp-54h]@3
154 154
155 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(optvid_base_texture_id));//draw base texture 155 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(optvid_base_texture_id));//draw base texture
156 if ( !pRenderer->bWindowMode && GammaController::IsGammaSupported() ) 156 if ( !pRenderer->bWindowMode && pRenderer->IsGammaSupported() )
157 { 157 {
158 pRenderer->DrawTextureIndexed(17 * uGammaPos + 42, 162, pIcons_LOD->GetTexture(pTextureIDs_GammaPositions[uGammaPos])); 158 pRenderer->DrawTextureIndexed(17 * uGammaPos + 42, 162, pIcons_LOD->GetTexture(pTextureIDs_GammaPositions[uGammaPos]));
159 pRenderer->DrawTextureRGB(274, 169, &stru_506E40);//review_window 159 pRenderer->DrawTextureRGB(274, 169, &stru_506E40);//review_window
160 msg_window.uFrameX = 22; 160 msg_window.uFrameX = 22;
161 msg_window.uFrameY = 190; 161 msg_window.uFrameY = 190;