Mercurial > mm7
comparison Engine/TurnEngine/TurnEngine.cpp @ 2534:1bcadc6dd203
enum SOUND_
author | Ritor1 |
---|---|
date | Mon, 09 Feb 2015 19:17:12 +0600 |
parents | a77c34acdbc9 |
children | a902abdfc7f2 |
comparison
equal
deleted
inserted
replaced
2533:2baaac65d5bf | 2534:1bcadc6dd203 |
---|---|
123 int temp; | 123 int temp; |
124 | 124 |
125 pTurnEngine->field_18 &= ~TE_HAVE_PENDING_ACTIONS; | 125 pTurnEngine->field_18 &= ~TE_HAVE_PENDING_ACTIONS; |
126 pEventTimer->TrackGameTime(); | 126 pEventTimer->TrackGameTime(); |
127 pAudioPlayer->StopChannels(-1, -1); | 127 pAudioPlayer->StopChannels(-1, -1); |
128 pAudioPlayer->PlaySound(SOUND_207, 0, 0, -1, 0, 0, 0, 0); | 128 pAudioPlayer->PlaySound(SOUND_batllest, 0, 0, -1, 0, 0, 0, 0); |
129 //pPlayer = pParty->pPlayers.data(); | 129 //pPlayer = pParty->pPlayers.data(); |
130 dword_50C998_turnbased_icon_1A = 8 * pIconsFrameTable->pIcons[uIconID_TurnStart].uAnimLength; | 130 dword_50C998_turnbased_icon_1A = 8 * pIconsFrameTable->pIcons[uIconID_TurnStart].uAnimLength; |
131 dword_50C994 = 0; | 131 dword_50C994 = 0; |
132 | 132 |
133 this->turn_initiative = 100; | 133 this->turn_initiative = 100; |
250 else if ( objType == OBJECT_Actor ) | 250 else if ( objType == OBJECT_Actor ) |
251 pActors[objID].pMonsterInfo.uRecoveryTime = (unsigned __int16)((double)pQueue[i].actor_initiative * 2.133333333333333); | 251 pActors[objID].pMonsterInfo.uRecoveryTime = (unsigned __int16)((double)pQueue[i].actor_initiative * 2.133333333333333); |
252 } | 252 } |
253 pAudioPlayer->StopChannels(-1, -1); | 253 pAudioPlayer->StopChannels(-1, -1); |
254 if ( bPlaySound != 0 ) | 254 if ( bPlaySound != 0 ) |
255 pAudioPlayer->PlaySound(SOUND_206, 0, 0, -1, 0, 0, 0, 0); | 255 pAudioPlayer->PlaySound(SOUND_batlleen, 0, 0, -1, 0, 0, 0, 0); |
256 pTurnEngine->field_18 &= ~TE_HAVE_PENDING_ACTIONS; | 256 pTurnEngine->field_18 &= ~TE_HAVE_PENDING_ACTIONS; |
257 pEventTimer->StopGameTime(); | 257 pEventTimer->StopGameTime(); |
258 dword_50C994 = 0; | 258 dword_50C994 = 0; |
259 dword_50C998_turnbased_icon_1A = 0; | 259 dword_50C998_turnbased_icon_1A = 0; |
260 } | 260 } |