Commit Graph

74 Commits

Author SHA1 Message Date
Hyper dd59190347 config: implement read callbacks 2024-10-21 18:20:45 +01:00
Hyper 438a315e5b config: make FPS signed 2024-10-21 17:36:16 +01:00
Hyper 4cb22bfd5f config: load config dynamically 2024-10-21 17:28:33 +01:00
Hyper 231a78a118 config: override type operator 2024-10-21 17:18:17 +01:00
Hyper cf8bba788b config: implemented saving 2024-10-21 17:07:58 +01:00
Skyth 5578e84069 Refactor barrier usage & fix more validation errors. 2024-10-21 17:36:44 +03:00
Hyper 2e9d49f17d Move config and save data to %APPDATA% 2024-10-21 15:34:03 +01:00
Hyper 5508b23f39 config: update layout and added more options 2024-10-21 14:13:54 +01:00
Hyper be08d1e7a4 config: clamp resolution scale to 0.25-2.0 2024-10-21 13:09:39 +01:00
Hyper a272c6d32a High DPI window fixes 2024-10-20 23:16:40 +01:00
Skyth b39bc1e065 Make graphics API configurable. 2024-10-20 23:20:52 +03:00
Skyth 02964750ad Add D3D12 Agility SDK & implement triangle fans. 2024-10-20 20:44:25 +03:00
Skyth 66c20e73c9 Implement movie rendering & fix some validation errors. 2024-10-20 18:47:26 +03:00
Skyth 4ee432d759 Merge 'origin/main'. 2024-10-20 16:05:03 +03:00
Hyper 03fbb2f1ee Fix Eggmanland using incorrect exit transition 2024-10-20 14:02:31 +01:00
Skyth 2d29792913 Disable deprecation warnings. 2024-10-20 15:24:58 +03:00
Skyth ecc1098ddc Discard render targets before first use. 2024-10-20 15:11:15 +03:00
Hyper dd74392279 Implemented Unleash gauge hooks
- Implements "Unleash Cancel" to allow cancelling Unleash after activating it.
- Implements out of control fixes to prevent the gauge from draining when the player cannot utilise it.
2024-10-20 02:54:49 +01:00
Hyper bdfa5e874f config: add exception handler 2024-10-20 00:14:57 +01:00
Skyth 018b32062e Embed shader cache to the executable. 2024-10-20 00:53:16 +03:00
Hyper 99906bfddc Only copy default config to build directory if newer 2024-10-19 21:33:33 +01:00
Hyper 8b476689eb api: use MmGetHostAddress instead of g_memory.Translate 2024-10-19 20:51:35 +01:00
Hyper 56223974ff Fix Eggmanland using the wrong loading transition on restart 2024-10-19 20:44:33 +01:00
Hyper da776db1a2 api: get singletons using g_memory.Translate 2024-10-19 20:40:15 +01:00
Skyth c2ce012155 Implement MSAA properly for Vulkan. 2024-10-19 22:22:09 +03:00
Skyth 7ed7921c54 Create memory with nullptr address if it initially fails. 2024-10-18 20:55:39 +03:00
Hyper 25610a6249 Add application icon 2024-10-18 16:20:01 +01:00
Skyth 64d9cfbd9b Force inline a few simple functions that Clang is refusing to inline. 2024-10-18 16:30:35 +03:00
Skyth d29dd06dce Add high frame rate fixes for 2D splines & down force. 2024-10-18 15:40:07 +03:00
Hyper e899f32f0e Remove CSD offset hook
We'll just move the casts manually once we get around to sorting the rest of the UI out, this'll just interfere with that.
2024-10-18 09:03:30 +01:00
Hyper 8f80396b1f Remove graceful exit hook
Might as well stick with ExitProcess, seeing as this is how the game is exited on Xbox.
2024-10-18 09:02:41 +01:00
Hyper df919faa57 Update vertical aspect ratio for proper VERT+ support 2024-10-18 08:59:30 +01:00
Hyper 52f751c6c8 Implemented XButtonHoming hook 2024-10-18 00:10:33 +01:00
Hyper 56657a85f0 Implemented loading screen hook to disable Werehog video 2024-10-17 23:54:30 +01:00
Hyper ceee6948a8 Implemented score hooks 2024-10-17 23:41:38 +01:00
Hyper ce95692d8a Implemented hooks for disabling hints 2024-10-17 22:25:14 +01:00
Hyper 0cae5feba9 Display correct game logo for Japanese 2024-10-17 21:59:36 +01:00
Hyper 2f579aeb40 Config: set reader default values to static defaults 2024-10-17 21:26:26 +01:00
Hyper ee35458b5d Config: implemented toml reading 2024-10-17 21:20:35 +01:00
Hyper 554be01412 Implemented CSD aspect ratio hooks
This only includes the centred mode, as the intention is to map out CSD classes in the API and handle the rest manually.

Co-Authored-By: Michael <15317421+ActualMandM@users.noreply.github.com>
2024-10-17 19:36:10 +01:00
Hyper 3c1c13e4ce Implemented camera aspect ratio hooks 2024-10-17 19:16:33 +01:00
Hyper 02c9484c9c Update file names to match convention 2024-10-17 18:02:09 +01:00
Hyper 9da9bc8014 Window: add buffer size arg to GetIconSurface 2024-10-17 17:54:53 +01:00
Hyper 7b4caece2f Window: add game icon and window events 2024-10-17 17:51:17 +01:00
Hyper 0f237c693d Merge branch 'main' of https://github.com/hedge-dev/UnleashedRecomp 2024-10-17 17:48:44 +01:00
Skyth d3d887f0f1 Redirect dynamically linked sprintf to statically linked one. 2024-10-17 19:44:17 +03:00
Hyper 1040baa2c1 sdl_hid: rename SDL event handler to prevent conflicts 2024-10-17 17:11:20 +01:00
Hyper f68f720b17 Preliminary mid-asm hook for gracefully exiting the game 2024-10-17 16:11:20 +01:00
Hyper 86a80fbc61 Move gpu/Window.cpp to ui/window.cpp 2024-10-17 14:36:02 +01:00
Skyth 86eac5ad8c Remove half pixel offset from primitive 2D renderer. 2024-10-17 16:07:22 +03:00