1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +01:00

Add option to draw bounding boxes to command line screenshot command (#24949)

This commit is contained in:
mix
2025-08-12 09:57:20 +01:00
committed by GitHub
parent d42e4bdf9b
commit b43e3e6727
4 changed files with 18 additions and 10 deletions

View File

@@ -422,6 +422,11 @@ static void ApplyOptions(const ScreenshotOptions* options, Viewport& viewport)
{
viewport.flags |= VIEWPORT_FLAG_TRANSPARENT_BACKGROUND;
}
if (options->draw_bounding_boxes)
{
gPaintBoundingBoxes = true;
}
}
int32_t CommandLineForScreenshot(const char** argv, int32_t argc, ScreenshotOptions* options)