From 037d96a5d96bae6e341d8f7ca4f485d519cde02b Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 5 Jun 2021 20:28:55 -0500 Subject: Use intuitive behavior for loading assets with ambiguous extensions --- include/aoapplication.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/aoapplication.h b/include/aoapplication.h index 0c61d7b..24a09ec 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); -- cgit