aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.h
AgeCommit message (Collapse)Author
2026-03-29Allow saving character side in update_characterOsmium Sorcerer
This fixes "Reload theme" button resetting position.
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.
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-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
2024-07-12Merge pull request #1016 from AttorneyOnline/restore-window-positionLeifa
[Feature] Add support for windows position restore
2024-07-12Add playerlist widget element (#996)Salanto
* Commit * Boyfailure code commit * Cooking code spaghetti * Accidental overwrite recursive function call hell * Implemented player list * Add partial moderator widget Sleepy time! Hee-Hoo! * Moderator Dialog - Step 1 - WIP * Appease the clang gods * Clang appeasement policy * *sacrifices goat to clang* * Added player report, reworked implementation, ... * Added player-specific report * Reworked implementation * No longer uses JSON. * Removed preset loader. --------- Co-authored-by: TrickyLeifa <date.epoch@gmail.com> Co-authored-by: Leifa <26681464+TrickyLeifa@users.noreply.github.com>
2024-07-11Add Courtroom position restoreSalanto
2024-07-09Remove editable side dropdown (#1009)Leifa
Resolve #985 Co-authored-by: stonedDiscord <Tukz@gmx.de>
2024-06-03Added screen slide timerTrickyLeifa
* Added screen slide timer * Added so that the animation becomes interruptible.
2024-05-31restore accurate slide bookendingin1tiate
2024-05-22Complete AOLayer reimplementation, ...TrickyLeifa
* Complete AOLayer reimplementation * Reimplemented sliding as well.
2024-05-20Initial slide rebase commitin1tiate
2024-05-18Reimplemented unit tests, ...TrickyLeifa
* Reimplemented unit tests and simplified addition of new tests * Minimal support of Qt is now 5.15
2024-05-16Reimplemented favorite server widget, ...TrickyLeifa
* Reworked favorite server widget * Renamed `server_type` to `ServerInfo` * Renamed `connection_type` to `ServerConnectionType` * Refactored `AOCharButton` * Reimplemented `AOButton` * Partially reimplemented `AOEmoteButton` * Refactored `AOEvidenceButton`
2024-05-15Merge branch 'master' into kaleidoscopeTrickyLeifa
2024-05-15Ported to CMake, ...TrickyLeifa
* Ported the project to CMake * Android and Mac support dropped for the time being. * Tests, BASS and Discord-RPC are now options * Restructured and reformated the project. * Merged `include` and `src` * Renamed `resource` to `data` * Renamed various files * External libraries headers are no longer included in `src` * Replaced header guards with #pragma once * Multiple refactors (keywords, headers) * Added Qt6 compatibility * Removed various unused functions and headers * Reworked AOPacket * When content is passed to AOPacket, it should be ensured that the content is already decoded. * Encoding/decoding are now static methods. * Fixed various memory leaks * Removed animation code for AOImage * AOImage is always using static images * Simplified ChatLogPiece