comparison Engine/Events.cpp @ 2534:1bcadc6dd203

enum SOUND_
author Ritor1
date Mon, 09 Feb 2015 19:17:12 +0600
parents fb1c61a82a55
children a902abdfc7f2
comparison
equal deleted inserted replaced
2533:2baaac65d5bf 2534:1bcadc6dd203
1175 case EVENT_SpeakInHouse: 1175 case EVENT_SpeakInHouse:
1176 if ( EnterHouse((enum HOUSE_ID)EVT_DWORD(_evt->v5))) 1176 if ( EnterHouse((enum HOUSE_ID)EVT_DWORD(_evt->v5)))
1177 { 1177 {
1178 pRenderer->Sub01(); 1178 pRenderer->Sub01();
1179 pAudioPlayer->PlaySound(SOUND_Invalid, 0, 0, -1, 0, 0, 0, 0); 1179 pAudioPlayer->PlaySound(SOUND_Invalid, 0, 0, -1, 0, 0, 0, 0);
1180 pAudioPlayer->PlaySound(SOUND_EnteringAHouse, 814, 0, -1, 0, 0, 0, 0); 1180 pAudioPlayer->PlaySound(SOUND_enter, 814, 0, -1, 0, 0, 0, 0);
1181 v104 = 187; 1181 v104 = 187;
1182 if ( uCurrentHouse_Animation != 167 ) 1182 if ( uCurrentHouse_Animation != 167 )
1183 v104 = EVT_DWORD(_evt->v5); 1183 v104 = EVT_DWORD(_evt->v5);
1184 window_SpeakInHouse = GUIWindow::Create(0, 0, window->GetWidth(), window->GetHeight(), WINDOW_HouseInterior, v104, 0); 1184 window_SpeakInHouse = GUIWindow::Create(0, 0, window->GetWidth(), window->GetHeight(), WINDOW_HouseInterior, v104, 0);
1185 window_SpeakInHouse->CreateButton( 61, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 1, '1', "", 0); 1185 window_SpeakInHouse->CreateButton( 61, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 1, '1', "", 0);