aboutsummaryrefslogtreecommitdiff
path: root/src/aocharmovie.cpp
AgeCommit message (Collapse)Author
2020-08-24Remove the ".png" check from the load_image lookup to allow non-(a) and (b) ↵Crystalwarrior
images being used for static characters
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-12Only use anti-aliasing when sprites are being downscaled, otherwise preserve ↵Crystalwarrior
crispyness:tm:
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
2020-01-15i am REtArdCrystalwarrior
Fixed a major bug that crashed the clients on chatting + broke a lot of assets because of a single `.` boi anywhere in the filepath.
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-10-06Fix some edge cases where the AOChar qlabel is moved around in weird ways ↵Crystalwarrior
(reload theme still puts qlabel at 0,0 without centering) Fix a full message of speed 0 not properly displaying itself
2019-10-03Fix move func making characters slowly move to the left every frame on ↵Crystalwarrior
animated chars which are sized differently from viewport Add a new get_qfont function Fix message box font being different from every other font due to incorrect font loading scheme Fix ui_evidence_save and ui_evidence_load tooltips being wrong
2019-10-02Rewrite pairing character ordering logic to instead operate based on a ↵Crystalwarrior
user-accessible drpodown menu (it's a dropdown for the future when there's more options) Fix current charmovie breaking offsets Make pairing offsets applicable even without a pairing partner, making it a generic offset Fix the chat message hardcoding max colors to 8 (when it should be max_colors) Come up with a way to convey the ordering information without creating an extra new packet in a cool way (backwards compatibility AND less clutter!) More info on the evidence_x and evidence_ok tooltips Don't mute music when you switch to CSS anymore
2019-10-01Fix some read_file errors on effect loadingCrystalwarrior
Make FM packet only fetch music, and new FA packet to fetch areas (this way you don't have to reload the entire music list just to get new areas) Fix a possible segfault with emote lists if emote list size is bad Hide casing button if server doesn't support casing Hide the remove buttons by default for iniswaps and sfx list so they're not clickable when they shouldn't be Prevent background from being displayed unless the server asked us to Fix some redundancy surrounding current_side Rework music list so list_music doesn't care about search bar and the hiding is actually done in the search function Implement text centering, rightening and justifying Fix text scrolling meme that happened with \n and skipped chars Fix the pos dropdown not actually caring if you selected jur and sea pos. Fix the pos dropdown sending like a million packets when scrolled through. Prevent characters from being incorrectly resized if a different-scaled character speaks Fix character select screen letting you choose characters that the server doesn't want us to be
2019-09-25Fix objections botching up single frame preanims, etc.Crystalwarrior
2019-09-24Fix an issue with AOCharmovie hanging on frame1 animationsCrystalwarrior
Fix an issue with the logger screwing up the server folder name string if character ' was used
2019-09-20*better-rer* character scaling algorithmCrystalwarrior
2019-09-20Better scaling algorithm for characters of variable sizeCrystalwarrior
2019-09-16Update preanim_timer to follow the weird ass time_mod constantCrystalwarrior
2019-09-15Implement networking for frame-specific effects data sending/parsing if the ↵Crystalwarrior
server supports it Reorganize charmovie.h a bit and make some functions private Add a new helper function "read_char_ini_tag" which returns a qstringlist of all key=value strings associated with the tag
2019-09-15Looping SFX system - Defined this way:Crystalwarrior
[SoundL] sfx-roar = 1
2019-09-15Finally implement frame-specific effects such as screenshake, realization ↵Crystalwarrior
flash, sound effects, etc. Fix screenshake animation modifying the default positions of shook elements Fix aomovie sometimes not playing the last frame and causing lagspikes due to the delay() method
2019-09-15Add a bunch of cool refactors to support variable speed percentageCrystalwarrior
Partially bring back the differing [Time] duration variable, however, the speed of the image will not be adjusted to accomodate it due to the need for using m_reader to read through every frame to determine the final full delay value (which tanks performance). Comment all the functions for the charmovie in aocharmovie.h
2019-09-15Load frames as they're needed instead of loading everything at once, and ↵Crystalwarrior
cache them for optimization. The cache is cleared when a new animation is played. Resolve an issue where if a preanim transitions into (a)idle it would get stuck on the first frame of that (removed the ticker->stop();)
2019-09-14Optimize the heck out of animated images. There is no lag after the image is ↵Crystalwarrior
loaded now. HOWEVER, there's lag when the image is first loaded due to the aspect ratio and sizing (at least with .apng's).
2019-09-14Use a ticker and QImageReader instead of QMovieCrystalwarrior
Issue: absolutely fucking broken, needs shittons of fixing or ditching. Might not be that efficient, anyway.
2019-09-14Allow [Time] to be blank for pre-anims to not be required to use itCrystalwarrior
play_talking and play_idle reduced in useless code
2019-09-13Use brace constructors instead of << append operator for path listsCrystalwarrior
Rename gif_path into emote_path for charmovie.cpp Rename p_gif into p_image for aomovie.cpp
2018-12-26moved headers into include and cpp files into src + logo into resourceDavid Skoland