Mercurial > mm7
comparison Events.cpp @ 569:f451efdb7c8b
* Party buff icons drawing (right panel)
* Water Walk works & draws
* Fly works & draws
* Invisibility sfx works
* Some player buff icons draw
author | Nomad |
---|---|
date | Tue, 05 Mar 2013 16:14:22 +0200 |
parents | dde1083df4b7 |
children | d59398528e4f |
comparison
equal
deleted
inserted
replaced
568:6f7d936edc9b | 569:f451efdb7c8b |
---|---|
599 { | 599 { |
600 if ( v30 == 78 ) | 600 if ( v30 == 78 ) |
601 { | 601 { |
602 sub_4BD8B5(); | 602 sub_4BD8B5(); |
603 window_SpeakInHouse->Release(); | 603 window_SpeakInHouse->Release(); |
604 pParty->uFlags &= 0xFFFFFFFDu; | 604 pParty->uFlags &= ~2; |
605 if ( EnterHouse(HOUSE_DARK_GUILD_PIT) ) | 605 if ( EnterHouse(HOUSE_DARK_GUILD_PIT) ) |
606 { | 606 { |
607 pAudioPlayer->StopChannels(-1, -1); | 607 pAudioPlayer->StopChannels(-1, -1); |
608 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 170, 0); | 608 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 170, 0); |
609 window_SpeakInHouse->CreateButton(0x3Du, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 1u, 0x31u, "", 0); | 609 window_SpeakInHouse->CreateButton(0x3Du, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 1u, 0x31u, "", 0); |
700 if ( window_SpeakInHouse->par1C == 165 ) | 700 if ( window_SpeakInHouse->par1C == 165 ) |
701 { | 701 { |
702 sub_4BD8B5(); | 702 sub_4BD8B5(); |
703 pVideoPlayer->Unload(); | 703 pVideoPlayer->Unload(); |
704 window_SpeakInHouse->Release(); | 704 window_SpeakInHouse->Release(); |
705 pParty->uFlags &= 0xFFFFFFFDu; | 705 pParty->uFlags &= ~2; |
706 activeLevelDecoration = (LevelDecoration*)1; | 706 activeLevelDecoration = (LevelDecoration*)1; |
707 if ( EnterHouse(HOUSE_BODY_GUILD_ERATHIA) ) | 707 if ( EnterHouse(HOUSE_BODY_GUILD_ERATHIA) ) |
708 { | 708 { |
709 pAudioPlayer->PlaySound((SoundID)0, 0, 0, -1, 0, 0, 0, 0); | 709 pAudioPlayer->PlaySound((SoundID)0, 0, 0, -1, 0, 0, 0, 0); |
710 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 165, 0); | 710 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, 165, 0); |