comparison Events.cpp @ 481:5b6e2021c6fe

HOUSE_ID
author Ritor1
date Tue, 26 Feb 2013 17:24:53 +0600
parents d4ea191229ff
children 4bd56919f075
comparison
equal deleted inserted replaced
480:d4ea191229ff 481:5b6e2021c6fe
24 #include "stru159.h" 24 #include "stru159.h"
25 #include "Events.h" 25 #include "Events.h"
26 #include "Events2D.h" 26 #include "Events2D.h"
27 #include "Weather.h" 27 #include "Weather.h"
28 #include "Party.h" 28 #include "Party.h"
29 #include "MM7.h"
29 30
30 31
31 32
32 EventIndex pSomeOtherEVT_Events[4400]; 33 EventIndex pSomeOtherEVT_Events[4400];
33 signed int uSomeOtherEVT_NumEvents; 34 signed int uSomeOtherEVT_NumEvents;
605 if ( v30 == 78 ) 606 if ( v30 == 78 )
606 { 607 {
607 sub_4BD8B5(); 608 sub_4BD8B5();
608 window_SpeakInHouse->Release(); 609 window_SpeakInHouse->Release();
609 pParty->uFlags &= 0xFFFFFFFDu; 610 pParty->uFlags &= 0xFFFFFFFDu;
610 if ( EnterHouse((enum HOUSE_ID)170) ) 611 if ( EnterHouse(HOUSE_DARK_GUILD_PIT) )
611 { 612 {
612 pAudioPlayer->StopChannels(-1, -1); 613 pAudioPlayer->StopChannels(-1, -1);
613 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 170, 0); 614 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 170, 0);
614 window_SpeakInHouse->CreateButton(0x3Du, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 1u, 0x31u, "", 0); 615 window_SpeakInHouse->CreateButton(0x3Du, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 1u, 0x31u, "", 0);
615 window_SpeakInHouse->CreateButton(0xB1u, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 2u, 0x32u, "", 0); 616 window_SpeakInHouse->CreateButton(0xB1u, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 2u, 0x32u, "", 0);
720 sub_4BD8B5(); 721 sub_4BD8B5();
721 pVideoPlayer->Unload(); 722 pVideoPlayer->Unload();
722 window_SpeakInHouse->Release(); 723 window_SpeakInHouse->Release();
723 pParty->uFlags &= 0xFFFFFFFDu; 724 pParty->uFlags &= 0xFFFFFFFDu;
724 GlobalEventInfo = 1; 725 GlobalEventInfo = 1;
725 if ( EnterHouse((enum HOUSE_ID)165) ) 726 if ( EnterHouse(HOUSE_BODY_GUILD_ERATHIA) )
726 { 727 {
727 pAudioPlayer->PlaySound((SoundID)0, 0, 0, -1, 0, 0, 0, 0); 728 pAudioPlayer->PlaySound((SoundID)0, 0, 0, -1, 0, 0, 0, 0);
728 v47 = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 165, 0); 729 v47 = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 165, 0);
729 window_SpeakInHouse = v47; 730 window_SpeakInHouse = v47;
730 v48 = v47->pControlsHead; 731 v48 = v47->pControlsHead;