aboutsummaryrefslogtreecommitdiff
path: root/src/aoscene.cpp
AgeCommit message (Collapse)Author
2020-08-28Set cache mode to "all" for both QMovie objects to preserve the client's ↵Crystalwarrior
sanity by not horribly lagging them with zoom speedlines and other continuously animated elements.
2020-07-31Fix reload theme breaking BG sizing (#212)Crystalwarrior
May need additional testing with animated BGs.
2020-05-22clang 2 electric boogalooCrystalwarrior
{ BasedOnStyle: LLVM, BreakBeforeBraces: Stroustrup}
2020-05-22Clang-ify the code with this styling using Visual Studio Code:Crystalwarrior
{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Stroustrup, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All } (this is the Visual Studio preset with only "BreakBeforeBraces" changed from Allman to Stroustrup)
2020-03-31Fix aomovie resizing algorithm for BG's crashing the client because I fucked ↵Crystalwarrior
up, lol
2020-03-26Make backgrounds preserve aspect ratio when used with different aspect ratio ↵Crystalwarrior
themes (e.g. a 16:9 theme would not stretch a 4:3 bg and instead have a letterboxing effect. A 4:3 theme using a 16:9 BG will not stretch the BG but instead center it, making it look like the BG is 4:3 all along.)
2020-03-08The Crispy:tm: updateCrystalwarrior
Make it so BG's and Characters will not be blurred when rescaled TODO: Make Qmovies ditch anti-aliasing during scaling as well Only apply crispy scaling if the size is 2x of the previous size or something
2019-10-13Fix an issue with "missing desk" not properly replacing last_image (making ↵Crystalwarrior
everyone's desk break from pos hld to def/wit/pro)
2019-10-12Properly handle "true song name" even with folders/categories and file ↵Crystalwarrior
formats (paving way for folder-categorized music lists set up by servers) Prevent BG's from falling back on default BG path (this isn't really user-convenient and causes more trouble than its worth, e.g. stands appearing on BG's that dont' want stands to appear) Implement Case Cafe's method of categorization for (a) and (b) emotes
2019-09-12Expand get_image_suffix to fall back on .png lastCrystalwarrior
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.
2019-09-10Prevent the animated background/foreground from restarting itself if the ↵Crystalwarrior
image is the exact same as the currently playing one
2019-09-10Expand .apng and .webp support for get_image_suffixCrystalwarrior
Add get_image_suffix for all .gif's so that all animated pieces can be .webp or .apng instead Expand on .webp .apng support and clean up the code somewhat
2018-12-26moved headers into include and cpp files into src + logo into resourceDavid Skoland