Mercurial > mm7
comparison UIOptions.cpp @ 1057:37498d2cceed
Слияние
author | Ritor1 |
---|---|
date | Thu, 23 May 2013 21:37:22 +0600 |
parents | 39f42990698f |
children | 8c02e6f74b29 |
comparison
equal
deleted
inserted
replaced
1056:86a7e8f9ca33 | 1057:37498d2cceed |
---|---|
87 void GameMenuUI_DrawKeyBindings() | 87 void GameMenuUI_DrawKeyBindings() |
88 { | 88 { |
89 signed int v4; // ecx@7 | 89 signed int v4; // ecx@7 |
90 signed int v5; // eax@8 | 90 signed int v5; // eax@8 |
91 | 91 |
92 if ( pGUIWindow_CurrentMenu->field_40 == 2 ) | 92 if ( pGUIWindow_CurrentMenu->receives_keyboard_input_2 == WINDOW_INPUT_CONFIRMED) |
93 { | 93 { |
94 pPrevVirtualCidesMapping[uGameMenuUI_CurentlySelectedKeyIdx] = pKeyActionMap->pPressedKeysBuffer[0]; | 94 pPrevVirtualCidesMapping[uGameMenuUI_CurentlySelectedKeyIdx] = pKeyActionMap->pPressedKeysBuffer[0]; |
95 memset(GameMenuUI_InvaligKeyBindingsFlags, 0, sizeof(GameMenuUI_InvaligKeyBindingsFlags)); | 95 memset(GameMenuUI_InvaligKeyBindingsFlags, 0, sizeof(GameMenuUI_InvaligKeyBindingsFlags)); |
96 v4 = 0; | 96 v4 = 0; |
97 do | 97 do |
109 while ( v5 < 28 ); | 109 while ( v5 < 28 ); |
110 ++v4; | 110 ++v4; |
111 } | 111 } |
112 while ( v4 < 28 ); | 112 while ( v4 < 28 ); |
113 uGameMenuUI_CurentlySelectedKeyIdx = -1; | 113 uGameMenuUI_CurentlySelectedKeyIdx = -1; |
114 pGUIWindow_CurrentMenu->field_40 = 0; | 114 pGUIWindow_CurrentMenu->receives_keyboard_input_2 = WINDOW_INPUT_NONE; |
115 } | 115 } |
116 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(uTextureID_Optkb[0])); | 116 pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(uTextureID_Optkb[0])); |
117 if ( KeyboardPageNum == 1 ) | 117 if ( KeyboardPageNum == 1 ) |
118 { | 118 { |
119 pRenderer->DrawTextureIndexed(0x13, 0x12E, pIcons_LOD->GetTexture(uTextureID_Optkb[3])); | 119 pRenderer->DrawTextureIndexed(0x13, 0x12E, pIcons_LOD->GetTexture(uTextureID_Optkb[3])); |