Commit Graph

6488 Commits

Author SHA1 Message Date
Ash 2da6590657 feat: FPS Limiter (#1446)
* Add interpolation frame rate cap

* wip: reworked framelimiter

Based on my testing this is a bit more stable in frametimes.

* wip: efficiency improvement + windows build fix

Significantly improve efficiency by using a hybrid approach.

* wip: UI changes

* wip: end frame AFTER limiting

* wip: remove unused include

* wip: minor ui code change

Makes it easier to remove/add presets

* Simplify Limiter UI

- Change enableFrameInterpolation to an enum with off/capped/unlimited values
- Simplify the UI to use 2 settings (unlock framerate + a max value entry)

* wip: slight limiter simplification

* wip: implement review suggestions

* wip: fix syntax error

* wip: revert enum order + replace old checks

* Fix compile error

---------

Co-authored-by: SailorSnoW <sailorsnow@pm.me>
Co-authored-by: Loïs <49660929+SailorSnoW@users.noreply.github.com>
Co-authored-by: SuperDude88 <82904174+SuperDude88@users.noreply.github.com>
Co-authored-by: Luke Street <luke@street.dev>
2026-05-17 20:11:32 -06:00
Irastris 66c5cb1dae Fix interpolation for Shadow Beast & Twilight Vermin hair (#1575)
* Fix interpolation for Shadow Beast hair

* Fix interpolation for Twilight Vermin hair
2026-05-17 20:09:04 -06:00
Olivia!! 28d0017d4c Transform level is 0xF after lakebed temple, verified on dolphin (#1571) 2026-05-17 20:04:34 -06:00
TakaRikka ec281a475f Merge pull request #1573 from TwilitRealm/j2dindtexmtx-be
Endian-swap indirect texture matrix in J2D data
2026-05-17 18:23:15 -07:00
TakaRikka a493693cbb Merge pull request #1569 from PJB3005/26-05-18-operator-new-problems
Tag operator new overloads with noexcept
2026-05-17 18:03:41 -07:00
doop 1745e110fb Fix typo 2026-05-18 00:56:14 +00:00
doop 2be2615e61 Endian-swap indirect texture matrix in J2D data
Fixes copy/delete effects on the file screen.
2026-05-18 00:46:45 +00:00
PJB3005 629cd2f9d3 Missed these in JASHeapCtrl.h 2026-05-18 02:16:43 +02:00
PJB3005 831a34ac8f Right, the definition needs the specifier too 2026-05-18 02:15:12 +02:00
PJB3005 05edbec827 Tag operator new overloads with noexcept
According to the C++ standard, regular operator new must always return a valid pointer, and allocation failure should throw an exception.

The original game did not use exceptions, and instead had its operator new return null on alloc failure.

Clang and GCC seem to be enforcing the standard here, and this is causing crashes on non-Windows platforms like https://sentry.twilitrealm.dev/organizations/twilitrealm/issues/952/, where a JAISe allocation failure (custom pooled operator new overload) crashes the game when it should be handled gracefully. MSVC seems to not make use of this opportunity, meaning the code works as intended.

Tagging the operators with noexcept seems to satisfy GCC, but I admit cppreference is very light on details here.
2026-05-18 02:06:38 +02:00
Cybes f33827a969 Extend wooden sign backdrop across ultrawide screens (#1546) 2026-05-17 19:06:57 -04:00
TakaRikka 5d33076304 Merge pull request #1550 from TwilitRealm/fix/bulblin_arrow
Fix enemy arrows loading too fast
2026-05-17 15:48:18 -07:00
TakaRikka 7fcc43accf Merge pull request #1561 from PJB3005/26-05-18-oh-fuck
Re-converge the timelines
2026-05-17 15:42:30 -07:00
PJB3005 4857de6e8f Merge branch 'main' into 26-05-18-oh-fuck 2026-05-18 00:10:43 +02:00
PJB3005 7ba789fdc5 Merge commit 'def29adbab12886082cd2d543d3cf71a7990894a' into HEAD
We screwed up when redacting git history before release, and
accidentally rewrote all but *two* of the entire history of decomp. This
is me re-merging the history with "git merge -s ours"
2026-05-18 00:08:47 +02:00
tomlube 0c28d45d13 Merge pull request #1352 from TwilitRealm/ios-instructions
fix some oopsies, add a bit more info to ios instructions
2026-05-17 17:40:37 -04:00
Irastris e8a29f65b5 Revert "Feature - remember window position (#1238)" (#1558)
This reverts commit e10e1f74d5.
2026-05-17 23:32:42 +02:00
Pheenoh 4204f232c5 delay loading first arrow 2026-05-17 14:20:25 -06:00
tomlube 55b277ff03 Merge pull request #1543 from TwilitRealm/d3d11-option
expose d3d11 to end users//cli help as well
2026-05-17 14:56:45 -04:00
Tom Lube 315c1f27fd fixed minor things 2026-05-17 14:42:05 -04:00
Tom Lube a1fc6cf6e1 add to m_Do_main 2026-05-17 14:34:14 -04:00
Tom Lube 00964650b6 expose d3d11 to end users 2026-05-17 14:04:35 -04:00
Giorgio Mendieta 31dd069879 docs: Improve building.md file (#1530)
* docs: Improve building.md file

- Fix broken XCode link
- Add MacOS running instructions
- Alphabetize linux packages

* fix: collapse packages sections for readability

* fix: collapse packages sections for readability

* fix: add --dvd flag to specify iso path

* fix: Remove incorrect info about game.iso
2026-05-17 07:51:38 -06:00
SrBananaMan a499877c37 Add an enable texture replacements option in the video tab (#1517)
Co-authored-by: Luke Street <luke@street.dev>
2026-05-17 07:51:15 -06:00
Olivia!! b91a58feab Adds option to unbind using controller only (#1212)
* Adds option to unbind using controller only

* Adds a new cheat to let you transform from the start of the game, without Midna or the Shadow Crystal

* Revert "Adds a new cheat to let you transform from the start of the game, without Midna or the Shadow Crystal"

This reverts commit 51ed736729.

* Do not allow unbinding the A or B buttons to prevent softlocks when no other input sources are available (e.g. playing on a TV)

* change 'and' to '&&' in accordance with code standards
2026-05-17 07:45:08 -06:00
doop c710ea5b38 Use 10% steps for bloom brightness setting (#1423) 2026-05-17 07:44:29 -06:00
Olivia!! cd4b29f8a1 Update controller bindings menu. (#1461)
* Add a button to reset to default controls, and hides the digital L and R binds except on advanced menu.

* Rename Controller mentions to Device + Extra menu sounds

* Shouldn't add a column here

* Changes mentions of controller to device in accordance with #1479

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-05-17 07:38:24 -06:00
Loïs 6faa4a3330 Fix mButtonText buffer overflow on long localized action labels (#1491) 2026-05-17 07:34:18 -06:00
Luke Street eed81e9ecc Update aurora 2026-05-17 09:33:26 -04:00
Loïs a773e5489e Fix unresponsive R trigger in dusklight menu (#1424) 2026-05-17 07:27:27 -06:00
Krutonium db6a1835d2 Flake: Update GitHub revision and hash for aurora-src (#1237)
* Flake: Update GitHub revision and hash for aurora-src

Fixes Build Error due to Aurora being out of date in the flake.

* No Required Aurora Hash
2026-05-17 07:26:50 -06:00
David Kanevskyy e10e1f74d5 Feature - remember window position (#1238)
* added .zed/ to gitignore (editor configs)

* remember window position upon closing

* Save window location on SDL_EVENT_WINDOW_MOVED or SDL_EVENT_WINDOW_RESIZED

* Fix code format mistakes

* Also persist window width/height

* Undo change to input::handle_event

* Undo aurora submodule change

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-05-17 07:25:12 -06:00
TakaRikka ff3eb9aa48 Merge pull request #1511 from SailorSnoW/fix/ook-consistency
Fix Ook first jump not matching console behavior
2026-05-16 17:55:41 -07:00
TakaRikka 513fdd2312 Merge pull request #1502 from SailorSnoW/fix/autostart-run
Fix LiveSplit not starting when TV settings screen is skipped
2026-05-16 17:52:25 -07:00
TakaRikka f33c3bdf72 Merge pull request #1380 from TwilitRealm/fast-boots-backwalk-anim-fix
Fix Backwalk Animation Speed with Fast Iron Boots
2026-05-16 17:48:50 -07:00
TakaRikka e08b427650 Merge branch 'main' into fast-boots-backwalk-anim-fix 2026-05-16 17:43:31 -07:00
SailorSnoW 9f0fa12c6e Fix Ook first jump not matching console behavior 2026-05-17 02:12:14 +02:00
SailorSnoW ad4f75bbb6 Fix LiveSplit not starting when TV settings screen is skipped 2026-05-16 19:13:07 +02:00
Loïs 5d2811955c Fix item wheel background capturing interpolated frame instead of current sim (#1447) 2026-05-16 08:19:57 -04:00
Pieter-Jan Briers 3b30c09e79 Fix PAL name keyboard (#1467)
Fixes #1460
2026-05-16 08:15:27 -04:00
MelonSpeedruns 8adc40708e Infinite Rupee now set to max Rupees (#1417)
Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-05-16 10:28:45 +02:00
SuperDude88 2541c3f293 Update Description (#1439)
Mention that it applies to other cases besides just boots
2026-05-16 10:28:21 +02:00
Loïs 30b003c9d9 fix rein interpolation jitter by rolling snapshot once per sim tick (#1421) 2026-05-15 17:16:36 -04:00
SuperDude88 c77ed40208 Fix Backwalk Animation Speed
Also make one of the other similar checks more concise
2026-05-15 01:52:53 -04:00
Luke Street af8300a77c Update aurora 2026-05-14 23:22:08 -06:00
SuperDude88 1ce1003e1a Bold Back Button Name in Popup (#1376)
* Bold Back Button Name

Makes it stand out more, especially when the back button is called something else that's just a common word

* Just b

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-05-14 23:21:01 -06:00
Loïs 10e2181692 Fix file select softlock when resetting during save (#1293) 2026-05-14 23:17:17 -06:00
Miguel 424d1d7b71 Fixed Debug target not compiling (#1157)
* Update f_op_actor_mng.h

* Update f_op_actor_mng.h
2026-05-14 23:10:09 -06:00
matthewdavidrichardanderson 26be454999 soft reset hotkey on release (#1358)
Co-authored-by: matthewdavidrichardanderson <matthewdavidrichardanderson@mfb.com>
2026-05-14 23:05:08 -06:00
Pieter-Jan Briers cf89da811a Fix fast tears going out of bounds (#1337)
Incorrect decomp from TPHD making the tears think you're always in the Zora River ride

Fixes https://github.com/TwilitRealm/dusklight/issues/1047
2026-05-14 23:04:36 -06:00