Commit Graph

71 Commits

Author SHA1 Message Date
Jeffrey Crowell 2dbcf13c09 use "Cmd" instead of "Ctrl" for hotkeys on Apple (#239) 2026-04-07 02:33:27 +02:00
Max Roncace b098577ab9 Reapply settings changes on top of #209 2026-04-05 23:49:31 +02:00
PJB3005 3eb843cc80 Explanation at top of config.hpp
(config_var.hpp already had one)
2026-04-05 23:13:33 +02:00
PJB3005 6c6b2c3567 Merge branch 'main' into 26-04-04-config 2026-04-05 23:08:03 +02:00
madeline c006baaf63 Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-05 11:48:20 -07:00
madeline 3d5f2474bf turbo keybind tool 2026-04-05 11:47:49 -07:00
Irastris 13f24a585d Use int for audio sliders, show current value (#235) 2026-04-05 12:31:45 -06:00
PJB3005 49412fae51 appname.hpp -> app_info.hpp 2026-04-05 19:20:10 +02:00
PJB3005 f732eccf6c Set Aurora config path 2026-04-05 19:03:26 +02:00
PJB3005 98b5166413 Merge remote-tracking branch 'origin/main' into 26-04-04-config 2026-04-05 15:13:04 +02:00
TakaRikka 67bd14bfd8 Merge pull request #215 from TwilitRealm/reverb-wip
Audio FX reverb proof of concept
2026-04-04 21:38:01 -07:00
MelonSpeedruns ce979a3328 Merge branch 'main' into feature/no-low-hp-sound 2026-04-04 21:50:00 -04:00
TakaRikka 8377cf618a Merge pull request #218 from TakaRikka/feature/transform-anywhere
Can transform Anywhere + Refactored checks to see if you can Quick Transform
2026-04-04 15:59:12 -07:00
TakaRikka 1ffb5a8c7f Merge pull request #217 from TakaRikka/feature/no-miss-animation
No Climbing Miss Animation toggle, similar to TPHD
2026-04-04 15:54:57 -07:00
PJB3005 0bb9ff5ef3 Merge remote-tracking branch 'origin/main' into 26-04-04-config 2026-04-05 00:12:17 +02:00
PJB3005 14026397e9 Implicit conversion operator is probably a good idea tbh. 2026-04-04 23:00:33 +02:00
PJB3005 e55537f23e I realize that's an important comment for C++ 2026-04-04 22:49:51 +02:00
PJB3005 824263fa6e Config system v1
Roughly inspired by what I've learned from my work on Space Station 14, without some of the unnecessary cruft and complexity.

Implementation is relatively simple once I figured out all the template order shenanigans.
2026-04-04 22:47:48 +02:00
MelonSpeedruns 3dca79e375 No Low HP Sound Enhancement 2026-04-04 14:47:39 -04:00
MelonSpeedruns dca35f8b91 Can transform anywhere + Refactored checks to see if you can Quick Transform 2026-04-04 14:30:42 -04:00
MelonSpeedruns 0ccf5e8771 No Climbing Miss Animation toggle, similar to TPHD 2026-04-04 11:59:08 -04:00
MelonSpeedruns 1862e3a0e4 Non-Stop Midna's Lament Audio Enhancement 2026-04-04 11:36:15 -04:00
TakaRikka 015e7aceab hd faster tears toggle 2026-04-04 06:02:23 -07:00
TakaRikka b45af18374 quick climbing qol, difficulty options 2026-04-04 03:52:28 -07:00
TakaRikka 0d1e680ddd no sword recoil enhancement 2026-04-04 02:59:53 -07:00
TakaRikka 7d41421702 couple of hd qol toggles 2026-04-04 02:37:59 -07:00
madeline f5ce58ca7f reverb proof of concept 2026-04-04 01:38:28 -07:00
Max Roncace 970664d7f9 Add tweak to enable/disable TV settings screen 2026-04-04 00:32:17 -04:00
Max Roncace 45137f4838 Move hotkey bindings to separate header 2026-04-04 00:16:44 -04:00
Max Roncace b9e16d33df Refactor Dusk settings out to common interface used by game and UI code 2026-04-04 00:16:44 -04:00
Pieter-Jan Briers 6730d0c952 Merge branch 'main' into 26-03-28-movie-player 2026-04-01 15:15:08 +02:00
PJB3005 9b3872ca3a More GX debug groups 2026-04-01 01:11:28 +02:00
PJB3005 2686c8dc81 Merge remote-tracking branch 'origin/main' into 26-03-28-movie-player 2026-03-29 03:16:24 +02:00
PJB3005 b17b5fe405 Works a lot better now 2026-03-29 00:19:56 +01:00
PJB3005 bb92f955c8 Make the movie player work somewhat.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.

Needs changes to thp.h which should be removed from Aurora, will do that later.

Also audio not implemented yet.
2026-03-28 18:29:58 +01:00
TakaRikka bd33160bb9 Merge pull request #135 from TakaRikka/pjb-audio
Audio
2026-03-27 20:36:06 -07:00
PJB3005 c4d0189175 Fix map loader gameRegions literally being 2.7 MiB of recursive arrays
Just moving it to std::vector, easy enough.
2026-03-27 17:34:05 +01:00
PJB3005 5d24e1125f Re-add src == dst check in SafeStringCopyTruncate
Accidentally dropped this while iterating on the exact implementation.
2026-03-27 17:17:45 +01:00
PJB3005 a2b32c27c0 Do use strncpy in SafeStringCopy
I figured out how to mute the warnings.
2026-03-27 17:16:41 +01:00
PJB3005 abfe917008 Add replacement helpers for strncpy[_s]
Portable without vulnerabilities.
2026-03-27 16:54:51 +01:00
PJB3005 50303bba1b Implement master volume & volume interpolation
Does not fix clicking :(

Fixes https://github.com/TakaRikka/dusk/issues/132
Fixes https://github.com/TakaRikka/dusk/issues/128
2026-03-27 14:54:03 +01:00
PJB3005 2240c04cec Fix shutdown crash 2026-03-26 15:03:48 +01:00
PJB3005 6443b9fded Audio system cleanup and comments 2026-03-20 17:51:42 +01:00
PJB3005 82b4f6327c Assign names to threads
Visible in debuggers etc
2026-03-14 14:16:49 +01:00
PJB3005 7eaabe6ecc We have audio!! 2026-03-14 14:03:10 +01:00
PJB3005 9dbade65d4 Basic audio system start 2026-03-14 14:02:13 +01:00
madeline 94aca25337 enable audio 2026-03-14 13:49:16 +01:00
Max Roncace 7da7cefe30 Add point selector to map loader (+ other loader UI improvements) 2026-03-14 01:20:27 -04:00
qwertyquerty 767ba3bb14 Ongoing gameplay dev (#49)
* launch.json cwd

* bodge to load gci for testing

* stub card stat

* gameplay bodges

* viewport, ub fixes

* add release with debug info cmake variant

* be fixes, sound stub

* viewport h

* d_msg_flow BE

* be fopAcM_createItemFromEnemyID

* update launch configuration to use iso

* more audio stubs

* Attempt to set viewport and get messages for brightness check

* skip opening scene again, fixed JMessage::TResourceContainer::TCResource::Do_destroy

* add guards for viewport changes

* moar endian swapping to get Link sitting in PROC_OPENING_SCENE and for dialogues

* BE d_msg_class i_data

* stub bgm start

* fix div by 0 error (for now)

* TEMP_BROKEN in d_menu_ring

* REQUIRES_GX_LINES

* properly stub renderingAmap::draw with REQUIRES_GX_LINES

* better stubbing outside of stubs

* fix event data getting swapped multiple times

* evil draw vp fix

* Stub log imgui

This redirects all spammy logs to an imgui window that is cleared per frame.

This fixes the serious performance dip of the logging, and makes the regular log readable.

* Oops move those optimization changes I accidentally committed behind a flag

DUSK_SELECTED_OPT

* gx_line macro in map

* fix audio stubbing

* switch to CARD API aurora impl

* remove kabufuda from link libs

* refactor imgui stuff and add input viewer

* merge stub log with refactor

* accidentally committed a metaforce header shh

* basic map loader

* ImGuiConsole: Add missing <thread> include

* you may now play as luigi (you may now load stages with bridges)

* bloom fix

* bloom leak fix

* cloud shadow fix

* add soft reset button to imgui menu

* if it broke dont not fix it

* i swear i committed this

* BE swap indMtx in JPAResource::setPTev

* wnark ct fix

* frsqrte implementation from kinoko

* Fix Clang compile error in JAISeq::prepare_getSeqData_

* Add endian conversions to dMsgFlow_c::getInitNodeIndex

This fixes a freeze when Fado tries to stop you from leaving the
starting area.

* Add RAII GXTexObj wrapper; fix almost all leaks

* Update aurora for indirect texturing

* Update aurora for CARD fix

* Fix Clang build

* More d_msg_flow endian fixes

Fixes softlock when trying to talk to Fado and possibly other NPCs.

* no frame limiter

* get pause menu working

* proper frame limiting

* particle pointer size fix

* improve map loader a bit

---------

Co-authored-by: Jasper St. Pierre <jstpierre@mecheye.net>
Co-authored-by: TakaRikka <takarikka@outlook.com>
Co-authored-by: CraftyBoss <talibabdulmaalik@gmail.com>
Co-authored-by: Luke Street <luke@street.dev>
Co-authored-by: Lurs <2795933+Lurs@users.noreply.github.com>
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
Co-authored-by: tgsm <doodrabbit@hotmail.com>
Co-authored-by: Max Roncace <me@caseif.net>
Co-authored-by: Phillip Stephens <antidote.crk@gmail.com>
2026-03-12 04:01:03 -07:00
Pieter-Jan Briers 15732e241c Pjb dev 3 (#48)
* Undo array allocation changes from #43

Doesn't work

* Expand dmeter heap sizes, give names

* Fix manual operator delete call in resource.cpp

* Disable map rendering for now

Aurora can't handle lines

* Re-enable assert heap on DVD thread

Should be fine?

* Some basic debug groups with the new Aurora API

* Allow Aurora backend to be set via CLI

* Give materials debug groups

* More debug groups

* JKRHeap separation: array edition

Pain
2026-03-11 13:40:21 -07:00