aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-03-29Support passworded characters in character listOsmium Sorcerer
This obscure feature has been present for years, from sending passwords to the server to showing `char_passworded` image over character icons. Servers could already exploit clients sending `PW` with a password every time they select a character to implement passworded characters. The clients had no way of knowing which ones were passworded, however, and couldn't filter them despite "Passworded" checkbox being here all along. The approach used by this commit is a hack. During loading, server sends SC which is a list of characters, each one having name, description, and evidence. In practice, only names were used. Descriptions were stored in memory but unused, and evidence was ignored altogether. By adding a magic value "P" in this "character evidence" field, server can mark passworded characters without breaking Vanilla compatibility.
2026-03-29Stop setting volume on evidence showOsmium Sorcerer
Presenting evidence took volume as a parameter which it also set. It's unnecessary as the evidence uses the same SFX player, the volume of which is controlled by the player with a slider.
2026-03-29Force HTTPS scheme in music streaming URIsOsmium Sorcerer
Additionally, fix the path construction for music tracks that are requested via asset URI.
2026-03-29Rewrite audio engine: replace BASS with miniaudioOsmium Sorcerer
SFX and blip players largely remain the same. For the music player, we now have to implement network streaming natively, we no longer have a convenient function that did everything for us. I introduced QNetworkRequest to download the stream in memory and signal when it's ready to be decoded and played back. The size is guarded to prevent the client from accidentally downloading terabytes of audio. Delete QFutureWatcher, we no longer need it for concurrency. miniaudio uses a separate audio thread. Network donwloads and communication with the track name display are handled by Qt signals. Also, delete an odd "music.txt" feature. Its purpose was specifying offsets for loops in a text file per track, but it remained obscure and unused in practice. Unsupported: - Large streams, including unbounded ones (radio). We'll need a ring buffer for that, and a mechanism to write to it from the network and feed it to the audio thread. - Effect flags: fade in, fade out, sync pos. Ignored. - Audio device selection.
2026-02-06Double scaling factor (#1104)stonedDiscord
* float scaling * float scaling factor * aooptions float * doublespinbox * header file double * double it up * clamp to 0.1
2026-02-03WSS support (#1114)stonedDiscord
* add ssl scheme * use protocol * set port * remove last legacy entry
2025-05-08Close punishment dialog when the user leaves (#1097)Salanto
* Close punishment dialog when the user leaves Prevents silly moments where the wrong person gets banned/kicked * Fix formatting --------- Co-authored-by: stonedDiscord <Tukz@gmx.de>
2025-05-08Explicitly set app icon on widgets (#1098)Salanto
2025-04-21demo fixes (#1095)in1tiate
- fix RD being recorded twice - fix demos recording themselves
2025-03-14Fix crashes related to music list context menu (#1088)in1tiate
2025-03-09Remember category expansion state when regenerating music list (#1083)in1tiate
* remember category expansion state when regenerating musiclist * don't do file i/o here actually --------- Co-authored-by: stonedDiscord <Tukz@gmx.de>
2025-02-28contribs (#1087)in1tiate
2025-02-18improve language for previews (#1084)in1tiate
2025-02-09Fix shownames toggle not being respected in several places, clean up ↵in1tiate
implementation (#1080) * Move showname switch to settings and fix it * let the append function handle shownames
2025-01-23Make sure QList is large enough before calling at() (#1074)in1tiate
2025-01-23Use global evidence instead of local for display (#1073)in1tiate
2025-01-23Fix null pointer exception on motd fetch failure (#1071)in1tiate
2025-01-23Fix legacy position population (#1069)in1tiate
* Reworked legacy position population - Changed data structure to a static list of pairs to avoid unnecessary deep copies - Fixed oversight which caused iteration over the value and not the key of the previous QMap * clang-format pass :rolling_eyes: * disambiguate pair order further
2025-01-13Merge branch 'master' into cleanupin1tiate
2025-01-13don't filter out information we have anyway (#1068)in1tiate
2025-01-13Merge branch 'master' into cleanupin1tiate
2025-01-13Add the ability to "favorite" songs and pin them to the the top of the ↵in1tiate
songlist (#1066) * add song favoriting * remove incorrectly placed sort() * store as qstringlist instead of using keys
2025-01-11avoid loop container detachin1tiate
2025-01-11clazy cleanupin1tiate
2025-01-11avoid detaching temporary containerin1tiate
2025-01-11avoid detaching temporary containerin1tiate
2025-01-11make regular expression object staticin1tiate
2025-01-11fix static regexpsin1tiate
2025-01-11unused macroin1tiate
2025-01-11remove unused stringin1tiate
2025-01-11use a static QRegularExpression objectin1tiate
2025-01-11use multi-argin1tiate
2025-01-11clazy cleanupin1tiate
2025-01-11make range-for constin1tiate
2025-01-11use std::as_const instead of qAsConstin1tiate
2024-11-02Remove RC label (#1054)Salanto
2024-10-31[QoL] Improve client version check (#1053)Salanto
* Improve version check * Add informative warning * Fix the most critical issue that AO2 has ever encountered An ugly header include * Increase verbosity and visibility * TUH
2024-10-17Add fonts from mounted folders (#1051)Salanto
* Add fonts from all mount paths closes #980 * Optimise includes * Woopsie
2024-10-01Bump version label (#1050)Salanto
2024-09-08i'm annoyed i have to make a merge request for this (#1049)in1tiate
2024-09-08Fix evidence not being consistently presentable (#1048)Salanto
* Fixup evidence presentation code, methink * Bump RC, because I can
2024-08-31[Feature] Add support for custom playerlist formatting, show all users when ↵Salanto
authenticated (#1046) * Playerlist QoL * Remove excessive whitespaces * Add placeholder when displayname is unavailable
2024-08-31[Bugfix] move effects box reset to reset_ui (#1045)in1tiate
2024-08-31[Refactor] Update font outline code to account for offsetsin1tiate
2024-08-28Fix PlayerList and Slide button not showing up (#1041)Salanto
2024-08-25Explicitly show widgets when positioning them (#1040)in1tiate
2024-08-25Update PlayerList to work more akin to WebAO (#1039)Salanto
* Add Playerlist label formatter to account for missing args * Make it less of a visual atrocity
2024-08-24[Bugfix] Fix slides not applying the X offset during slide position ↵Salanto
calculaiton (#1038) * Make slides correctly respect X offset * Bump to RC4 cause I am cute like that
2024-08-24load aceattorney if there is no theme in the ini (#1037)stonedDiscord
2024-08-07change default theme variable back (#1036)in1tiate