comparison mm7_2.cpp @ 24:352b15291822

18.01.13 (PlaySound work)
author Ritor1
date Fri, 18 Jan 2013 17:30:54 +0600
parents 8e33efd39355
children 34192c501dfe
comparison
equal deleted inserted replaced
23:75d706037de4 24:352b15291822
3148 const char *result; // eax@19 3148 const char *result; // eax@19
3149 3149
3150 uDialogueType = 83; 3150 uDialogueType = 83;
3151 pDialogueWindow->Release(); 3151 pDialogueWindow->Release();
3152 pDialogueWindow = GUIWindow::Create(0, 0, 640, 350, WINDOW_MainMenu, 0, 0); 3152 pDialogueWindow = GUIWindow::Create(0, 0, 640, 350, WINDOW_MainMenu, 0, 0);
3153 pBtn_ExitCancel = pDialogueWindow->CreateButton( 3153 pBtn_ExitCancel = pDialogueWindow->CreateButton(471u, 445u, 169u, 35u, 1, 0, 0x71u, 0, 0, pGlobalTXT_LocalizationStrings[34],// "Cancel"
3154 471u, 3154 (Texture *)(uTextureID_506438 != -1 ? &pIcons_LOD->pTextures[uTextureID_506438] : 0), 0);
3155 445u,
3156 169u,
3157 35u,
3158 1,
3159 0,
3160 0x71u,
3161 0,
3162 0,
3163 pGlobalTXT_LocalizationStrings[34],// "Cancel"
3164 (Texture *)(uTextureID_506438 != -1 ? &pIcons_LOD->pTextures[uTextureID_506438] : 0),
3165 0);
3166 pDialogueWindow->CreateButton(0, 0, 0, 0, 1, 0, 0x51u, 0, 0, "", 0); 3155 pDialogueWindow->CreateButton(0, 0, 0, 0, 1, 0, 0x51u, 0, 0, "", 0);
3167 pDialogueWindow->CreateButton(480u, 160u, 140u, 30u, 1, 0, 0, 0x53u, 0, "", 0); 3156 pDialogueWindow->CreateButton(480u, 160u, 140u, 30u, 1, 0, 0, 0x53u, 0, "", 0);
3168 pDialogueWindow->_41D08F(1, 1, 0, 2); 3157 pDialogueWindow->_41D08F(1, 1, 0, 2);
3169 dword_F8B19C = -1; 3158 dword_F8B19C = -1;
3170 v0 = (int)((char *)ptr_507BC0->ptr_1C - 102); 3159 v0 = (int)((char *)ptr_507BC0->ptr_1C - 102);
3301 while ( v6 ); 3290 while ( v6 );
3302 } 3291 }
3303 pDialogueWindow->pControlsHead = 0; 3292 pDialogueWindow->pControlsHead = 0;
3304 pDialogueWindow->pControlsTail = 0; 3293 pDialogueWindow->pControlsTail = 0;
3305 pDialogueWindow->uNumControls = 0; 3294 pDialogueWindow->uNumControls = 0;
3306 pBtn_ExitCancel = pDialogueWindow->CreateButton( 3295 pBtn_ExitCancel = pDialogueWindow->CreateButton(0x1D7u, 0x1BDu, 0xA9u, 0x23u, 1, 0, 0x71u, 0, 0, pGlobalTXT_LocalizationStrings[79],
3307 0x1D7u, 3296 (Texture *)(uTextureID_506438 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_506438] : 0), 0);
3308 0x1BDu,
3309 0xA9u,
3310 0x23u,
3311 1,
3312 0,
3313 0x71u,
3314 0,
3315 0,
3316 pGlobalTXT_LocalizationStrings[79],
3317 (Texture *)(uTextureID_506438 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_506438] : 0),
3318 0);
3319 pDialogueWindow->CreateButton(0x1E0u, 0xA0u, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x55u, 0, "", 0); 3297 pDialogueWindow->CreateButton(0x1E0u, 0xA0u, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x55u, 0, "", 0);
3320 pDialogueWindow->CreateButton(0x1E0u, 0xBEu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x56u, 0, "", 0); 3298 pDialogueWindow->CreateButton(0x1E0u, 0xBEu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x56u, 0, "", 0);
3321 pDialogueWindow->CreateButton(0x1E0u, 0xDCu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x57u, 0, "", 0); 3299 pDialogueWindow->CreateButton(0x1E0u, 0xDCu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x57u, 0, "", 0);
3322 pDialogueWindow->CreateButton(0x1E0u, 0xFAu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x58u, 0, "", 0); 3300 pDialogueWindow->CreateButton(0x1E0u, 0xFAu, 0x8Cu, 0x1Eu, 1, 0, 0x88u, 0x58u, 0, "", 0);
3323 pDialogueWindow->_41D08F(4, 1, 0, 1); 3301 pDialogueWindow->_41D08F(4, 1, 0, 1);