Mercurial > mm7
diff UI/UISaveLoad.cpp @ 1713:e013b92030e3
UIRest cleared
author | Ritor1 |
---|---|
date | Tue, 24 Sep 2013 23:40:33 +0600 |
parents | afc1c3514dd5 |
children | 873ac151c38d |
line wrap: on
line diff
--- a/UI/UISaveLoad.cpp Tue Sep 24 23:18:57 2013 +0600 +++ b/UI/UISaveLoad.cpp Tue Sep 24 23:40:33 2013 +0600 @@ -21,7 +21,7 @@ //----- (004601B7) -------------------------------------------------------- static void UI_DrawSaveLoad(bool save) { - unsigned __int16 v1; // bx@1 + //unsigned __int16 v1; // bx@1 unsigned int v2; // edi@4 unsigned int v3; // eax@4 unsigned int v4; // eax@8 @@ -38,32 +38,23 @@ __int64 pOurHour; // qax@10 int v16; // edi@10 signed int pHour; // ebx@22 - //const char *v18; // ST14_4@32 int v19; // eax@32 const char *v20; // ST18_4@32 int v21; // eax@32 - //const char *v22; // ST14_4@32 int v23; // eax@32 const char *pSlotName; // edi@36 int v25; // eax@43 GUIWindow pWindow; // [sp+Ch] [bp-78h]@8 - /*unsigned int Dst; // [sp+Ch] [bp-78h]@8 - unsigned int v27; // [sp+10h] [bp-74h]@8 - int v28; // [sp+14h] [bp-70h]@8 - int v29; // [sp+18h] [bp-6Ch]@8 - unsigned int v30; // [sp+1Ch] [bp-68h]@8 - unsigned int v31; // [sp+20h] [bp-64h]@8*/ int pMinutes; // [sp+60h] [bp-24h]@10 int pMonthNum; // [sp+68h] [bp-1Ch]@10 unsigned int pSaveFiles; // [sp+70h] [bp-14h]@10 __int64 pAMPM2; // [sp+74h] [bp-10h]@10 int pYear; // [sp+7Ch] [bp-8h]@10 - //int a4; // [sp+80h] [bp-4h]@1 int pFilesID; - v1 = 255; - TargetColor(0xFF, 0xFF, 0xFF); - TargetColor(0xFF, 0xFF, 0x9B); + //v1 = 255; + //TargetColor(0xFF, 0xFF, 0xFF); + //TargetColor(0xFF, 0xFF, 0x9B); pRenderer->BeginScene(); if ( GetCurrentMenuID() != MENU_SAVELOAD && GetCurrentMenuID() != MENU_LoadingProcInMainMenu ) { @@ -81,7 +72,6 @@ pRenderer->DrawTextureIndexed(241, 302, pIcons_LOD->GetTexture(v3)); pRenderer->DrawTextureIndexed( 18, 139, pIcons_LOD->GetTexture(v2)); pRenderer->DrawTextureIndexed(351, 302, pIcons_LOD->GetTexture(uTextureID_x_u)); - v1 = 255; } if ( pSavegameUsedSlots[uLoadGameUI_SelectedSlot] ) { @@ -149,7 +139,7 @@ //sprintf(pTmpBuf.data(), "%s %d:%02d%s\n%d %s %d", _d, v17, (int)32, _a, 3, _m, pFilesID); sprintfex(pTmpBuf.data(), "%s %d:%02d%s\n%d %s %d", day, pHour, pMinutes, ampm, 7 * v16 + HIDWORD(pOurHour) % 7 + 1, month, pYear); pWindow.DrawTitleText(pFontSmallnum, 0, 0, 0, pTmpBuf.data(), 3u); - v1 = 255; + //v1 = 255; } if ( pGUIWindow_CurrentMenu->receives_keyboard_input_2 == WINDOW_INPUT_CONFIRMED) { @@ -188,7 +178,7 @@ if ( pFilesID >= (signed int)pSaveFiles ) break; short clr; - HIDWORD(pAMPM2) = clr = (pFilesID == uLoadGameUI_SelectedSlot ? TargetColor(v1, v1, 0x64) : 0); + HIDWORD(pAMPM2) = clr = (pFilesID == uLoadGameUI_SelectedSlot ? TargetColor(0xFF, 0xFF, 0x64) : 0); if ( pGUIWindow_CurrentMenu->receives_keyboard_input_2 != WINDOW_INPUT_IN_PROGRESS || pFilesID != uLoadGameUI_SelectedSlot ) { pGUIWindow_CurrentMenu->DrawTextInRect(pFontSmallnum, 0x1B, a4, clr, pSlotName, 185, 0);