mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
remove more references to gScreenDPI
This commit is contained in:
@@ -29,8 +29,6 @@
|
||||
#include "screenshot.h"
|
||||
#include "viewport.h"
|
||||
|
||||
static int screenshot_dump_png();
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006E3AEC
|
||||
@@ -98,12 +96,7 @@ static int screenshot_get_next_path(char *path)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int screenshot_dump()
|
||||
{
|
||||
return screenshot_dump_png();
|
||||
}
|
||||
|
||||
int screenshot_dump_png()
|
||||
int screenshot_dump_png(rct_drawpixelinfo *dpi)
|
||||
{
|
||||
// Get a free screenshot path
|
||||
int index;
|
||||
@@ -112,8 +105,6 @@ int screenshot_dump_png()
|
||||
return -1;
|
||||
}
|
||||
|
||||
rct_drawpixelinfo *dpi = &gScreenDPI;
|
||||
|
||||
rct_palette renderedPalette;
|
||||
screenshot_get_rendered_palette(&renderedPalette);
|
||||
|
||||
|
||||
@@ -17,8 +17,11 @@
|
||||
#ifndef _SCREENSHOT_H_
|
||||
#define _SCREENSHOT_H_
|
||||
|
||||
#include "../drawing/drawing.h"
|
||||
|
||||
void screenshot_check();
|
||||
int screenshot_dump();
|
||||
int screenshot_dump_png(rct_drawpixelinfo *dpi);
|
||||
|
||||
void screenshot_giant();
|
||||
int cmdline_for_screenshot(const char **argv, int argc);
|
||||
|
||||
Reference in New Issue
Block a user