Autoscale menus and 3D vehicle preview to screen size
This commit is contained in:
1 parent
197bfbc973
commit
554958db9a
5 files changed
+217
-150
No files matched your search
@@ -22,6 +22,7 @@ void print_usage(const char* argv0) {
|
||||
<< " --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"
|
||||
<< " --menu <main|track|vehicle|options> Open specific menu screen on launch\n"
|
||||
<< " --help Show this help\n";
|
||||
}
|
||||
|
||||
@@ -57,6 +58,8 @@ int main(int argc, char** argv) {
|
||||
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 if (std::strcmp(argv[i], "--menu") == 0 && i + 1 < argc) {
|
||||
opts.smoke_menu = argv[++i];
|
||||
} else {
|
||||
LOG_WARN("Unknown argument: %s", argv[i]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user