Mercurial > mm7
comparison UIOptions.cpp @ 949:c0d0656aa662
Awards
author | Nomad |
---|---|
date | Wed, 01 May 2013 20:04:24 +0200 |
parents | 5a2dbb00c399 |
children | a079c489118d |
comparison
equal
deleted
inserted
replaced
948:5a2dbb00c399 | 949:c0d0656aa662 |
---|---|
116 unsigned int v59; // eax@18 | 116 unsigned int v59; // eax@18 |
117 //int v61; // [sp-14h] [bp-28h]@16 | 117 //int v61; // [sp-14h] [bp-28h]@16 |
118 const char *v62; // [sp-10h] [bp-24h]@16 | 118 const char *v62; // [sp-10h] [bp-24h]@16 |
119 unsigned int a5; // [sp+10h] [bp-4h]@1 | 119 unsigned int a5; // [sp+10h] [bp-4h]@1 |
120 | 120 |
121 v0 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0xFFu); | 121 v0 = TargetColor(0xFFu, 0xFFu, 0xFFu); |
122 a5 = v0; | 122 a5 = v0; |
123 if ( byte_4E28FC ) | 123 if ( byte_4E28FC ) |
124 { | 124 { |
125 v1 = dword_507C0C + 15; | 125 v1 = dword_507C0C + 15; |
126 dword_507C0C = v1; | 126 dword_507C0C = v1; |
132 v1 = dword_507C0C - 15; | 132 v1 = dword_507C0C - 15; |
133 dword_507C0C = v1; | 133 dword_507C0C = v1; |
134 if ( v1 == 15 ) | 134 if ( v1 == 15 ) |
135 byte_4E28FC = 1; | 135 byte_4E28FC = 1; |
136 } | 136 } |
137 v2 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(v1, 0, 0); | 137 v2 = TargetColor(v1, 0, 0); |
138 v3 = pGUIWindow_CurrentMenu; | 138 v3 = pGUIWindow_CurrentMenu; |
139 dword_507C08 = v2; | 139 dword_507C08 = v2; |
140 if ( pGUIWindow_CurrentMenu->field_40 == 2 ) | 140 if ( pGUIWindow_CurrentMenu->field_40 == 2 ) |
141 { | 141 { |
142 pPrevVirtualCidesMapping[dword_506E68] = pKeyActionMap->pPressedKeysBuffer[0]; | 142 pPrevVirtualCidesMapping[dword_506E68] = pKeyActionMap->pPressedKeysBuffer[0]; |
295 unsigned int v2; // edi@1 | 295 unsigned int v2; // edi@1 |
296 unsigned int v3; // ebx@1 | 296 unsigned int v3; // ebx@1 |
297 unsigned int result; // eax@1 | 297 unsigned int result; // eax@1 |
298 | 298 |
299 v1 = _this; | 299 v1 = _this; |
300 v2 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xE1u, 0xCDu, 0x23u); | 300 v2 = TargetColor(0xE1u, 0xCDu, 0x23u); |
301 v3 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFu, 0, 0); | 301 v3 = TargetColor(0xFu, 0, 0); |
302 result = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0xFFu); | 302 result = TargetColor(0xFFu, 0xFFu, 0xFFu); |
303 if ( dword_506E68 == v1 ) | 303 if ( dword_506E68 == v1 ) |
304 { | 304 { |
305 if ( GetTickCount() % 0x3E8 <= 0x1F4 ) | 305 if ( GetTickCount() % 0x3E8 <= 0x1F4 ) |
306 result = v3; | 306 result = v3; |
307 else | 307 else |
336 v3.uFrameY = 190; | 336 v3.uFrameY = 190; |
337 v3.uFrameWidth = 211; | 337 v3.uFrameWidth = 211; |
338 v3.uFrameHeight = 79; | 338 v3.uFrameHeight = 79; |
339 v3.uFrameZ = 232; | 339 v3.uFrameZ = 232; |
340 v3.uFrameW = 268; | 340 v3.uFrameW = 268; |
341 v1 = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0x9Bu); | 341 v1 = TargetColor(0xFFu, 0xFFu, 0x9Bu); |
342 v3.DrawTitleText(pFontSmallnum, 0, 0, v1, v0, 3u); | 342 v3.DrawTitleText(pFontSmallnum, 0, 0, v1, v0, 3u); |
343 } | 343 } |
344 | 344 |
345 if (!pRenderer->pRenderD3D) | 345 if (!pRenderer->pRenderD3D) |
346 { | 346 { |