Commit Graph

532 Commits

Author SHA1 Message Date
madeline 690a76ffb8 fix safety bit on interp fixes #507 2026-04-23 03:58:35 -07:00
madeline f52137361c Merge branch 'main' of https://github.com/TakaRikka/dusk 2026-04-22 22:33:59 -07:00
madeline 318757974d make state share loads basically instant 2026-04-22 22:27:14 -07:00
Luke Street b415ae6640 Use SDL_GetTicksNS instead of std::chrono 2026-04-22 17:18:18 -06:00
Luke Street 4d138fe69f Reorganize ImGui menus (#456)
* Reorganize ImGui menus

* Fix crash_reporting.cpp

* Update aurora
2026-04-20 20:45:16 -06:00
Luke Street c516f34105 Frame interp: Fix cloud shadow flickering (#446) 2026-04-19 21:31:34 -06:00
TakaRikka 483d26110d Merge pull request #438 from TwilitRealm/frame-interp-simplify
Frame interp simplify
2026-04-19 14:58:38 -07:00
Jasper St. Pierre edc52c2fe8 j3d small cleanup 2026-04-19 14:16:38 -07:00
Jasper St. Pierre 738241b9c1 jutfader doc 2026-04-19 12:48:50 -07:00
Jasper St. Pierre 6c56c224c9 frame interp camera cleanups 2026-04-19 02:25:00 -07:00
Jasper St. Pierre 4137d05c59 frame interp simplify 2026-04-18 23:26:28 -07:00
TakaRikka 1036907cc7 Merge pull request #430 from TwilitRealm/fix/JAISeqMgr
Fix JAISeqMgr
2026-04-18 22:57:57 -07:00
Jasper St. Pierre 872b1a5dcb water interpolation fix 2026-04-18 22:17:35 -07:00
Pheenoh 8845d8feb2 fix JAISeqMgr beginStartSeq_ to check free memory before allocation 2026-04-18 19:53:40 -06:00
Luke Street 67fbbf4acc Merge remote-tracking branch 'refs/remotes/origin/main' into unhackify-widescreen
# Conflicts:
#	src/m_Do/m_Do_main.cpp
2026-04-17 23:12:58 -06:00
Luke Street 7dba5738b6 Widescreen rework & IR scaling 2026-04-17 23:11:43 -06:00
Irastris 3f6cad3eb4 Frame Interp: UI Pacing Simplification 2026-04-17 23:24:47 -04:00
Lurs 89e273a0d5 fix #260 and potentially more 2026-04-17 16:12:53 +02:00
Irastris d97fbb778b Frame interp: Dreamworks' Turbo (2013) 2026-04-14 21:59:24 -04:00
CraftyBoss 97f1fdf297 change ANDROID define to TARGET_ANDROID 2026-04-14 03:18:21 -07:00
CraftyBoss 27dff12c78 Merge branch 'main' into android-building 2026-04-14 03:17:07 -07:00
CraftyBoss 028f0f910e fix compilation error
GlyphTextures no longer exists
2026-04-14 03:07:47 -07:00
CraftyBoss c0e31ad125 Merge branch 'main' into android-building 2026-04-14 02:48:24 -07:00
TakaRikka 07114962ad Merge pull request #360 from TwilitRealm/26-04-13-font-opts
Text Rendering optimizations
2026-04-14 02:38:59 -07:00
CraftyBoss 18b0d9dd28 Merge remote-tracking branch 'origin/main' into android-building
# Conflicts:
#	CMakeLists.txt
2026-04-14 01:03:50 -07:00
Irastris 235949e452 Frame interp: Initial presentation sync implementation 2026-04-14 02:41:11 -04:00
Irastris 701986389d Frame interp: Initial presentation sync implementation 2026-04-14 02:33:44 -04:00
PJB3005 1dac80f3a9 Make JUTResFont load all texture data into one texture
Together with the previous change, this enables entire blocks of text to be rendered in one draw call.
2026-04-13 19:09:16 +02:00
PJB3005 0a95a9e538 Enable some draw call merging in text rendering
Don't set state between characters if possible.

Next step is page merging so it can do full lines of text at once.
2026-04-13 13:27:21 +02:00
CraftyBoss 245e69c04c Merge remote-tracking branch 'origin/main' into android-building 2026-04-13 01:05:16 -07:00
Jasper St. Pierre 233307a5d2 fixes and cleanups for j3d material 2026-04-12 20:14:24 -07:00
CraftyBoss c9661daf61 Merge remote-tracking branch 'origin/main' into android-building 2026-04-12 20:02:23 -07:00
Lurs 6d17a86f29 Let's replace the hack through a hack? Should fix the double swapping of #208 (and maybe more) 2026-04-12 22:39:05 +02:00
Irastris bd496e5662 Frame interp: Refactor JUTFader
Now works regardless of interpolation being on/off
2026-04-12 13:56:00 -04:00
CraftyBoss 8d16edf4e3 Merge remote-tracking branch 'origin/main' into android-building 2026-04-12 02:53:05 -07:00
Luke Street 4879f2d340 BE swap J3DMaterialFactory::newIndTexMtx/newFog 2026-04-11 20:13:39 -06:00
Luke Street 943ac05f16 Use Limiter class in waitForTick (#330)
This uses the existing `Limiter` class (stolen from Metaforce) in `JFWDisplay::waitForTick`.
The limiter also now uses `SDL_DelayPrecise` internally on non-Windows platforms.
On Windows, the existing `NanoSleep` logic is untouched, as it appears to provide a
more stable framerate for the folks testing it on Windows than `SDL_DelayPrecise` does.
On Linux, however, `SDL_DelayPrecise` is plenty accurate.
2026-04-11 17:50:52 -06:00
PJB3005 22adf477a4 Fix JUTResFont duplicating texture data
I misunderstood the way this code works the first time.
2026-04-11 21:46:14 +02:00
PJB3005 842c74f940 Merge branch 'main' into 26-04-11-render-opts 2026-04-11 20:36:46 +02:00
PJB3005 71a8642f19 Merge remote-tracking branch 'decomp/main' 2026-04-11 19:59:09 +02:00
Pieter-Jan Briers 9b900a1a55 UB fixes (#3150)
* Fix incorrect size for J2DTevBlock8::insertTexture local_38

* Fix dMeter_drawOptionHIO_c mOptionTypeBGPosX/Y size

* dMeter_drawLightDropHIO_c mVesselAlpha fix

* d_a_mg_rod array size fixes

* Fix e_tk2_class mActionTimer array size

* daObjTOMBO_c field_0x714 array size fix
2026-04-11 11:28:01 -06:00
PJB3005 75b4d98a7e Make J2DPictureEx not draw if zero alpha
Reduces the amount of draw calls from inactive UI elements by a lot.
2026-04-11 16:13:45 +02:00
PJB3005 c1dd1a52a5 Bunch of debug/tracy groups for J2D 2026-04-11 16:11:41 +02:00
Irastris eaec6487a3 Implement unlocked framerates via interpolation (#315)
* Disable waitForTick and waitBlanking

* Initial frame interpolation implementation

* Initial batch of speed fixes

* Fix Iron Boots

* Strip dead code once used for debugging

* Interpolate shadows

* Revert overzealous/redundant lookups

* Fix JUTFader

* Fix field map cursor

* Fix various particle effects

* Fix Midna when riding Wolf Link

* Fix title logo

* Title Logo 2: Electric Boogaloo

* Fixed grass and flowers

* "Unlock Framerate" config option (WIP)

* Wrap more things in TARGET_PC

* Finish wrapping things in TARGET_PC

* Missed one

* Disable dComIfGd_drawXluListInvisible when interpolating

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-11 01:06:25 -06:00
Pieter-Jan Briers dabd6961a6 Couple sizeof(CMemBlock)s (#3143) 2026-04-10 23:42:00 -07:00
CraftyBoss 417360b1ce building for android impl
currently builds a "Metaforce" apk, will need to change name of course. Running the apk using Android Studio's emulator can get in game, however running on a samsung phone does not seem to work.
2026-04-10 03:53:57 -07:00
qwertyquerty 229c8ed88f CI/CD, CMake improvements, more targets, fix gcc (#258)
* CI attempt

* syntax

* fix cmake for linux

* fix include directories and merge main

* fix PDB fighting

* fix gcc compiling

* fix SSCACHE for windows

* try and fix gcc

* more CI presets

* remove the android target for now

* bump cmake minimum to fix debug information format

* yet another attempt at fixing gcc

* yet another attempt at fixing gcc

* better CI matrixing

* yet another attempt at fixing GCC

* fix arm

* fix CI

* placeholder icons

* compile dawn from source for windows arm64

* fix icons and linker warnings

* fix cmake

* fetch libjpegturbo

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-04-09 19:22:53 -06:00
TakaRikka e3ee1bd2e3 Merge pull request #296 from TwilitRealm/26-04-07-tracy
Add Tracy stuff
2026-04-09 16:05:46 -07:00
TakaRikka 022a6caea0 Merge pull request #295 from TwilitRealm/26-04-09-jkrdecomp
Fix JKRDecomp crash I caused
2026-04-09 14:26:15 -07:00
PJB3005 fb0ce81325 Make waitForTick properly sleep
It was spinwaiting 💀
2026-04-09 18:58:44 +02:00