comparison mm7_3.cpp @ 520:35f28d4c0ff9

GlobalEventInfo changed to LevelDecoration* activeLevelDecoration
author Gloval
date Fri, 01 Mar 2013 23:43:21 +0400
parents cb0ad52d6a26
children 663c4f618f56
comparison
equal deleted inserted replaced
519:8f70e52646eb 520:35f28d4c0ff9
14063 pAudioPlayer->StopChannels(-1, -1); 14063 pAudioPlayer->StopChannels(-1, -1);
14064 pMiscTimer->Pause(); 14064 pMiscTimer->Pause();
14065 pEventTimer->Pause(); 14065 pEventTimer->Pause();
14066 dword_5C3418 = v4; 14066 dword_5C3418 = v4;
14067 dword_5C341C = v3; 14067 dword_5C341C = v3;
14068 _591094_decoration = (LevelDecoration *)GlobalEventInfo; 14068 _591094_decoration = activeLevelDecoration;
14069 pGUIWindow2 = GUIWindow::Create(0, 0, 640u, 480u, (enum WindowType)19, a4, 0); 14069 pGUIWindow2 = GUIWindow::Create(0, 0, 640u, 480u, (enum WindowType)19, a4, 0);
14070 pGUIWindow2->CreateButton(61u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 1u, 0x31u, "", 0); 14070 pGUIWindow2->CreateButton(61u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 1u, 0x31u, "", 0);
14071 pGUIWindow2->CreateButton(177u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 2u, 0x32u, "", 0); 14071 pGUIWindow2->CreateButton(177u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 2u, 0x32u, "", 0);
14072 pGUIWindow2->CreateButton(292u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 3u, 0x33u, "", 0); 14072 pGUIWindow2->CreateButton(292u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 3u, 0x33u, "", 0);
14073 pGUIWindow2->CreateButton(407u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 4u, 0x34u, "", 0); 14073 pGUIWindow2->CreateButton(407u, 424u, 0x1Fu, 0x28u, 2, 94, 0x6Eu, 4u, 0x34u, "", 0);
14077 //----- (004452BB) -------------------------------------------------------- 14077 //----- (004452BB) --------------------------------------------------------
14078 void __cdecl sub_4452BB() 14078 void __cdecl sub_4452BB()
14079 { 14079 {
14080 pGUIWindow2->Release(); 14080 pGUIWindow2->Release();
14081 pGUIWindow2 = 0; 14081 pGUIWindow2 = 0;
14082 GlobalEventInfo = (int)_591094_decoration; 14082 activeLevelDecoration = _591094_decoration;
14083 start_event_seq_number = dword_5C341C; 14083 start_event_seq_number = dword_5C341C;
14084 EventProcessor(dword_5C3418, 0, 1); 14084 EventProcessor(dword_5C3418, 0, 1);
14085 start_event_seq_number = 0; 14085 start_event_seq_number = 0;
14086 GlobalEventInfo = 0; 14086 activeLevelDecoration = NULL;
14087 pEventTimer->Resume(); 14087 pEventTimer->Resume();
14088 } 14088 }
14089 14089
14090 14090
14091 //----- (00445308) -------------------------------------------------------- 14091 //----- (00445308) --------------------------------------------------------