core_data.cpp:allow user-configurable sfx

This allows users to set their own sound effects using glestuser.ini

Any values from glest.ini can be used in glestuser.ini, and when in
glestuser.ini, they override the values in glest.ini.

Not yet documented.

This adds only 2 sfx, and shows how to do it.

This will change how #63 is done
This commit is contained in:
andy5995
2018-02-19 07:33:22 -06:00
parent f974fcf15a
commit a6a02af157
6 changed files with 56 additions and 28 deletions

View File

@@ -94,3 +94,7 @@ UnitParticles=true
UserData_Root=$HOME/.zetaglest/
VersionURL=http://zetaglest.dreamhosters.com/files/versions/
Windowed=false
; sfx
PlaySoundAttention=../../../zetaglest-data/data/core/menu/sound/attention.wav
PlaySoundHighlight=../../../zetaglest-data/data/core/menu/sound/highlight.wav