Windows improvements - dynamic resizing and VS2022 support
Hi ptitSeb!
I'm Antti from Finland, and I've been a huge Stunt Car Racer fan since 1990 - your remake is fantastic! I've been working on some Windows-specific improvements on the win32-improvements branch and wanted to get your thoughts.
What I've added:
Dynamic window resizing with aspect ratio locking (16:10/4:3) Automatic scaling for fonts, cockpit overlay, and UI elements Fixed the Windows build to compile cleanly with Visual Studio 2022 Some general code quality improvements (replaced C-style casts, extracted magic numbers to constants) Full documentation in README.md and WINDOWS_FEATURES.md Linux compatibility: I've been careful to keep everything cross-platform safe. All the Windows-specific stuff is behind #ifdef linux guards or just returns 1.0x scaling on Linux, so your SDL/OpenGL build continues working exactly as before with the fixed resolution. The Linux build shouldn't be affected at all.
I know you mainly focus on the Linux/SDL side (which is awesome!), so I wanted to ask: would you be interested in merging these Windows enhancements into master, or would you prefer I maintain them as a separate fork? I'm happy either way - just want to make sure I'm not stepping on any toes or cluttering up the main branch with Windows-only features.
Let me know what you think!
Cheers, Antti (omenoid)
P.s my branch can be seen here https://github.com/akaunist-coder/stuntcarremake
Hi Antti!
That's great. I gladly get a Pull Request with this,even if it's Windows only!
The dynamic resolution might be interesting for Linux too, dependaing on the platform (not the Pandora / Pyra, but the other can be interested).
Seb.
Is Win binary release downloadable somewhere?
Not yet. I need to swtich the CI to github first.
Is Win binary release downloadable somewhere?
Until CI builds are working, here's a binary with my fixes attached.