diff options
| author | wewlad1 <30403438+wewlad1@users.noreply.github.com> | 2018-10-16 03:18:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-16 03:18:51 -0700 |
| commit | 7e20b50b4fd48c8fe49bf1440dcf25910db86960 (patch) | |
| tree | 5feea820e2f8fb3675c3ce8fe8e35ba13727a045 /aoapplication.h | |
| parent | 22640d482550fefec5406f4f819c8452f96be48d (diff) | |
| parent | d1347b2243c1595557d7b89d40eb88a68a94375b (diff) | |
Merge pull request #5 from Iamgoofball/patch-1
Fixes opus, adds opus and mp3 support to ini SFX, thanks Longbyte
Diffstat (limited to 'aoapplication.h')
| -rw-r--r-- | aoapplication.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aoapplication.h b/aoapplication.h index 53968747..b9d3fd10 100644 --- a/aoapplication.h +++ b/aoapplication.h @@ -169,6 +169,9 @@ public: //Returns the sfx with p_identifier from sounds.ini in the current theme path QString get_sfx(QString p_identifier); + //Figure out if we can opus this or if we should fall back to wav + QString get_sfx_suffix(QString sound_to_check); + //Returns the value of p_search_line within target_tag and terminator_tag QString read_char_ini(QString p_char, QString p_search_line, QString target_tag, QString terminator_tag); @@ -226,7 +229,7 @@ public: private: const int RELEASE = 2; const int MAJOR_VERSION = 5; - const int MINOR_VERSION = 1; + const int MINOR_VERSION = 2; QString current_theme = "default"; |
