Integrate C++11 branch into 5_1-new
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "arch/Sound/RageSoundDriver.h"
|
||||
|
||||
GameSoundManager *SOUND = NULL;
|
||||
GameSoundManager *SOUND = nullptr;
|
||||
|
||||
/*
|
||||
* When playing music, automatically search for an SM file for timing data. If one is
|
||||
@@ -436,7 +436,7 @@ int MusicThread_start( void *p )
|
||||
GameSoundManager::GameSoundManager()
|
||||
{
|
||||
/* Init RageSoundMan first: */
|
||||
ASSERT( SOUNDMAN != NULL );
|
||||
ASSERT( SOUNDMAN != nullptr );
|
||||
|
||||
g_Mutex = new RageEvent("GameSoundManager");
|
||||
g_Playing = new MusicPlaying( new RageSound );
|
||||
@@ -875,7 +875,7 @@ public:
|
||||
{
|
||||
alignBeat = BArg(8);
|
||||
}
|
||||
p->PlayMusic(musicPath, NULL, loop, musicStart, musicLength,
|
||||
p->PlayMusic(musicPath, nullptr, loop, musicStart, musicLength,
|
||||
fadeIn, fadeOut, alignBeat, applyRate);
|
||||
COMMON_RETURN_SELF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user