Commit graph

359 commits

Author SHA1 Message Date
Skyth
76e6842875 Fix typo. 2025-01-18 01:50:52 +03:00
Skyth
2d23414690 Revert temporary changes. 2025-01-18 01:49:05 +03:00
Skyth
b1708a87a4 Remove unnecessary diff. 2025-01-18 01:36:15 +03:00
Skyth
285c2541ee Handle center UI scale option for rings going to HUD. 2025-01-18 01:33:49 +03:00
Skyth
4467a5bfc3 Remove grid snaps in the installer. 2025-01-18 01:05:23 +03:00
Skyth
a3989adf95 UI scaling for installer. 2025-01-18 00:41:14 +03:00
Skyth
427aae5214 Fix button guide offset. 2025-01-18 00:41:14 +03:00
Skyth
c84f8561ab Fix procedural filtering logic in ImGui pixel shader. 2025-01-18 00:41:14 +03:00
Skyth
2efdc23241 4:3 scaling for options menu. 2025-01-18 00:41:14 +03:00
Skyth
5cd8774669 Properly center the achievements menu. 2025-01-18 00:41:14 +03:00
Skyth
0e61a5a08b Expose aspect ratio variables globally. 2025-01-18 00:41:14 +03:00
Skyth
42ecdd778c Scale new record arrow casts. 2025-01-18 00:41:14 +03:00
Skyth
3593a8edaf Offset scale patches for Tornado Defense. 2025-01-18 00:41:14 +03:00
Skyth
922d287806 Fix crash in earth restoration cutscenes. 2025-01-18 00:41:13 +03:00
Skyth
8c0130ba4d Shift subtitles by aspect ratio. 2025-01-18 00:41:13 +03:00
Skyth
617f52d2ed Add cutscene aspect ratio option. 2025-01-18 00:41:13 +03:00
Skyth
07ec4af3ba Implement inspire letterbox. 2025-01-18 00:41:13 +03:00
Skyth
94583c3dbe Implement aspect ratio patches for 2D drop ring emitter. 2025-01-18 00:41:13 +03:00
Skyth
fe0979ceba Fix DoF fix not using viewport height. 2025-01-18 00:41:13 +03:00
Skyth
979fea19e6 Use viewport dimensions for snapping CSD pixels. 2025-01-18 00:41:13 +03:00
Skyth
a39b3ec855 Implement the aspect ratio option. 2025-01-18 00:41:13 +03:00
Skyth
3647261f2b Respect center option in more places. 2025-01-18 00:41:13 +03:00
Skyth
4f213baee9 Set medal positions. 2025-01-18 00:41:13 +03:00
Skyth
11a717e246 Right align world map info box. 2025-01-18 00:41:13 +03:00
Skyth
63a622740c Fix world map 3D to 2D projection. 2025-01-18 00:41:13 +03:00
Skyth
c6e2dbcce0 Ultrawide patch for HUD 3D items. 2025-01-18 00:41:13 +03:00
Skyth
f67895253e Make aspect ratio a global variable. 2025-01-18 00:41:13 +03:00
Skyth
97bc5d1999 Remove stretch option. 2025-01-18 00:41:13 +03:00
Skyth
c337c67dec Scale DoF correctly at different aspect ratios. 2025-01-18 00:41:12 +03:00
Skyth
bf8c8f560b Stretch loading primitive 2D. 2025-01-18 00:41:12 +03:00
Skyth
c549784a60 Add result screen modifiers. 2025-01-18 00:41:12 +03:00
Skyth
0b045e5ff8 Clean unnecessary hooks. 2025-01-18 00:41:12 +03:00
Skyth
fa2689e655 Queue draw calls without actually executing anything to extract the corner. 2025-01-18 00:41:12 +03:00
Skyth
635b5360b5 Scaling animation offset to prevent offscreen casts from showing up in ultrawide. 2025-01-18 00:41:12 +03:00
Skyth
15e809d65b Interpolate to original 4:3 scale. 2025-01-18 00:41:12 +03:00
Skyth
0f3c7ccfde Add more path flags. 2025-01-18 00:41:12 +03:00
Skyth
daa1d3a152 Release paths when the YNCP file gets freed. 2025-01-18 00:41:12 +03:00
Skyth
f29fc5e593 Keep UI scale same only above Steam Deck aspect ratio. 2025-01-18 00:41:12 +03:00
Skyth
6a709a358d Make original 4:3 scaling a separate option, use custom behavior for auto. 2025-01-18 00:41:12 +03:00
Skyth
c1e08f2bea Replace camera aspect ratio/field of view logic. 2025-01-18 00:41:12 +03:00
Skyth
0c2ff653e7 World map now identical to original 4:3. 2025-01-18 00:41:12 +03:00
Skyth
867e78ff6d Replicate the game's 4:3 downscaling behavior. 2025-01-18 00:41:12 +03:00
Skyth
411cb1ff98 Use 4:3 as the base aspect ratio instead of 16:9. 2025-01-18 00:41:11 +03:00
Skyth
e20fab10ab Add stretch flags for background casts. 2025-01-18 00:41:11 +03:00
Skyth
b0a43559bb Fix and properly align font, handle most 3D screen positions. 2025-01-18 00:41:11 +03:00
Skyth
22e5855b7a Current work trying to get 3D screen position casts working correctly. 2025-01-18 00:41:11 +03:00
Skyth
ebf1965fab Snap to pixel on the CPU. 2025-01-18 00:41:11 +03:00
Skyth
c592727757 Replace CSD vertex shaders to get rid of pixel snapping. 2025-01-18 00:41:11 +03:00
Skyth
41a6ab1f08 Move CSD patches to its own file. 2025-01-18 00:41:11 +03:00
Skyth
8a759bf78c Add some more flags. 2025-01-18 00:41:11 +03:00