diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-12 15:40:19 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-12 15:40:19 +0300 |
| commit | 3b415f5a7005fd0b42ba7ccbb9a8836746a72d41 (patch) | |
| tree | 2b2547988abf6db0fd314ea2cd2f4fb56008b577 /include | |
| parent | 7e2ec58c7eb62077733f354764d0b729fe0e0a93 (diff) | |
Expand get_image_suffix to fall back on .png last
Reorganize the file_exists checks to be an array iterator instead for much less code duplication and easier ordering of priority
Reorganize desk and set_image loading on AOScene class, resolve issues with last_image setting to prevent animations from being restarted when characters talk on the same pos in succession
Apply get_image_suffix for seancestand and jurystand searches
TODO: At the moment, if you feed a .png shout, it will send the "Done" signal on the first frame (frame 0), not showing you the .png image at all. The shout code should be reorganized to allow static images to be displayed for exactly 720ms - the standard AA objection length. Usage of the timer similarly to the realizationflash.png might be possible.
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoapplication.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h index 68e82ce3..19924e46 100644 --- a/include/aoapplication.h +++ b/include/aoapplication.h @@ -219,7 +219,7 @@ public: //Figure out if we can opus this or if we should fall back to wav QString get_sfx_suffix(QString sound_to_check); - // Can we use APNG for this? If not, WEBP? If not, fall back to gif. + // Can we use APNG for this? If not, WEBP? If not, GIF? If not, fall back to PNG. QString get_image_suffix(QString path_to_check); //Returns the value of p_search_line within target_tag and terminator_tag |
