menu_masterserver.cpp:add function to play different sound

This adds a function to play a different sound when a server becomes
available.

The sound hasn't changed, but now the separate function has been added,
the sound can be changed very easily.

The ticket to create the new sound is at
https://github.com/ZetaGlest/zetaglest-data/issues/44

Can be customized by adding the variable to
$HOME/.zetaglest/glestuser.ini

closes #63
This commit is contained in:
andy5995
2018-02-21 08:38:19 -06:00
parent dbe6697f16
commit 1f1233e0db
10 changed files with 113 additions and 33 deletions

View File

@@ -98,3 +98,4 @@ Windowed=false
; sfx
PlaySoundAttention=../../../zetaglest-data/data/core/menu/sound/attention.wav
PlaySoundHighlight=../../../zetaglest-data/data/core/menu/sound/highlight.wav
PlaySoundNewServer=../../../zetaglest-data/data/core/menu/sound/attention.wav