stuntcarremake icon indicating copy to clipboard operation
stuntcarremake copied to clipboard

Windows improvements - dynamic resizing and VS2022 support

Open omenoidlab opened this issue 2 months ago • 4 comments

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

omenoidlab avatar Nov 30 '25 21:11 omenoidlab

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.

ptitSeb avatar Dec 01 '25 07:12 ptitSeb

Is Win binary release downloadable somewhere?

Hexaae avatar Dec 01 '25 09:12 Hexaae

Not yet. I need to swtich the CI to github first.

ptitSeb avatar Dec 01 '25 09:12 ptitSeb

Is Win binary release downloadable somewhere?

Until CI builds are working, here's a binary with my fixes attached.

StuntCarRacer-x64.zip

omenoidlab avatar Dec 01 '25 16:12 omenoidlab