Mercurial > mm7
comparison mm7_5.cpp @ 765:777c42590ffc
Merge
author | Gloval |
---|---|
date | Sat, 23 Mar 2013 21:42:01 +0400 |
parents | cf2fbac6edc9 |
children | a464d28566a6 |
comparison
equal
deleted
inserted
replaced
764:90bcfb56c8f9 | 765:777c42590ffc |
---|---|
10616 | 10616 |
10617 | 10617 |
10618 | 10618 |
10619 | 10619 |
10620 //----- (004141CA) -------------------------------------------------------- | 10620 //----- (004141CA) -------------------------------------------------------- |
10621 GUIWindow *__fastcall ModalWindow(const char *pStr, int a4) | 10621 void ModalWindow(const char *pStr, int a4) |
10622 { | 10622 { |
10623 const char *v2; // edi@1 | |
10624 int v3; // esi@1 | |
10625 GUIWindow *result; // eax@1 | |
10626 | |
10627 v2 = pStr; | |
10628 v3 = a4; | |
10629 pEventTimer->Pause(); | 10623 pEventTimer->Pause(); |
10630 dword_506F0C[0] = pCurrentScreen; | 10624 dword_506F0C[0] = pCurrentScreen; |
10631 result = GUIWindow::Create(0, 0, 640, 480, WINDOW_FinalWindow, v3, (int)v2); | 10625 ptr_507BDC = GUIWindow::Create(0, 0, 640, 480, WINDOW_FinalWindow, a4, (int)pStr); |
10632 ptr_507BDC = result; | |
10633 pCurrentScreen = SCREEN_PRESS_ESCAPE_MESSAGE; | 10626 pCurrentScreen = SCREEN_PRESS_ESCAPE_MESSAGE; |
10634 return result; | |
10635 } | 10627 } |
10636 // 4E28F8: using guessed type int pCurrentScreen; | 10628 // 4E28F8: using guessed type int pCurrentScreen; |
10637 | 10629 |
10638 //----- (0041420D) -------------------------------------------------------- | 10630 //----- (0041420D) -------------------------------------------------------- |
10639 void __cdecl sub_41420D_press_esc() | 10631 void __cdecl sub_41420D_press_esc() |
10672 } | 10664 } |
10673 // 4E28F8: using guessed type int pCurrentScreen; | 10665 // 4E28F8: using guessed type int pCurrentScreen; |
10674 | 10666 |
10675 | 10667 |
10676 | 10668 |
10677 | 10669 void LoadFonts_and_DrawCopyrightWindow() |
10670 { | |
10671 MainMenuUI_LoadFontsAndSomeStuff(); | |
10672 DrawCopyrightWindow(); | |
10673 } | |
10678 | 10674 |
10679 //----- (00415485) -------------------------------------------------------- | 10675 //----- (00415485) -------------------------------------------------------- |
10680 void DrawCopyrightWindow() | 10676 void DrawCopyrightWindow() |
10681 { | 10677 { |
10682 GUIWindow Dst; // [sp+8h] [bp-54h]@1 | 10678 GUIWindow Dst; // [sp+8h] [bp-54h]@1 |