|
|
@ -85,6 +85,12 @@ void CL_PlayCDTrack_f( void ) |
|
|
|
paused = false; |
|
|
|
paused = false; |
|
|
|
looped = false; |
|
|
|
looped = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if( !Q_stricmp( command, "playfile" )) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
S_StartBackgroundTrack( pszTrack, NULL, 0, true ); |
|
|
|
|
|
|
|
paused = false; |
|
|
|
|
|
|
|
looped = false; |
|
|
|
|
|
|
|
} |
|
|
|
else if( !Q_stricmp( command, "loop" )) |
|
|
|
else if( !Q_stricmp( command, "loop" )) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if( Q_isdigit( pszTrack )) |
|
|
|
if( Q_isdigit( pszTrack )) |
|
|
@ -96,6 +102,12 @@ void CL_PlayCDTrack_f( void ) |
|
|
|
paused = false; |
|
|
|
paused = false; |
|
|
|
looped = true; |
|
|
|
looped = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if( !Q_stricmp( command, "loopfile" )) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
S_StartBackgroundTrack( pszTrack, pszTrack, 0, true ); |
|
|
|
|
|
|
|
paused = false; |
|
|
|
|
|
|
|
looped = true; |
|
|
|
|
|
|
|
} |
|
|
|
else if( !Q_stricmp( command, "pause" )) |
|
|
|
else if( !Q_stricmp( command, "pause" )) |
|
|
|
{ |
|
|
|
{ |
|
|
|
S_StreamSetPause( true ); |
|
|
|
S_StreamSetPause( true ); |
|
|
|