diff mm7_5.cpp @ 762:cf2fbac6edc9

Misc cleaning
author Nomad
date Sat, 23 Mar 2013 19:47:01 +0200
parents 9f7db515a8d7
children a464d28566a6
line wrap: on
line diff
--- a/mm7_5.cpp	Sat Mar 23 13:40:00 2013 +0200
+++ b/mm7_5.cpp	Sat Mar 23 19:47:01 2013 +0200
@@ -10618,20 +10618,12 @@
 
 
 //----- (004141CA) --------------------------------------------------------
-GUIWindow *__fastcall ModalWindow(const char *pStr, int a4)
-{
-  const char *v2; // edi@1
-  int v3; // esi@1
-  GUIWindow *result; // eax@1
-
-  v2 = pStr;
-  v3 = a4;
+void ModalWindow(const char *pStr, int a4)
+{
   pEventTimer->Pause();
   dword_506F0C[0] = pCurrentScreen;
-  result = GUIWindow::Create(0, 0, 640, 480, WINDOW_FinalWindow, v3, (int)v2);
-  ptr_507BDC = result;
+  ptr_507BDC = GUIWindow::Create(0, 0, 640, 480, WINDOW_FinalWindow, a4, (int)pStr);
   pCurrentScreen = SCREEN_PRESS_ESCAPE_MESSAGE;
-  return result;
 }
 // 4E28F8: using guessed type int pCurrentScreen;
 
@@ -10674,7 +10666,11 @@
 
 
 
-
+void LoadFonts_and_DrawCopyrightWindow()
+{
+  MainMenuUI_LoadFontsAndSomeStuff();
+  DrawCopyrightWindow();
+}
 
 //----- (00415485) --------------------------------------------------------
 void DrawCopyrightWindow()