Mercurial > might-and-magic-trilogy
diff mm7_2.cpp @ 208:af624eaf2fc5 tip
14.01.13
author | Ritor1 |
---|---|
date | Mon, 14 Jan 2013 10:39:01 +0600 |
parents | 8e3fea954768 |
children |
line wrap: on
line diff
--- a/mm7_2.cpp Thu Jan 10 18:03:33 2013 +0600 +++ b/mm7_2.cpp Mon Jan 14 10:39:01 2013 +0600 @@ -3852,7 +3852,7 @@ if ( v3 == 22 ) { if ( dword_F8B19C >= 7 && dword_F8B19C <= 8 ) - pKeyActionMap->_459E5A(1, 10, v8); + pKeyActionMap->EnterText(1, 10, v8); return; } if ( v3 != 23 && v3 != 30 ) @@ -4106,7 +4106,7 @@ } if ( v55 == 100 ) { - pKeyActionMap->_459E5A(1, 10, v8); + pKeyActionMap->EnterText(1, 10, v8); goto LABEL_196; } } @@ -11572,8 +11572,8 @@ else pSaveFiles = uNumSavegameFiles; a4 = 199; - pFilesID = dword_6A0C9C; - pSlotName = (const char *)(&pSavegameHeader[dword_6A0C9C]);//draw name for save slot + pFilesID = pSaveListPosition; + pSlotName = (const char *)(&pSavegameHeader[pSaveListPosition]);//draw name for save slot do { if ( pFilesID >= (signed int)pSaveFiles ) @@ -14033,10 +14033,9 @@ break; } if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //??? неизвестно что это - __debugbreak(); - /*{ + { uGameState = 0; - }*/ + } else __debugbreak(); /*{ @@ -14067,10 +14066,10 @@ pAsyncMouse->Resume(); if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) && pAsyncKeyboard ) pAsyncKeyboard->Resume(); - } + }*/ //LABEL_48: -// pGame->Loop(); //game -LABEL_49:*/ + pGame->Loop(); //game +LABEL_49: if ( uGameState == 3 ) __debugbreak(); /*{