sizedown decrease view size (decreases viewsize cvar)\r
sizeup increase view size (increases viewsize cvar)\r
skins downloads missing qw skins from server\r
-snd_reload reload all sound files\r
+snd_unloadallsounds unload all sound files\r
snd_restart restart sound system\r
soundinfo print sound system information (such as channels and speed)\r
soundlist list loaded sounds\r
// exec the new config
Host_LoadConfig_f();
- // reinitialize the loaded sounds
- S_Reload_f();
+ // unload all sounds so they will be reloaded from the new files as needed
+ S_UnloadAllSounds_f();
// reinitialize renderer (this reloads hud/console background/etc)
R_Modules_Restart();
Cmd_AddCommand("soundlist", S_SoundList_f, "list loaded sounds");
Cmd_AddCommand("soundinfo", S_SoundInfo_f, "print sound system information (such as channels and speed)");
Cmd_AddCommand("snd_restart", S_Restart_f, "restart sound system");
- Cmd_AddCommand("snd_reload", S_Reload_f, "reload all sound files");
+ Cmd_AddCommand("snd_unloadallsounds", S_UnloadAllSounds_f, "unload all sound files");
Cvar_RegisterVariable(&nosound);
Cvar_RegisterVariable(&snd_precache);
/*
==================
-S_Reload_f
+S_UnloadAllSounds_f
==================
*/
-void S_Reload_f (void)
+void S_UnloadAllSounds_f (void)
{
int i;
return false;
}
-void S_Reload_f (void)
+void S_UnloadAllSounds_f (void)
{
}
void S_Startup (void);
void S_Shutdown (void);
-void S_Reload_f (void);
+void S_UnloadAllSounds_f (void);
void S_Update(const matrix4x4_t *listenermatrix);
void S_ExtraUpdate (void);