diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-06-05 20:28:55 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2021-06-05 20:28:55 -0500 |
| commit | 037d96a5d96bae6e341d8f7ca4f485d519cde02b (patch) | |
| tree | 6b25ebc80bd2ce74372241793ec2e4724acb71f1 /include/aoapplication.h | |
| parent | d27501313cae78b838c1e738ebfaeae4740a23b4 (diff) | |
Use intuitive behavior for loading assets with ambiguous extensions
Diffstat (limited to 'include/aoapplication.h')
| -rw-r--r-- | include/aoapplication.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 0c61d7b5..24a09eca 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -167,6 +167,7 @@ public: QString get_sfx(QString p_sfx, QString p_misc="", QString p_character=""); QString get_case_sensitive_path(QString p_file); QString get_real_path(const VPath &vpath); + QString get_real_suffixed_path(const VPath &vpath, const QStringList &suffixes); void invalidate_lookup_cache(); ////// Functions for reading and writing files ////// @@ -355,9 +356,6 @@ public: // Returns the sfx with p_identifier from courtroom_sounds.ini in the current theme path QString get_court_sfx(QString p_identifier, QString p_misc=""); - // Find the correct suffix for a given file - QString get_suffix(VPath file_to_check, QStringList suffixes); - // Figure out if we can opus this or if we should fall back to wav QString get_sfx_suffix(VPath sound_to_check); |
