Commit Graph

2120 Commits

Author SHA1 Message Date
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
lambdcalculus
f91be6b99c
Add AppImage CI build (#1005)
* add AppImage CI build

* specify ubuntu 22.04 LTS in CI

* change +x bit

* use tar to preserve permissions

* make folder names nicer in the tar

* clone themes before making tar archive

---------

Co-authored-by: Salanto <62221668+Salanto@users.noreply.github.com>
2024-07-07 22:26:56 +02:00
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
Leifa
03025119c4
Improve OS detection and add APPIMAGE support to pathing code (#1003)
* Added get_app_path, tweaked pathing to adjust itself for Linux, ...

* Added get_app_path
  * This should be used instead of QCoreApplication::applicationDirPath()
* Tweaked pathing to adjust itself for Linux

* Append separator to base path

* Moved headers where they are needed. (Dunno why they were here.)

* Proper pathing for AppImage
2024-07-06 18:05:48 +02:00
Leifa
a1e13f62fd
Update windows CI to build APNG in the proper directory (#1001) 2024-07-03 08:38:46 +02:00
Leifa
1a7884a726
Tweaked missing image format warning (#994)
* Tweaked missing image format warning

* Tweaked code format

* run clang-format

---------

Co-authored-by: stonedDiscord <Tukz@gmx.de>
2024-07-01 18:49:15 +02:00
OmniTroid
36345612d7
Readme and script cleanup (#995)
* Ignore .idea

* Ignore build dir too

* Remove unused Windows Docker files

* Remove somewhat cryptic launch.sh script

* Remove kebab (javascript)

* Remove outdated release_macos script and rename the most up-to-date one to macos_release

* Clean up README.md and delete the other ones

* Add preliminary configure script

* Add hint in dependencies

* Remove obsolete CONTRIBUTING.md

* let's write the configure script later

* Adding this is so supremely ironic that I can't even

* Update QtApng repo

* Actually we needed that

* Add comment

* Contact should be h2
2024-07-01 18:00:23 +02:00
Leifa
2b970ec4a3
Merge pull request #977 from AttorneyOnline/fix-areaswitch-bs
Fix characters not being hidden on displayable background change
2024-06-30 23:20:50 +02:00
Leifa
c1f120adfb
Merge pull request #993 from lambdcalculus/master
Fix incorrect error messages due to QPluginLoader
2024-06-30 23:19:02 +02:00
Leifa
6488b181af
Merge pull request #991 from AttorneyOnline/ci-qt6
Change CI builds to Qt 6.5.3
2024-06-30 23:12:41 +02:00
Salanto
fd2e3097b9 Update readme to mention Qt6, not Qt5 2024-06-30 21:56:29 +02:00
stonedDiscord
7aee516794
Merge branch 'master' into ci-qt6 2024-06-25 12:39:14 +02:00
stonedDiscord
a289d8c576
Merge branch 'master' into master 2024-06-25 12:39:03 +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