Mercurial > might-and-magic-trilogy
comparison mm7_2.cpp @ 208:af624eaf2fc5 tip
14.01.13
author | Ritor1 |
---|---|
date | Mon, 14 Jan 2013 10:39:01 +0600 |
parents | 8e3fea954768 |
children |
comparison
equal
deleted
inserted
replaced
207:8e3fea954768 | 208:af624eaf2fc5 |
---|---|
3850 if ( v3 > 21 ) | 3850 if ( v3 > 21 ) |
3851 { | 3851 { |
3852 if ( v3 == 22 ) | 3852 if ( v3 == 22 ) |
3853 { | 3853 { |
3854 if ( dword_F8B19C >= 7 && dword_F8B19C <= 8 ) | 3854 if ( dword_F8B19C >= 7 && dword_F8B19C <= 8 ) |
3855 pKeyActionMap->_459E5A(1, 10, v8); | 3855 pKeyActionMap->EnterText(1, 10, v8); |
3856 return; | 3856 return; |
3857 } | 3857 } |
3858 if ( v3 != 23 && v3 != 30 ) | 3858 if ( v3 != 23 && v3 != 30 ) |
3859 return; | 3859 return; |
3860 } | 3860 } |
4104 } | 4104 } |
4105 goto LABEL_196; | 4105 goto LABEL_196; |
4106 } | 4106 } |
4107 if ( v55 == 100 ) | 4107 if ( v55 == 100 ) |
4108 { | 4108 { |
4109 pKeyActionMap->_459E5A(1, 10, v8); | 4109 pKeyActionMap->EnterText(1, 10, v8); |
4110 goto LABEL_196; | 4110 goto LABEL_196; |
4111 } | 4111 } |
4112 } | 4112 } |
4113 } | 4113 } |
4114 } | 4114 } |
11570 if ( a4 ) | 11570 if ( a4 ) |
11571 pSaveFiles = 40; | 11571 pSaveFiles = 40; |
11572 else | 11572 else |
11573 pSaveFiles = uNumSavegameFiles; | 11573 pSaveFiles = uNumSavegameFiles; |
11574 a4 = 199; | 11574 a4 = 199; |
11575 pFilesID = dword_6A0C9C; | 11575 pFilesID = pSaveListPosition; |
11576 pSlotName = (const char *)(&pSavegameHeader[dword_6A0C9C]);//draw name for save slot | 11576 pSlotName = (const char *)(&pSavegameHeader[pSaveListPosition]);//draw name for save slot |
11577 do | 11577 do |
11578 { | 11578 { |
11579 if ( pFilesID >= (signed int)pSaveFiles ) | 11579 if ( pFilesID >= (signed int)pSaveFiles ) |
11580 break; | 11580 break; |
11581 short clr; | 11581 short clr; |
14031 extern MENU_STATE __cdecl CreditsMenu__Loop(); | 14031 extern MENU_STATE __cdecl CreditsMenu__Loop(); |
14032 CreditsMenu__Loop(); // процесс воспроизведения окна Создатели | 14032 CreditsMenu__Loop(); // процесс воспроизведения окна Создатели |
14033 break; | 14033 break; |
14034 } | 14034 } |
14035 if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //??? неизвестно что это | 14035 if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //??? неизвестно что это |
14036 __debugbreak(); | 14036 { |
14037 /*{ | |
14038 uGameState = 0; | 14037 uGameState = 0; |
14039 }*/ | 14038 } |
14040 else | 14039 else |
14041 __debugbreak(); | 14040 __debugbreak(); |
14042 /*{ | 14041 /*{ |
14043 if (GetCurrentMenuID() != MENU_10) | 14042 if (GetCurrentMenuID() != MENU_10) |
14044 goto LABEL_49; | 14043 goto LABEL_49; |
14065 pMouse->Activate(1); | 14064 pMouse->Activate(1); |
14066 if (pAsyncMouse) | 14065 if (pAsyncMouse) |
14067 pAsyncMouse->Resume(); | 14066 pAsyncMouse->Resume(); |
14068 if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) && pAsyncKeyboard ) | 14067 if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) && pAsyncKeyboard ) |
14069 pAsyncKeyboard->Resume(); | 14068 pAsyncKeyboard->Resume(); |
14070 } | 14069 }*/ |
14071 //LABEL_48: | 14070 //LABEL_48: |
14072 // pGame->Loop(); //game | 14071 pGame->Loop(); //game |
14073 LABEL_49:*/ | 14072 LABEL_49: |
14074 if ( uGameState == 3 ) | 14073 if ( uGameState == 3 ) |
14075 __debugbreak(); | 14074 __debugbreak(); |
14076 /*{ | 14075 /*{ |
14077 v12 = 5; | 14076 v12 = 5; |
14078 SetCurrentMenuID((MENU_STATE)v12); | 14077 SetCurrentMenuID((MENU_STATE)v12); |