aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
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-14Add a blip sound QElapsedTimer so blipsounds don't play more frequently than ↵Crystalwarrior
60ms to preserve all of our ears. Adjust the message display speeds to feel more accurate to AA, with }}} speed displaying text instantly for that section
2019-09-14Bass.dll functionality-based clientside music looping system by using ↵iamgoofball
channel loopable flags (no use of QTimer required) Implement Goofball's AOV loopable music server message where any value that's not -1 when the length of the handle_message packet is longer than 3 will not loop the music (still confused about this but w/e)
2019-09-13Set up screenshake button uiCrystalwarrior
Rewrite Goofball's doScreenshake() function to be much more modular and multi-purpose (also rename to do_screenshake() to match other functions) Add networking needed to make screenshake work. Works with AOV version of tsuserver3 (button screenshake only so far). Add get_theme_pos helper function, currently unused.
2019-09-13Merge branch 'aomovies'Crystalwarrior
# Conflicts: # include/aomovie.h # src/aomovie.cpp # src/courtroom.cpp
2019-09-13Rename dubious "duration" to "default_duration" for play function in AOMovie ↵Crystalwarrior
class
2019-09-13Make shout, verdict and wtce default duration values into constantsCrystalwarrior
2019-09-13Add a tool tip to blip rate settingsCrystalwarrior
Adapt the blip rate to allow variable speed value array sizes
2019-09-13Make log go downwards by defaultCrystalwarrior
Rename kill_music_on_object to objection_stop_music for readability Update blip rate (faster overall, more accurate to the trilogy) - based on AOV values Update default blip rate to be "once every two symbols"
2019-09-13Kill Music on Object optioniamgoofball
(todo: actual functionality, cherrypicked from Goofball's 2.7 branch)
2019-09-12Fix compilation errorCrystalwarrior
Allow realization flashes to be animated images by making them AOMovies Eploit the newly added 'duration' system for realization AOMovie (cherry picked from commit bb98f79083648243216f665852a7d2326af11be0)
2019-09-12Remove unecessary hard-coded timers for the witness testimony .pngCrystalwarrior
Make the witness testimony use AOMovie instead of AOImage Remove pointless "testimony_in_progress" variable CONTROVERSIAL: Make the witness testimony indicator be position-ignorant so as to reduce the amount of hardcoding and allow broader usage of the witness testimony system (For example, Danganronpa investigation indicator, etc.) - This should not affect how the testimony indicator is received currently, as witness testimony usually requires the entire rest of the court to shut up until the cross-examination either way. (cherry picked from commit 932f430b683dffb0b965c32cd2247e2b6361dd0e)
2019-09-12Allow AOMovie to have timers that take priority over the animated image ↵Crystalwarrior
frame count Set it up so feeding the timer value when playing the AOMovie would use the timer but only in cases where a non-animated image is used Update shouts and wtce to pass the 'duration' argument which will be used if the image used is non-animated. Otherwise, prioritize the animated image duration.
2019-09-12Merge branch 'music_list_update'Crystalwarrior
2019-09-12Fix compilation errorCrystalwarrior
Allow realization flashes to be animated images by making them AOMovies Eploit the newly added 'duration' system for realization AOMovie
2019-09-12Remove unecessary hard-coded timers for the witness testimony .pngCrystalwarrior
Make the witness testimony use AOMovie instead of AOImage Remove pointless "testimony_in_progress" variable CONTROVERSIAL: Make the witness testimony indicator be position-ignorant so as to reduce the amount of hardcoding and allow broader usage of the witness testimony system (For example, Danganronpa investigation indicator, etc.) - This should not affect how the testimony indicator is received currently, as witness testimony usually requires the entire rest of the court to shut up until the cross-examination either way.
2019-09-12Allow AOMovie to have timers that take priority over the animated image ↵Crystalwarrior
frame count Set it up so feeding the timer value when playing the AOMovie would use the timer but only in cases where a non-animated image is used Update shouts and wtce to pass the 'duration' argument which will be used if the image used is non-animated. Otherwise, prioritize the animated image duration.
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-11Add clear_music and clear_areasCrystalwarrior
Comment out the index as it can be potentially confusing alongside "true" area numbers Add "FM" to Packet Received that would reload the areas and music list TODO: Test this with arup systems
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
2019-08-20doubleclick to join a serverstonedDiscord
2019-08-19read and store qt audio devicestonedDiscord
2019-08-19list audio devices (doesn't apply it yet)stonedDiscord
2019-08-17OOP :convenience_store:stonedDiscord
2019-08-17fix qaudio volumestonedDiscord
2019-08-08Merge pull request #88 from AttorneyOnline/i18nstonedDiscord
I18n
2019-08-05removed meaningless modifiers (see ↵David Skoland
https://software.intel.com/en-us/articles/cdiag858)
2019-08-05language settingstonedDiscord
2019-07-29what was gbp thinkingstonedDiscord
2019-07-28Make all strings translatableoldmud0
2019-07-27Bump version to 2.6.2 (#87)oldmud0
2019-07-22Remove C style char buffer in favor of QByteArraywindrammer
2019-07-20Merge branch 'bass-optional' into 'master'oldmud0
Bass+discord optional See merge request AttorneyOnline/AO2-Client!59
2019-07-20Revert "More bug fixing."cents02
This reverts commit ca84ba516fc892deaeafc18b23ad5a06822b29f5
2019-07-20Merge branch 'master' into 'bass-optional'stonedDiscord
# Conflicts: # Attorney_Online.pro # include/aoapplication.h
2019-07-12Less insane debugging; minor refactoring (!75)David Skoland
2019-07-02Merge branch 'ci' into 'master'oldmud0
2019-05-09Text is now advanced based on graphemes, rather than bytes.Cerapter
2019-03-13saves space i guessstonedDiscord
2019-03-12qt musicstonedDiscord
2019-03-12sfx tested and worksstonedDiscord
2019-03-12qt can play the blips just finestonedDiscord