Mercurial > mm7
comparison GUIWindow.cpp @ 1295:86a83e12d795
moving files
author | Ritor1 |
---|---|
date | Mon, 17 Jun 2013 17:34:01 +0600 |
parents | 2929c4406d2c |
children | 5450af4f57ef |
comparison
equal
deleted
inserted
replaced
1294:6bbd50bda571 | 1295:86a83e12d795 |
---|---|
1859 pIcons_LOD->uNumPrevLoadedFiles = pIcons_LOD->uNumLoadedFiles; | 1859 pIcons_LOD->uNumPrevLoadedFiles = pIcons_LOD->uNumLoadedFiles; |
1860 } | 1860 } |
1861 } | 1861 } |
1862 return pWindow; | 1862 return pWindow; |
1863 } | 1863 } |
1864 //----- (004B3EF0) -------------------------------------------------------- | |
1865 void DrawJoinGuildWindow( int pEventCode ) | |
1866 { | |
1867 uDialogueType = 81;//enum JoinGuildDialog | |
1868 current_npc_text = (char *)pNPCTopics[pEventCode + 99].pText; | |
1869 ContractSelectText(pEventCode); | |
1870 pDialogueWindow->Release(); | |
1871 pDialogueWindow = GUIWindow::Create(0, 0, 640, 0x15E, WINDOW_MainMenu, pEventCode, 0); | |
1872 pBtn_ExitCancel = pDialogueWindow->CreateButton(471, 445, 169, 35, 1, 0, UIMSG_Escape, 0, 0, pGlobalTXT_LocalizationStrings[34], pIcons_LOD->GetTexture(uExitCancelTextureId), 0); // Cancel | |
1873 pDialogueWindow->CreateButton( 0, 0, 0, 0, 1, 0, UIMSG_BuyInShop_Identify_Repair, 0, 0, "", 0); | |
1874 pDialogueWindow->CreateButton(480, 160, 140, 30, 1, 0, UIMSG_ClickNPCTopic, 0x52u, 0, pGlobalTXT_LocalizationStrings[122], 0); | |
1875 pDialogueWindow->_41D08F_set_keyboard_control_group(1, 1, 0, 2); | |
1876 dialog_menu_id = HOUSE_DIALOGUE_OTHER; | |
1877 } | |
1878 //----- (0044603D) -------------------------------------------------------- | |
1879 void __cdecl DialogueEnding() | |
1880 { | |
1881 sDialogue_SpeakingActorNPC_ID = 0; | |
1882 pDialogueWindow->Release(); | |
1883 pDialogueWindow = 0; | |
1884 pMiscTimer->Resume(); | |
1885 pEventTimer->Resume(); | |
1886 } |