diff mm7_2.cpp @ 2:89240115d392

MainMenuBtn(work)
author Ritor1
date Sun, 13 Jan 2013 01:47:51 +0600
parents 9c0607679772
children bf31c505f4d3
line wrap: on
line diff
--- a/mm7_2.cpp	Sat Jan 12 11:30:46 2013 +0600
+++ b/mm7_2.cpp	Sun Jan 13 01:47:51 2013 +0600
@@ -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 )
@@ -14031,13 +14031,12 @@
          CreditsMenu__Loop(); // процесс воспроизведения окна Создатели
          break;
         }
-        if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) //??? неизвестно что это
-          __debugbreak();
-        /*{
+        if (GetCurrentMenuID() == MENU_5 || GetCurrentMenuID() == MENU_LOAD) // Процес загрузки игры
+        {
           uGameState = 0;
-        }*/
-        else
-         __debugbreak();// пока брякпоинты
+        }
+        else //???
+        __debugbreak();
         /*{
           if (GetCurrentMenuID() != MENU_10)
             goto LABEL_49;
@@ -14066,10 +14065,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();
         /*{