|
18 | 18 | #include "GUIFont.h"
|
19 | 19 | #include "AllegroBitmap.h"
|
20 | 20 | #include "BuyMenuGUI.h"
|
| 21 | +#include "MusicMan.h" |
21 | 22 | #include "SceneEditorGUI.h"
|
22 | 23 |
|
23 | 24 | #define MAPNAME(element) g_UInputMan.GetControlScheme(m_TutorialPlayer)->GetMappingName(element)
|
@@ -290,17 +291,10 @@ int GATutorial::Start() {
|
290 | 291 |
|
291 | 292 | // m_FightTriggerEast.Create(Vector(526, 0), 52, 840);
|
292 | 293 | // m_FightTriggerWest.Create(Vector(1336, 0), 52, 840);
|
293 |
| - /* |
294 |
| - // Start special tutorial playlist |
295 |
| - g_AudioMan.ClearMusicQueue(); |
296 |
| - g_AudioMan.PlayMusic("Base.rte/Music/dBSoundworks/ccambient4.ogg", 0); |
297 |
| - g_AudioMan.QueueSilence(30); |
298 |
| - g_AudioMan.QueueMusicStream("Base.rte/Music/dBSoundworks/cc2g.ogg"); |
299 |
| - g_AudioMan.QueueSilence(30); |
300 |
| - g_AudioMan.QueueMusicStream("Base.rte/Music/Watts/Last Man.ogg"); |
301 |
| - g_AudioMan.QueueSilence(30); |
302 |
| - g_AudioMan.QueueMusicStream("Base.rte/Music/dBSoundworks/cc2g.ogg"); |
303 |
| - */ |
| 294 | + |
| 295 | + // Start music |
| 296 | + g_MusicMan.PlayDynamicSong("Generic Battle Music"); |
| 297 | + |
304 | 298 | return error;
|
305 | 299 | }
|
306 | 300 |
|
@@ -330,21 +324,16 @@ void GATutorial::End() {
|
330 | 324 | }
|
331 | 325 |
|
332 | 326 | // Temp fix so music doesn't start playing if ending the Activity when changing resolution through the in-game settings.
|
333 |
| - /*if (!m_Paused) { |
| 327 | + if (!m_Paused) { |
334 | 328 | // Play the appropriate tune on player win/lose
|
335 | 329 | if (playerWon) {
|
336 |
| - g_AudioMan.ClearMusicQueue(); |
337 |
| - // Loop it twice, nice tune! |
338 |
| - g_AudioMan.PlayMusic("Base.rte/Music/dBSoundworks/uwinfinal.ogg", 2); |
339 |
| - g_AudioMan.QueueSilence(10); |
340 |
| - g_AudioMan.QueueMusicStream("Base.rte/Music/dBSoundworks/ccambient4.ogg"); |
| 330 | + g_MusicMan.PlayDynamicSong("Generic Victory Music", "Default", true); |
| 331 | + g_MusicMan.PlayDynamicSong("Generic Ambient Music"); |
341 | 332 | } else {
|
342 |
| - g_AudioMan.ClearMusicQueue(); |
343 |
| - g_AudioMan.PlayMusic("Base.rte/Music/dBSoundworks/udiedfinal.ogg", 0); |
344 |
| - g_AudioMan.QueueSilence(10); |
345 |
| - g_AudioMan.QueueMusicStream("Base.rte/Music/dBSoundworks/ccambient4.ogg"); |
| 333 | + g_MusicMan.PlayDynamicSong("Generic Defeat Music", "Default", true); |
| 334 | + g_MusicMan.PlayDynamicSong("Generic Ambient Music"); |
346 | 335 | }
|
347 |
| - }*/ |
| 336 | + } |
348 | 337 | }
|
349 | 338 |
|
350 | 339 | /*
|
|
0 commit comments