Mercurial > mm7
comparison Events.cpp @ 496:0e20e886365d
guilds ....
author | Gloval |
---|---|
date | Fri, 01 Mar 2013 02:11:57 +0400 |
parents | 4bd56919f075 |
children | dd5124185551 |
comparison
equal
deleted
inserted
replaced
495:90fdb47bfcba | 496:0e20e886365d |
---|---|
1530 | 1530 |
1531 //v6 = v123; | 1531 //v6 = v123; |
1532 //v7 = ""; | 1532 //v7 = ""; |
1533 break; | 1533 break; |
1534 case EVENT_SpeakInHouse: | 1534 case EVENT_SpeakInHouse: |
1535 if ( EnterHouse((enum HOUSE_ID)(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8))) ) | 1535 if ( EnterHouse((enum HOUSE_ID)EVT_DWORD(_evt->v5))) |
1536 { | 1536 { |
1537 if ( pRenderer->pRenderD3D && !pRenderer->bWindowMode ) | 1537 if ( pRenderer->pRenderD3D && !pRenderer->bWindowMode ) |
1538 pRenderer->_49FD3A(); | 1538 pRenderer->_49FD3A(); |
1539 pAudioPlayer->PlaySound((SoundID)0, 0, 0, -1, 0, 0, 0, 0); | 1539 pAudioPlayer->PlaySound((SoundID)0, 0, 0, -1, 0, 0, 0, 0); |
1540 pAudioPlayer->PlaySound(SOUND_EnteringAHouse, 814, 0, -1, 0, 0, 0, 0); | 1540 pAudioPlayer->PlaySound(SOUND_EnteringAHouse, 814, 0, -1, 0, 0, 0, 0); |
1541 v104 = 187; | 1541 v104 = 187; |
1542 if ( uCurrentHouse_Animation != 167 ) | 1542 if ( uCurrentHouse_Animation != 167 ) |
1543 v104 = _evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8); | 1543 v104 = _evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8); |
1544 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, v104, 0); | 1544 window_SpeakInHouse = GUIWindow::Create(0, 0, 640, 480, WINDOW_HouseInterior, v104, 0); |
1545 window_SpeakInHouse->CreateButton(0x3Du, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 1u, 0x31u, "", 0); | 1545 window_SpeakInHouse->CreateButton( 61, 424, 31, 0, 2, 94, 0x6Eu, 1, 49, "", 0); |
1546 window_SpeakInHouse->CreateButton(0xB1u, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 2u, 0x32u, "", 0); | 1546 window_SpeakInHouse->CreateButton(177, 424, 31, 0, 2, 94, 0x6Eu, 2, 50, "", 0); |
1547 window_SpeakInHouse->CreateButton(0x124u, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 3u, 0x33u, "", 0); | 1547 window_SpeakInHouse->CreateButton(292, 424, 31, 0, 2, 94, 0x6Eu, 3, 51, "", 0); |
1548 window_SpeakInHouse->CreateButton(0x197u, 0x1A8u, 0x1Fu, 0, 2, 94, 0x6Eu, 4u, 0x34u, "", 0); | 1548 window_SpeakInHouse->CreateButton(407, 424, 31, 0, 2, 94, 0x6Eu, 4, 52, "", 0); |
1549 window_SpeakInHouse->CreateButton(0, 0, 0, 0, 1, 0, 0xB0u, 0, 9u, "", 0); | 1549 window_SpeakInHouse->CreateButton(0, 0, 0, 0, 1, 0, 0xB0u, 0, 9u, "", 0); |
1550 } | 1550 } |
1551 ++curr_seq_num; | 1551 ++curr_seq_num; |
1552 v4 = v124; | 1552 v4 = v124; |
1553 | 1553 |