Commit Graph

2134 Commits

Author SHA1 Message Date
in1tiate
ca660cc439 make range-for const 2025-01-11 01:54:56 -06:00
in1tiate
4dae73c848 use std::as_const instead of qAsConst 2025-01-11 01:45:28 -06:00
Salanto
115c1ccd1d
Update readme content link (#1062) 2024-12-22 08:54:07 -06:00
in1tiate
dc40f78acc
enable external links in server descriptions (#1059) 2024-12-13 09:44:30 +01:00
Salanto
b4cf723e74
Remove RC label (#1054) 2024-11-02 16:51:41 +01:00
Salanto
b3c0e78565
[QoL] Improve client version check (#1053)
* 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
2024-10-31 12:12:38 +01:00
Salanto
7f17c0b697
Add fonts from mounted folders (#1051)
* Add fonts from all mount paths

closes #980

* Optimise includes

* Woopsie
2024-10-17 15:19:23 -05:00
Salanto
4c22bdc336
Bump version label (#1050) 2024-10-01 23:29:39 +02:00
in1tiate
74e65324ef
i'm annoyed i have to make a merge request for this (#1049) 2024-09-08 11:03:06 +02: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
Salanto
0c10f03150
[Feature] Add support for custom playerlist formatting, show all users when authenticated (#1046)
* Playerlist QoL

* Remove excessive whitespaces

* Add placeholder when displayname is unavailable
2024-08-31 13:29:26 -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
552ccc38d6
Update PlayerList to work more akin to WebAO (#1039)
* Add Playerlist label formatter to account for missing args

* Make it less of a visual atrocity
2024-08-25 16:31:16 +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
stonedDiscord
b7dd8984d7
load aceattorney if there is no theme in the ini (#1037) 2024-08-24 15:33:39 +02:00
in1tiate
da7cc77f1f
change default theme variable back (#1036) 2024-08-07 07:03:12 +02:00
Salanto
6a44e09f05
Fix crash in demos due to PU not being recorded (#1032)
Added some guards due to bad demo files being shared by now
2024-08-03 11:39:29 +02:00
Salanto
ac673099e0
Send username when connecting (#1031)
Hack af, but the alternative is breaking compatability on the last mile.
2024-08-02 14:45:47 -05:00
stonedDiscord
f0c594aed8
change the string (#1030) 2024-08-02 20:43:27 +02:00
OmniTroid
0e45f3c0ee
Universal configure script (#1022)
* Init configure.sh

* echo detected platform

* Implement check_command

* Implement install_bass_macos, plus checks

* Ignore tmp

* Add configure main function and bass installs

* Less functions

* Reformat file, add some stuff

* Start adding automatic qt detection

* Curl is more portable it seems

* Try finding Qt's bundled cmake

* fix cmake command checking

* Reorder to windows first

* do not download deps if already present

* Add configure clean

* Fix basic command checks

* cmd fixes

* thank you bash, very cool!

* fix file shenanigans

* unneccessary comment

* Use qt_path instead of qt_cmake

* Ignore apng folder

* Rework with QT_PATH

* Move find_qt to the top

* move check_command near the top

* Tidy up command checking

* Rename QT_PATH to QT_ROOT and call the qt installation path QT_PATH instead

* only clone qtapng if no dir

* Cmake shenanigans

* Fix build with ninja

* Fix apng cp cmd

* Fix apng check

* Just call it cmake

* Run cmake in configure.sh

* Ignore generated files

* Comment out mega cmake command

* Fix apng check

* more cmake stuff

* make the cmake command we use very clear

* ignore cmake_cmd.txt

* Note that linux and macos is not supported

* Update README

* Add some stuff to windeployqt

* Clone themes

* macos fixes

* Only call windeployqt on windows

* Linux fixes

* Remove linux todo comment

* Remove git stuff from themes checkout

* Note about vanilla content..

* Add note about formatting in readme

* Remove e flag so script doesn't stop with no error messages

* Note about toolchains on unix-likes

* Fix cmake path on linux

* Rework get_zip for better error handling and less unzipping unnecessary files

* Adjust get_zip calls

* Hopefully make error handling more robust

* Fix bassopus on linux

* linux bassopus pathing fix

* Fix discord rpc linux

* Add note about opengl

* Ignore test_aopacket

* Tidy up readme a bit again

* Remove old configure scripts
2024-07-31 13:40:43 +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
Jumbowl
0c3a4259ab
Evidence Display Hack (#1021)
Does not display the evidence "shoop" effect when you're presenting the same piece of evidence multiple times.

Co-authored-by: JumsAOMems <nmjamesbutler@gmail.com>
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2024-07-21 09:36:14 -05:00
OmniTroid
ec914d9047
FIx several compiler warnings (#1025)
* Do not use deprecated QAbstractSocket::SocketError

* Do not use deprecated ::location

* Do not discard translation load return value

* Use static function calls where applicable

* Remove unused include

* Remove qt6 check

* Remove deprecated type()

* Remove qt6 check

* Use typeId instead of deprecated type

* clang-format fix
2024-07-21 16:34:23 +02:00
Leifa
4129c1ffda
Fix slide position overriding when it shouldn't (#1023)
* Fix slide position overriding when it shouldn't

* Cover all positions instead
2024-07-19 13:20:21 +02:00
Leifa
640b026534
Playerlist fix (#1018)
* 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.

* Remove unused code.

* Safety measures against potential segfault.

* Removes unused code

---------

Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-07-14 16:25:25 +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
in1tiate
a09712cc4d
Update "about" dialog (#1020)
Update username for major contributor scatterflower
Add credit for akashi
2024-07-13 12:08:11 +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
712269b450 Set default to enabled 2024-07-12 13:24:45 +02:00
Salanto
c6e3a38131 Removing debug statements 2024-07-12 13:24:11 +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
c7947368b0 Remove unused QSettings object
Forgot that was still there
2024-07-11 16:53:11 +02:00
Salanto
3cc0b8f281 Add to lobby 2024-07-11 16:18:06 +02:00
Salanto
1a2036d4b6 Add setting entry 2024-07-11 16:04:18 +02:00
Salanto
d9aada2900 Add Courtroom position restore 2024-07-11 15:52:34 +02:00
Salanto
b74281d8b5
Set MultiGen to Release Mode (#1015)
* Explicitly set build type to Release cause mutligens suck

* Wrong line

* Anguish
2024-07-10 21:35:32 +02:00
Leifa
efd2571459
Remove TCP entry point (#1007)
* Remove TCP entry point

Resolve #987

* Remove TCP entry point
  * Servers that do not support WebSocket will be marked as `Legacy`
  * Removal of TCP connection from the master will follow later.

* Tweaked error message
2024-07-09 13:07:30 +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
Leifa
8a98de8cb3
Fix transformation mode for layers (#998)
* Fix transformation mode for layers

Resolve #997

* always use smooth transform resampling for stretched images

* Used fixed frame size

* Run Clang Format over file

---------

Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
Co-authored-by: stonedDiscord <Tukz@gmx.de>
2024-07-09 12:52:41 +02:00
lambdcalculus
81ca470c0c
Make launch.sh cwd-independent (#1011) 2024-07-09 10:17:03 +02:00
OmniTroid
9634d6ed03
Github -> GitHub in readme linux (#1010)
* Make it clear where launch.sh is

* gIThUb really likes their proper capitalization

* Revert
2024-07-09 10:04:19 +02:00