diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-15 17:44:47 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-15 17:44:47 +0300 |
| commit | e94640b3493700a266619388d75dac5e56b3189a (patch) | |
| tree | b24b8f976d40b64a8e0da04ebd5c3bc78017bdc4 /src/text_file_functions.cpp | |
| parent | a2f9df4042585ab0849b54e2bb0b9699f9064aed (diff) | |
Looping SFX system - Defined this way:
[SoundL]
sfx-roar = 1
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 0944040c..3d557c64 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -638,6 +638,12 @@ bool AOApplication::get_blank_blip() return result.startsWith("true"); } +bool AOApplication::get_looping_sfx() +{ + QString result = configini->value("looping_sfx", "true").value<QString>(); + return result.startsWith("true"); +} + bool AOApplication::objection_stop_music() { QString result = configini->value("objection_stop_music", "false").value<QString>(); |
