Add pitstop audio cue, original explosions/smoke, authentic HUD, and Modern lighting/shadows

This commit is contained in:
Luxferre committed 2026-12-01 09:19:20 +02:00
1 parent 3a377b0534
commit 197bfbc973
21 files changed
+1927 -246

No files matched your search

+6
View File
@@ -16,10 +16,12 @@ void print_usage(const char* argv0) {
<< " --track <1..6> Launch straight into race on track 1..6\n"
<< " --track-viewer <1..6> Open interactive 3D track viewer for track 1..6\n"
<< " --classic Start in 4:3 Classic palette visual mode\n"
<< " --modern Start in Modern HDR lighting visual mode\n"
<< " --fullscreen Start in borderless fullscreen\n"
<< " --music-backend <opl3|sf|custom> Select music synth backend\n"
<< " --skip-intro Skip INTRO.DAT movie\n"
<< " --smoke-test <frames> Render N frames and exit cleanly\n"
<< " --screenshot <path.ppm> Save final smoke frame as RGB PPM\n"
<< " --help Show this help\n";
}
@@ -40,6 +42,8 @@ int main(int argc, char** argv) {
opts.track_viewer = true;
} else if (std::strcmp(argv[i], "--classic") == 0) {
opts.force_classic = true;
} else if (std::strcmp(argv[i], "--modern") == 0) {
opts.force_modern = true;
} else if (std::strcmp(argv[i], "--fullscreen") == 0) {
opts.force_fullscreen = true;
} else if (std::strcmp(argv[i], "--music-backend") == 0 && i + 1 < argc) {
@@ -51,6 +55,8 @@ int main(int argc, char** argv) {
opts.skip_intro = true;
} else if (std::strcmp(argv[i], "--smoke-test") == 0 && i + 1 < argc) {
opts.smoke_test_frames = std::atoi(argv[++i]);
} else if (std::strcmp(argv[i], "--screenshot") == 0 && i + 1 < argc) {
opts.screenshot_path = argv[++i];
} else {
LOG_WARN("Unknown argument: %s", argv[i]);
}