Commit Graph

24 Commits

Author SHA1 Message Date
Leifa
f59b41fe08
Removed MIDI, removed undocumented (yet supported) formats (#1008)
* Removed MIDI, removed undocumented (yet supported) formats

Resolve #1006

* Adjusted CI for MIDI removal
2024-07-07 15:04:49 +02:00
TrickyLeifa
a714bacd1a Added screen slide timer
* Added screen slide timer
  * Added so that the animation becomes interruptible.
2024-06-03 18:11:17 +02:00
TrickyLeifa
695d51dbfe Complete AOLayer reimplementation, ...
* Complete AOLayer reimplementation
* Reimplemented sliding as well.
2024-05-22 22:10:29 +02:00
Salanto
f174a633d7
Update CI, Deprecate Linux/MacOS for now (#960) 2024-05-19 00:31:43 +02:00
TrickyLeifa
406a4661ae Tests may now be disabled 2024-05-18 02:34:02 +02:00
TrickyLeifa
657145035c Reimplemented unit tests, ...
* Reimplemented unit tests and simplified addition of new tests
* Minimal support of Qt is now 5.15
2024-05-18 00:48:55 +02:00
TrickyLeifa
b306929311 Resolved merge conflicts.
This comment format is just tiring for the eyes. Imagine being on 1080p and not being able to read more than 5 method definitions due to comments.
2024-05-17 19:44:37 +02:00
TrickyLeifa
1ef96383c8 Lightly reworked NetworkManager, ...
* Lightly reworked `NetworkManager`
* Added new modules to handle various connection types.
  * TCP
  * WebSocket
* Added general string splitter alias based on Qt version.
* Replaced `lobby_constructed` and `courtroom_constructed`
* Refactored and partially reimplemented the following classes:
  * `AOBlipPlayer`
  * `AOEmotePreview`
  * `AOMusicPlayer`
  * `AOSfxPlayer`
  * `AOTextArea`
2024-05-17 19:04:57 +02:00
TrickyLeifa
39e4354b1d Reimplemented favorite server widget, ...
* 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-16 03:09:21 +02:00
TrickyLeifa
c9f52b7223 Ported to CMake, ...
* 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
2024-05-15 00:04:16 +02:00
OmniTroid
74b02513e3
Cmake fixes (#885)
* Add required macos frameworks

* Make building tests optional

* Add missing source and header files from cmakelists
2023-01-05 08:10:30 +01:00
Salanto
f0a5e48f5c
Dual-Stack AO2 Client to handle both TCP and Websocket connections seemlessly (#696)
* Replace TCP Serversocket with Websocket

* Have TCP sockets live harmoniously with WS

"like 5 lines" yeah probably lost a bet.

* Update .gitlab-ci.yml

* hack to fix favorites

* Add support for websockets in the favorites list (serverlist.txt)
Make "add_favorite_server" remember the socket type

* Preserve old serverlist style

This will keep new entries compatible with 2.9 and prior clients. Makes parsing the list easier too.

* Add lookup table and correct write code to use lowercase

* I have no idea what a lookup table is, but this looks close enough

* Fix lookup table

* Otherwise backend selection behaviour is inverted

* clang-tidy had one job

* Yet it did not do it.

Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>

* const p_data

* Switch serverlist.txt to an ini format

* Fixes an Omni bug where : would split the servername
* Utilises internally QSettings properly for low parsing effort and clear structure
* Automatically migrates the legacy serverlist.txt to favorite_servers.ini
* Pleases my OCD

* Replace sample serverlist.

Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Co-authored-by: stonedDiscord <Tukz@gmx.de>
Co-authored-by: Alex Noir <Varsash@gmail.com>
2022-06-06 19:14:44 +02:00
stonedDiscord
e0c67124a6
Midi music (#614)
* add bassmidi everywhere but CI

* hello CI please don't ban me from github

* add lib and open midi files with the lib

* overlooked windows CI

* yes, overwrite everything

* add tracker support

* add file formats that bass supports

* forgot .mid smh

* load all plugins in one function
2022-03-25 15:58:59 +03:00
oldmud0
77b017a083 Fix MSVC builds freezing due to AOLayer concurrency issue
Variables accessed across threads should be atomic.

Also gave AOLayer its own thread pool and switched some lock calls to use QMutexLocker semantics.
2022-01-05 21:39:23 -06:00
Skye Deving
c7c5f5bf2d Add icon to windows executable 2021-01-28 11:05:42 -06:00
Skye Deving
5ac4a9ed97 Set property for win32 exectuable to true 2021-01-28 11:05:42 -06:00
Skye Deving
32cf9e11b7 Build with C++20 2021-01-28 11:05:42 -06:00
Skye Deving
f5110f758e Add DISCORD compile definition 2021-01-28 11:05:42 -06:00
Skye Deving
26887eff32 Check if the explicit linking is unnecessary 2021-01-28 11:05:42 -06:00
Skye Deving
70cf57a870 Link against qapng 2021-01-28 11:05:42 -06:00
Skye Deving
9c4f8dfc97 Create cmake.yml to run tests on github actions 2021-01-28 11:05:42 -06:00
Skye Deving
640f12b3c7 Use target_sources 2021-01-28 11:05:42 -06:00
Skye Deving
ac9dfe32c0 Enable build through CMakeLists 2021-01-28 11:05:42 -06:00
Skye Deving
07450e9fe8 Add tests aopacket 2021-01-28 11:05:42 -06:00