Commit Graph

21 Commits

Author SHA1 Message Date
in1tiate
047742a729
Add the ability to "favorite" songs and pin them to the the top of the songlist (#1066)
* add song favoriting

* remove incorrectly placed sort()

* store as qstringlist instead of using keys
2025-01-13 17:28:56 -06:00
in1tiate
da7cc77f1f
change default theme variable back (#1036) 2024-08-07 07:03:12 +02:00
stonedDiscord
f0c594aed8
change the string (#1030) 2024-08-02 20:43:27 +02:00
Salanto
4d1b0517e3
V2.11.0 rc1 fixes (#1029)
* Use unix timestamp to transmit ban duration

* Cleanup compiler warning due to narrowing conversion

* Fix preanim not being visible

This is apparently not a feature we want from WebAO :^)

* Bump to RC2

* Use std::chrono instead

* Remove random include and debug call
2024-07-31 11:55:25 +02:00
Salanto
e82726ba5b
Attorney Online 2.11 Release Candidate 1 (#1026)
* Version bump and minor fixes

* Remove unecessary headers

Thanks QtCreator
2024-07-21 18:54:52 +02:00
Leifa
23077d0291
Resize mode patch (#1019)
* Fix transformation mode for layers

Resolve #997

* always use smooth transform resampling for stretched images

* Used fixed frame size

* Implemented resize mode changes

Resolve #999

* Added alias to pixel resize mode

* Added user option

---------

Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2024-07-13 15:31:51 +02:00
Leifa
d05636571e
Merge pull request #1016 from AttorneyOnline/restore-window-position
[Feature] Add support for windows position restore
2024-07-12 14:06:27 +02:00
Salanto
e34b2534ed Restore position in AOApplication 2024-07-12 13:23:40 +02:00
Salanto
fb64ca386c
Add playerlist widget element (#996)
* 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-12 11:48:01 +02:00
Salanto
8fac2ada62 Harden screen position check against missing monitors 2024-07-12 00:06:21 +02:00
Leifa
c745d0a1b7
QApplication less! (#1017) 2024-07-11 20:40:21 +02:00
Leifa
4043d97257
Fix background scaling and centering (#982)
Fix #978
2024-06-21 22:00:28 -05:00
TrickyLeifa
d135bbc511 Fixed emote synchronization, ...
* Fixed emote synchronization
  * Still requires identical frame count. Will still cause freeze as it syncs.
* Fixed frame effects not working on idle and talk emotes.
* Characters are now repositioned after background sliding is over.
2024-05-22 23:30:31 +02:00
TrickyLeifa
695d51dbfe Complete AOLayer reimplementation, ...
* Complete AOLayer reimplementation
* Reimplemented sliding as well.
2024-05-22 22:10:29 +02:00
in1tiate
adf32f4727 Initial slide rebase commit 2024-05-20 08:47:27 -05:00
TrickyLeifa
0500a54260 Changed include definitions to reflect third-party stature 2024-05-17 20:36:36 +02:00
TrickyLeifa
fefaad5394 Merge branch 'master' into kaleidoscope 2024-05-17 19:19:04 +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
a0cee58c04 Merge branch 'master' into kaleidoscope 2024-05-15 00:23:46 +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