| Age | Commit message (Collapse) | Author |
|
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.
|
|
Additionally, fix the path construction for music tracks that are
requested via asset URI.
|
|
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.
|
|
- Change CMake minimum version.
- Turn off tests and Discord RPC by default in CMake. Let these features
be explicitly enabled if desired.
- Add three build profiles: Dev, Debug, Release. Dev offers the fastest
unoptimized builds. Debug enables additional symbols, tracing, and
turns on Address Sanitizer. Release is aggressively optimized,
including LTO.
|
|
New dependencies:
- Miniaudio as our new audio engine, replacing BASS. Includes additional
codecs.
- Libsodium for cryptography. For now, CMake shall handle its inclusion,
but, ideally, we'll check it in too.
|
|
* float scaling
* float scaling factor
* aooptions float
* doublespinbox
* header file double
* double it up
* clamp to 0.1
|
|
* add ssl scheme
* use protocol
* set port
* remove last legacy entry
|
|
* bass.h moved to c folder
* opus too
* c folder
|
|
* Make it actually non-bash dependent
changed the way script_dir is found to not call on bash
* Make dynamic install not bash dependent
Removes a bash requirement for the env call
* Update APPIMAGE_INSTALL.sh
* Update DYNAMIC_INSTALL.sh
|
|
* selecting /usr/bin/env helps edgecases
There are systems (though rare) that don't have bash, but instead only have sh, or zsh, etc, which would otherwise be able to use our shell scripts, there's no reason to not allow the environment to select its shell.
* Update DYNAMIC_INSTALL.sh
This applies to both the dynamic and appimage installations
|
|
* Delete diubious MIT license
AO2 does not gain copyright by people adding code. This license was added under dubious legal ground and, at best, should've only been added once consent from all contributors whose code was incorporated was given.
* Adjust readme, add relicense.md
|
|
* 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>
|
|
|
|
- fix RD being recorded twice
- fix demos recording themselves
|
|
|
|
* Add integration shell scripts for linux!
These shell scripts (one for appimage and one for dynamic) both should:
1: Move the program files to ~/.local/Attorney_Online
2: Create a .desktop file (which is what applications on Linux use to know to be interacted with) in the ~/.local/share/applications folder (where all other user applications tend to go), with at current a temporary logo until the logo file is parsed out from the xapplication window.
3: open the application, assuming the necessary dependencies are fulfilled
Dynamic required some further support due to the startup shell command working correctly when you click it manually, but struggling on the .desktop folder, so it has the additional step of recreating the current launch.sh command, which still functions if you go to the folder to click it, or if you open the program before integration to test things.
Both sh commands open AO2-Client at completion time. I hope this will help newer Linux users, or older Linux users who normally wouldn't bother, to bring AO into their normal day to day experience.
This has been tested on (by me):
Fedora 40 Workstation (Gnome)
Arch Linux KDE Plasma 6
Ubuntu Unity 24.10 aka Oracular Oriole
Debian 13 Trixie (Before it's freeze, marking date February 9th 2025)
Thank you for reading, have a wonderful day!
* linux CI tweaks
* remove the need for `launch.sh`
* add git hash as appimage version
* bit of reorganization
* add linux install scripts to CI
* tweak linux install scripts to add install scripts
* remove `launch.sh` (as per previous commit)
* add instructions in README_LINUX
* include icon in linux install
* fix install script
and fix typo
* add exec path to desktop files
* why would freedesktop.org do this to me
---------
Co-authored-by: OrioleNix <163466443+OrioleNix@users.noreply.github.com>
|
|
|
|
* remember category expansion state when regenerating musiclist
* don't do file i/o here actually
---------
Co-authored-by: stonedDiscord <Tukz@gmx.de>
|
|
|
|
|
|
implementation (#1080)
* Move showname switch to settings and fix it
* let the append function handle shownames
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
Very cool and professional cleanup of clazy warnings
|
|
|
|
|
|
|
|
songlist (#1066)
* add song favoriting
* remove incorrectly placed sort()
* store as qstringlist instead of using keys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
* Add fonts from all mount paths
closes #980
* Optimise includes
* Woopsie
|