Commit Graph

542 Commits

Author SHA1 Message Date
in1tiate
c0c278e63c
Fix crashes related to music list context menu (#1088) 2025-03-14 08:22:00 -05:00
in1tiate
36ad63b0c0
Remember category expansion state when regenerating music list (#1083)
* remember category expansion state when regenerating musiclist

* don't do file i/o here actually

---------

Co-authored-by: stonedDiscord <Tukz@gmx.de>
2025-03-09 08:15:45 -05:00
in1tiate
a8156ed1b9
Fix shownames toggle not being respected in several places, clean up implementation (#1080)
* Move showname switch to settings and fix it

* let the append function handle shownames
2025-02-09 16:53:36 +01:00
in1tiate
0d6b89fa1f
Use global evidence instead of local for display (#1073) 2025-01-23 03:17:11 -06:00
in1tiate
fa94955d4f
Fix legacy position population (#1069)
* 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-23 03:16:42 -06:00
in1tiate
91e15ef484
Merge branch 'master' into cleanup 2025-01-13 17:29:54 -06:00
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
2389ecfa97 avoid loop container detach 2025-01-11 02:27:35 -06:00
in1tiate
dd378d1040 clazy cleanup 2025-01-11 02:25:35 -06:00
in1tiate
4dae73c848 use std::as_const instead of qAsConst 2025-01-11 01:45:28 -06:00
Salanto
fedf26075a
Fix evidence not being consistently presentable (#1048)
* Fixup evidence presentation code, methink

* Bump RC, because I can
2024-09-08 02:18:12 -05:00
in1tiate
851b8c6a69
[Bugfix] move effects box reset to reset_ui (#1045) 2024-08-31 15:42:32 +02:00
in1tiate
cbda03ed6c
[Refactor] Update font outline code to account for offsets 2024-08-31 15:24:55 +02:00
Salanto
c4d94cec42
Fix PlayerList and Slide button not showing up (#1041) 2024-08-28 10:34:54 -05:00
in1tiate
dad625ccd4
Explicitly show widgets when positioning them (#1040) 2024-08-25 17:54:32 +02:00
Salanto
50204ec2e2
[Bugfix] Fix slides not applying the X offset during slide position calculaiton (#1038)
* Make slides correctly respect X offset

* Bump to RC4 cause I am cute like that
2024-08-24 15:33:49 +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
Salanto
b882917af8
Merge branch 'master' into restore-window-position 2024-07-11 20:40:36 +02:00
Leifa
c745d0a1b7
QApplication less! (#1017) 2024-07-11 20:40:21 +02:00
Salanto
9002d1201d *blood sacrifice for clang* 2024-07-11 18:00:59 +02:00
Salanto
d9aada2900 Add Courtroom position restore 2024-07-11 15:52:34 +02:00
Leifa
662d4781d2
Remove editable side dropdown (#1009)
Resolve #985

Co-authored-by: stonedDiscord <Tukz@gmx.de>
2024-07-09 12:53:19 +02:00
Salanto
074490e347
Merge branch 'master' into fix-areaswitch-bs 2024-06-25 11:35:34 +02:00
in1tiate
5be0860278
Fix color-related UI not honoring chatbox setting (#984)
Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-06-25 11:34:23 +02:00
Salanto
6738ba6c5e
Merge branch 'master' into fix-areaswitch-bs 2024-06-25 11:28:31 +02:00
Leifa
8004477d0c
Fix positions not being listed (#990) 2024-06-23 20:21:28 +02:00
Leifa
4043d97257
Fix background scaling and centering (#982)
Fix #978
2024-06-21 22:00:28 -05:00
in1tiate
6c6e46f6fc
Explicitly set sane line spacing (#981)
* Explicitly set sane line spacing

* Update naming to reflect setting set by Format + fix memory leak

Address memory leak

---------

Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-06-18 19:38:13 +02:00
in1tiate
9eb9b6f965 remove accidentally included debug calls 2024-06-11 18:13:17 -05:00
in1tiate
8ca0acc5f4 hide charlayers on area switch background changes
only applicable on servers which send displayable background updates on area switch
2024-06-11 18:10:22 -05: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
in1tiate
5bc82b0d4f restore accurate slide bookending 2024-05-31 10:35:58 -05:00
in1tiate
37f103e2c2 restore old bg fallback behavior 2024-05-30 15:13:35 -05:00
in1tiate
83715f4276 fix effects continuing to be displayed when they shouldn't 2024-05-27 10:33:06 -05:00
in1tiate
da3b872beb just hide the layer in courtroom.cpp 2024-05-27 10:22:01 -05:00
in1tiate
f09ff7fc51 fix first-person / narrator mode 2024-05-26 13:39:14 -05:00
in1tiate
b9df908113 fix pair layer not being hidden correctly 2024-05-26 13:30:23 -05:00
TrickyLeifa
eb024cb931 Renamed pos_center to rect from Background/design.ini 2024-05-23 16:10:45 +02:00
TrickyLeifa
29284c0b21 Removed theme submodule, ...
* Removed theme submodule.
  * This should be handled by the CI.
* Fixed effects not disappearing when they should (cull / repeat)
2024-05-23 00:02:07 +02: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
137a2d3a04 speedline thing 2024-05-20 12:46:35 -05:00
in1tiate
2c696f2cd1 other random fixes
fix evidence presenting sfx playing at literally 100x intended volume
fix "def2" etc wrong evidence icon position, remove inaccurate evidence positions
2024-05-20 12:32:35 -05:00
in1tiate
e2b47afd91 stop filling the log with raw net traffic 2024-05-20 12:03:36 -05:00
in1tiate
5d90088b5c clang-format pass 2024-05-20 09:12:47 -05:00