mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-11 13:18:00 +08:00
SDK sync.
This commit is contained in:
1 parent
9c563891f6
commit
753fe25c18
61 files changed
+1469
-209
No files matched your search
@@ -1208,6 +1208,9 @@ void SoundSystemPreloadSounds( void )
|
||||
|
||||
CON_COMMAND( sv_soundemitter_flush, "Flushes the sounds.txt system (server only)" )
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
// save the current soundscape
|
||||
// kill the system
|
||||
g_SoundEmitterSystem.Flush();
|
||||
@@ -1222,12 +1225,18 @@ CON_COMMAND( sv_soundemitter_flush, "Flushes the sounds.txt system (server only)
|
||||
|
||||
CON_COMMAND( sv_soundemitter_filecheck, "Report missing wave files for sounds and game_sounds files." )
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
int missing = soundemitterbase->CheckForMissingWavFiles( true );
|
||||
DevMsg( "---------------------------\nTotal missing files %i\n", missing );
|
||||
}
|
||||
|
||||
CON_COMMAND( sv_findsoundname, "Find sound names which reference the specified wave files." )
|
||||
{
|
||||
{
|
||||
if ( !UTIL_IsCommandIssuedByServerAdmin() )
|
||||
return;
|
||||
|
||||
if ( args.ArgC() != 2 )
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user