diff GUIWindow.cpp @ 1295:86a83e12d795

moving files
author Ritor1
date Mon, 17 Jun 2013 17:34:01 +0600
parents 2929c4406d2c
children 5450af4f57ef
line wrap: on
line diff
--- a/GUIWindow.cpp	Mon Jun 17 09:09:30 2013 +0600
+++ b/GUIWindow.cpp	Mon Jun 17 17:34:01 2013 +0600
@@ -1860,4 +1860,27 @@
     }
   }
   return pWindow;
+}
+//----- (004B3EF0) --------------------------------------------------------
+void DrawJoinGuildWindow( int pEventCode )
+{
+  uDialogueType = 81;//enum JoinGuildDialog
+  current_npc_text = (char *)pNPCTopics[pEventCode + 99].pText;
+  ContractSelectText(pEventCode);
+  pDialogueWindow->Release();
+  pDialogueWindow = GUIWindow::Create(0, 0, 640, 0x15E, WINDOW_MainMenu, pEventCode, 0);
+  pBtn_ExitCancel = pDialogueWindow->CreateButton(471, 445, 169, 35, 1, 0, UIMSG_Escape,                    0, 0, pGlobalTXT_LocalizationStrings[34], pIcons_LOD->GetTexture(uExitCancelTextureId), 0); // Cancel
+                    pDialogueWindow->CreateButton(  0,   0,   0,  0, 1, 0, UIMSG_BuyInShop_Identify_Repair, 0, 0, "", 0);
+                    pDialogueWindow->CreateButton(480, 160, 140, 30, 1, 0, UIMSG_ClickNPCTopic,             0x52u, 0, pGlobalTXT_LocalizationStrings[122], 0);
+  pDialogueWindow->_41D08F_set_keyboard_control_group(1, 1, 0, 2);
+  dialog_menu_id = HOUSE_DIALOGUE_OTHER;
+}
+//----- (0044603D) --------------------------------------------------------
+void __cdecl DialogueEnding()
+{
+  sDialogue_SpeakingActorNPC_ID = 0;
+  pDialogueWindow->Release();
+  pDialogueWindow = 0;
+  pMiscTimer->Resume();
+  pEventTimer->Resume();
 }
\ No newline at end of file