Mercurial > mm7
comparison GUI/UI/UIArena.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 |
---|---|
73 uDialogueType = DIALOGUE_ARENA_REWARD; | 73 uDialogueType = DIALOGUE_ARENA_REWARD; |
74 ++*((char *)&pParty->monster_for_hunting_killed[3] + (unsigned __int8)pParty->field_7B5_in_arena_quest + 1);//Ritor1:I dont know | 74 ++*((char *)&pParty->monster_for_hunting_killed[3] + (unsigned __int8)pParty->field_7B5_in_arena_quest + 1);//Ritor1:I dont know |
75 for ( uint i= 0; i < 4; i++ ) | 75 for ( uint i= 0; i < 4; i++ ) |
76 pParty->pPlayers[i].SetVariable(VAR_Award, (unsigned __int8)pParty->field_7B5_in_arena_quest + 3); | 76 pParty->pPlayers[i].SetVariable(VAR_Award, (unsigned __int8)pParty->field_7B5_in_arena_quest + 3); |
77 pParty->PartyFindsGold(gold_transaction_amount, 0); | 77 pParty->PartyFindsGold(gold_transaction_amount, 0); |
78 pAudioPlayer->PlaySound(SOUND_Arena_Welcome, 0, 0, -1, 0, 0, 0, 0); | 78 pAudioPlayer->PlaySound(SOUND_51heroism03, 0, 0, -1, 0, 0, 0, 0); |
79 pParty->field_7B5_in_arena_quest = -1; | 79 pParty->field_7B5_in_arena_quest = -1; |
80 } | 80 } |
81 else | 81 else |
82 { | 82 { |
83 uDialogueType = DIALOGUE_ARENA_WELCOME; | 83 uDialogueType = DIALOGUE_ARENA_WELCOME; |
86 pParty->vPosition.z = 1; | 86 pParty->vPosition.z = 1; |
87 pParty->uFallStartY = 1; | 87 pParty->uFallStartY = 1; |
88 pParty->sRotationY = 512; | 88 pParty->sRotationY = 512; |
89 pParty->sRotationX = 0; | 89 pParty->sRotationX = 0; |
90 pParty->uFallSpeed = 0; | 90 pParty->uFallSpeed = 0; |
91 pAudioPlayer->PlaySound(SOUND_Arena_Welcome, 0, 0, -1, 0, 0, 0, 0); | 91 pAudioPlayer->PlaySound(SOUND_51heroism03, 0, 0, -1, 0, 0, 0, 0); |
92 } | 92 } |
93 } | 93 } |
94 } | 94 } |
95 else | 95 else |
96 { | 96 { |
308 //} | 308 //} |
309 } | 309 } |
310 gold_transaction_amount = v26 * v13; | 310 gold_transaction_amount = v26 * v13; |
311 for ( i = 0; i < v14; ++i ) | 311 for ( i = 0; i < v14; ++i ) |
312 Actor::Arena_summon_actor(monster_ids[rand() % num_monsters], pMonsterArenaPlacements[i].x, pMonsterArenaPlacements[i].y, 1); | 312 Actor::Arena_summon_actor(monster_ids[rand() % num_monsters], pMonsterArenaPlacements[i].x, pMonsterArenaPlacements[i].y, 1); |
313 pAudioPlayer->PlaySound(SOUND_Arena_Welcome, 0, 0, -1, 0, 0, 0, 0); | 313 pAudioPlayer->PlaySound(SOUND_51heroism03, 0, 0, -1, 0, 0, 0, 0); |
314 } | 314 } |