aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-11Revert the meme of instant text.Crystalwarrior
Instant text using }}} is not only meme-worthy in how limited it is in practice, it also makes the blip ticker completely confused how and when to play the blips (to make instant text possible, the entire system needs rewriting (again)
2020-09-11Lots of blip rate fixes:Crystalwarrior
Remove qElapsedTimer method of blip earrape protection due to major inconsistency issues with this method (the same message would produce wildly different blip sounds - consistency is preferred) More sophisticated blip earrape prevention is calculated in the chat ticker function itself, it also properly adjusts itself depending on the blip_rate used.
2020-09-11More accurate/consistent blip rate functionality inspired by ↵Crystalwarrior
https://youtu.be/Min0hkwO43g
2020-09-07Apply suggested change to remove need for additional functionin1tiate
2020-09-07Add 600ms rate limit to IC signalin1tiate
2020-09-07Alter logic flow to include theme folders for shout soundsin1tiate
2020-09-07Add dropdown function to set_widgetsin1tiate
2020-08-30Merge pull request #274 from AttorneyOnline/windrammer/fix-273-button-generatoroldmud0
Fix: Qt failing to paint a darker button if source image is indexed
2020-08-29Merge pull request #278 from Crystalwarrior/bugfix/qmovie-optimizationoldmud0
Cache QMovie objects to reduce lag
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-08-25Merge pull request #276 from Crystalwarrior/bugfix/sprite-freedomoldmud0
Allow non-png static image lookups
2020-08-25move "check" to the very end instead of very start in packet_distributionCrystalwarrior
2020-08-25forgot to ctrl+s header definitions fuckCrystalwarrior
2020-08-25Implement clock pausingCrystalwarrior
Implement clock setting w/o starting or stopping Both of these should make it possible for the server to start/stop/pause/resume the clock with perfect synchronization to the true time.
2020-08-25Introduce the timer packet - "TI".Crystalwarrior
This timer will start the clock accounting for latency! Cool, right? Remove useless qDebug() for music looping
2020-08-25Actually make use of the completely useless CHECK and CH keepalive timer and ↵Crystalwarrior
use them to determine the client's ping. Display ping in the application window title. keepalive timer now fires every second instead of every minute Remove meme clock starting on set_widgets() implement get_ping() on w_courtroom
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-08-23Fix: Qt failing to paint a darker button if source image is indexedlikeawindrammer
By converting the image to an 8-bits per channel image with alpha channel we make sure the client won't fail painting a darker button, and keep the transparency if the source image had.
2020-08-22Merge pull request #271 from AttorneyOnline/2.8.5-hotfixoldmud0
2.8.5 hotfixes
2020-08-22Only reinitialize audio on device changeoldmud0
2020-08-22Fix upward log scrolling down instead of upoldmud0
Stop using upwards log. Seriously. No other program does this.
2020-08-21add project comment toggle for verbose network logsscatterflower
2020-08-21remove slow loadingscatterflower
2020-08-21remove remaining traces of fantacryptscatterflower
2020-08-21remove fantacryptscatterflower
2020-08-21Merge pull request #246 from AttorneyOnline/2.8oldmud0
Merges 2.8.5, which is a patch release for 2.8 with no substantially new features. This commit is release-ready.
2020-08-21Proof of concept complete. The timer will now take int msecs to start, and ↵Crystalwarrior
will properly display the time remaining until target time in hh:mm:ss.zzz Clock can be defined in courtroom_config.ini and its font set in courtroom_fonts.ini Pause and resume functions will not work as expected atm.
2020-08-21add a new aoclocklabel class that is a QLabel with fancy DR-Style timing ↵Crystalwarrior
features WIP
2020-08-21Translations: Update Portugueselikeawindrammer
2020-08-21Translations: Update Spanishlikeawindrammer
2020-08-21gitignore: Ignore base/serverlist.txtlikeawindrammer
2020-08-20Rename serverlist.txt -> serverlist.sample.txtoldmud0
We don't want to accidentally overwrite players' server lists when performing trivial updates. (The launcher should remove the 'sample' qualifier when it is performing a full install, though that is not implemented right now and the move operation is sadly broken.)
2020-08-20Update themes submoduleoldmud0
2020-08-19Merge some various CI changesoldmud0
Most importantly, Linux now targets Qt 5.9.5 with a self-built version of QtApng, which should fix the Qt version issues.
2020-08-19version bump to 2.8.5scatterflower
2020-08-19Reset BASS when switching devices; drop Qt Multimedia support (#262)scatterflower
* Allow changing audio device on the fly while in a server * Use default audio device if device in config doesn't exist * Automatically change audio device to default when current one is invalid * Destroy Qt Multimedia support It was decided that there was not enough attention being given to Qt Multimedia support to justify its continued maintenance simply as a libre alternative to BASS. While substantial changes to audio were being made in 2.8, the Qt Multimedia support code fell behind in disrepair. It's clear that there is no vested interest in implementing audio features twice for the sake of licensing. When it's time to switch to another audio library, it will be done unilaterally. * CI: Use BASS for Linux build Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2020-08-19IC log rewrite (#259)Crystalwarrior
* Rewrite the IC Log code to drastically reduce code duplication and have both downward and upward mode in the same function Regenerate the IC Log in set_widgets() function, making sure the maximum_blocks is accounted for and clearing the log to prepare for different log mode (upwards/downwards) if it's different from previous Add placeholder text telling the user the direction in which the log will go Remove useless first_message_sent global boolean, a remnant from a w e a k e r c o d e r m a n * Add log_colors boolean to reduce color I/O happening in append_ic_text (optimization meme) Clear the IC log when log_colors setting changes and reload theme is pressed Fix https://github.com/AttorneyOnline/AO2-Client/issues/221 * Add configurable margin between IC log entries Add configurable newline/singleline log mode Options in settings for these * Add optional timestamps * Un-hardcode "played music" from the chatlogpiece and introduce the "action" argument so that "presented evidence" is fully supported now Translate "has presented evidence" Regenerate IC chatlog instead of clearing it, properly updating every element with the new configurations * Go away *temp, code duplication making me shid and cry rn Why is this not done in append_ic_text, or why isn't there a dedicated ic logging func aAAAaaaaAAAaa Fix presenting evidence not being properly logged Fix timestamp being UTC instead of local time (local time will not be as confusing) * okok it was a joke a big ol bamboozle you got gnomed haha rick rolled beaned stickbugged I did NOT copy paste code, no, I actually intended to fix copy pasted code all along. log_ic_text was always planned. (Fix copypasted code for ic_chatlog_history and consolidate it into a single log_ic_text func)
2020-08-18Update themes referencelikeawindrammer
2020-08-18CI: Fix nested base folders in artifactoldmud0
2020-08-18CI: Build QtApng on Linuxoldmud0
- Set lib as artifact instead of cache (to avoid race condition described in https://gitlab.com/gitlab-org/gitlab/-/issues/21409) - Delete _Unadapted folder and .git files when exporting artifact (yuck! should probably have never incorporated AO2-Themes as a separate repo; it should probably have stayed part of the vanilla repo.)
2020-08-18CI: Pin Linux target to Ubuntu 16.04 (Qt 5.9.5)oldmud0
2020-08-18Improved blankposting (#256)Crystalwarrior
* Consolidate blankposting into singular log entries of "no message" instead of spamming the logs repeatedly when someone decides to keep switching emotes Return proper blankpost checking to 2.8.5 (chatmessage_is_empty bool makes sure the chatbox doesn't appear - branch broke that behavior by never setting it) More robust blankpost checking, meaning that passing a competely empty "" string will also count as a blankpost Fix screenshake not working with blankposting by moving it before the chatmessage_is_empty check in start_chack_ticking() stage of the message parsing * Allow user to send blankposts without even having to input a single spacebar, but only if last m_chatmessage CID matches ours. * Reviews are cool and good:ok_hand: allow sending no-text chat message to server without weird cid checks (let the server validate if they want to do STR_OR_EMPTY or just STR) - doesn't break existing behavior and lets servers introduce the new one if they want to Treat all blank/whitespace messages as blankposting and not just single-whitespace. Remove chatmessage_is_empty bool because why the fuck would you even need it if you have m_chatmessage[MESSAGE] already Simplify chatlogpiece log entry to not be a *temp pointer by suggestion * another useless bool destroyed Make "additive" have a very awesome emergent behavior with blankposting - keep showing the chatbox+message while only changing the emotes. Works with preanims too!
2020-08-17Merge pull request #255 from scatterflower/2.8scatterflower
Do not update colors in log for each IC message
2020-08-17fix statement after break; from casescatterflower
2020-08-17Do not update colors in log for each IC messagescatterflower
2020-08-16Merge pull request #254 from scatterflower/2.8scatterflower
2.8.5 finishing touches
2020-08-16clang formatscatterflower
2020-08-16use shownames in log properlyscatterflower
2020-08-16use proper syntax to instansiate qbrushscatterflower
2020-08-16Merge pull request #253 from scatterflower/2.8scatterflower
Don't hang IC due to invalid emote mod