aboutsummaryrefslogtreecommitdiff
path: root/include/aoapplication.h
AgeCommit message (Collapse)Author
2019-09-25Hellcommit of doom and sufferingCrystalwarrior
Create two new helper functions - get_chat_markdown and remake read_char_ini_tag to be read_ini_tags for more general purpose Modify aolineedit to support preserving selection after unfocusing (building this for using dropdown list for setting colors), as well as remove the setReadOnly functionality and use it in signals instead Overhaul the color system to get rid of inline colors, allow full customization of colors and usage of configuration files for every facet of how a color functions (should we be talking, should we remove that markdown char, etc.) Complete overhaul of color markdowns system TODO: Make this thing not lag to hell, fix chat messages hogging the IC as the animation never ends apparently
2019-09-24Change all instances of "colour" to "color" for consistency's sakeCrystalwarrior
Overhaul inline colors system to properly support additive text and further expansion Add two new colors - Gray and Blank, the latter being used for IC parsing. Instead of adding text symbol by symbol, reveal more of the already-rendered text instead so that it properly anticipates words that need to be on the newline. Changed the append_ic function slightly so it appends ": " to text only after it's no longer needed. Made gray color less inconsistent with everything else
2019-09-18Bugfixes for the thing and how it orders thingsCrystalwarrior
2019-09-18make icons for effects n shitCrystalwarrior
they're grabbed from the effects/icons/*same name as effects* gotta be .png or w/e i need my sleep
2019-09-18Implement effects system that reads your folder in theme/effects, or ↵Crystalwarrior
misc/<folder name>/<effects> Add an effect packet Allow aomovie to be fed a direct path Add some really terrible helper functions that shouldn't exist, sorry.
2019-09-17Streamlined ini swapping so the user can set up multiple character folders ↵Crystalwarrior
associated with a character. This will save to the character folder's iniswaps.ini. You can click on the dropdown and edit the text inside to add an iniswap, and press the [X] button that'll appear next to it to remove the ini swap. Recode the enter_courtroom and add a new update_character feature - the two are now separate and responsible for different things. The courtroom will reload the whole theme and widgets while the character is only responsible for all ui elements related to the character. This drastically improves performance when switching characters using /switch or something Add a set_char_ini helper function that allows you to modify the character variables. For now only used to set name= field when iniswapping
2019-09-16Change get_stylesheet to return text of a parsed stylesheet file, its ↵Crystalwarrior
functionality was transferred to get_tagged_stylesheet Remove some useless/unused ui elements Implement stylesheet for courtrooms in a way that lets the end user modify a lot of its elements Use get_image_suffix for evidence_appear images
2019-09-16Add two new helper functions - get_design_element and get_static_image_suffixCrystalwarrior
Modify all set_image calls to utilize said suffix helper function Dynamically change betweehn chatblank, chat, chatmed, chatbig based on the showname's length Use char.ini showname if showname is set to whitespace (doesn't yet check if char.ini showname is also whitespace)
2019-09-16Add additive text option where your messages are added to your previous one, ↵Crystalwarrior
fully networked and ready for the server Adjust some pointless static bool casts to be actual logic checks
2019-09-16Allow char.ini to override the chat font and font size with chat_font = and ↵Crystalwarrior
chat_size = Scream at the coders that decided hard-coding fonts and colors was a good idea (gotta properly let the themes modify that later) Fix a lot of ui elements not properly respecting the themes and their colors add a set_qfont method for those situations that need it Allow the theme to change sender colors for ooc and ms chatlogs rename url parser variable to something more immediately apparent as to what it is for readability's sake
2019-09-16Add expanded style sheet supportCrystalwarrior
Allow lobby fonts to happen
2019-09-16Add file reading, writing and appending functions that create folders if ↵Crystalwarrior
bool is true Fix server_address not being properly created in packet distribution Create a log file when you join a server in the logs/<server name>/<logname>.log and update it every time there's a new chat entry minor refactor of chatlogpiece
2019-09-15Add an option for networking frame-specific effectsCrystalwarrior
I'm starting to realize the options menu/system needs a complete overhaul at this point. (Auto-generating options menu, anyone?)
2019-09-15Add an opton to enable/disable screenshake + flashingCrystalwarrior
Fix moderation guard button not doing what it's supposed to (enable/disable modcalls) Fix moderation guard button appearing with failed logins Fix the option to toggle looping sfx not doing anything
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-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-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-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-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-19read and store qt audio devicestonedDiscord
2019-08-05removed meaningless modifiers (see ↵David Skoland
https://software.intel.com/en-us/articles/cdiag858)
2019-07-27Bump version to 2.6.2 (#87)oldmud0
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-03-12gcc didn't like thatstonedDiscord
2019-01-21Remove constexpr from aoapplication.holdmud0
2019-01-03Bump version to 2.6.1oldmud0
2018-12-26moved headers into include and cpp files into src + logo into resourceDavid Skoland