comparison mm7_2.cpp @ 2:89240115d392

MainMenuBtn(work)
author Ritor1
date Sun, 13 Jan 2013 01:47:51 +0600
parents 9c0607679772
children bf31c505f4d3
comparison
equal deleted inserted replaced
1:98b091cbabf7 2:89240115d392
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;
14029 AIL_redbook_stop(pAudioPlayer->hAILRedbook);// отключить звук 14029 AIL_redbook_stop(pAudioPlayer->hAILRedbook);// отключить звук
14030 extern MENU_STATE __cdecl CreditsMenu__Loop(); 14030 extern MENU_STATE __cdecl CreditsMenu__Loop();
14031 CreditsMenu__Loop(); // процесс воспроизведения окна Создатели 14031 CreditsMenu__Loop(); // процесс воспроизведения окна Создатели
14032 break; 14032 break;
14033 } 14033 }
14034 if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //??? неизвестно что это 14034 if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) // Процес загрузки игры
14035 __debugbreak(); 14035 {
14036 /*{
14037 uGameState = 0; 14036 uGameState = 0;
14038 }*/ 14037 }
14039 else 14038 else //???
14040 __debugbreak();// пока брякпоинты 14039 __debugbreak();
14041 /*{ 14040 /*{
14042 if (GetCurrentMenuID() != MENU_10) 14041 if (GetCurrentMenuID() != MENU_10)
14043 goto LABEL_49; 14042 goto LABEL_49;
14044 pMouse->Activate(0); 14043 pMouse->Activate(0);
14045 if (pAsyncMouse) 14044 if (pAsyncMouse)
14064 pMouse->Activate(1); 14063 pMouse->Activate(1);
14065 if (pAsyncMouse) 14064 if (pAsyncMouse)
14066 pAsyncMouse->Resume(); 14065 pAsyncMouse->Resume();
14067 if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) && pAsyncKeyboard ) 14066 if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) && pAsyncKeyboard )
14068 pAsyncKeyboard->Resume(); 14067 pAsyncKeyboard->Resume();
14069 } 14068 }*/
14070 //LABEL_48: 14069 //LABEL_48:
14071 // pGame->Loop(); //game 14070 pGame->Loop(); //game
14072 LABEL_49:*/ 14071 LABEL_49:
14073 if ( uGameState == 3 ) 14072 if ( uGameState == 3 )
14074 __debugbreak(); 14073 __debugbreak();
14075 /*{ 14074 /*{
14076 v12 = 5; 14075 v12 = 5;
14077 SetCurrentMenuID((MENU_STATE)v12); 14076 SetCurrentMenuID((MENU_STATE)v12);