OpenTTD Source: ScreenshotFormat Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
ScreenshotFormat Struct Reference

Screenshot format information. More...

## Data Fields
const char * | extension
| File extension.
ScreenshotHandlerProc * | proc
| Function for writing the screenshot.

## Detailed Description

Screenshot format information.

Definition at line 69 of file screenshot.cpp.

## Field Documentation

## ◆ extension

const char* ScreenshotFormat::extension

File extension.

Definition at line 70 of file screenshot.cpp.

Referenced by GetCurrentScreenshotExtension(), MakeLargeWorldScreenshot(), MakeMinimapWorldScreenshot(), MakeSmallScreenshot(), and RealMakeScreenshot().

## ◆ proc

ScreenshotHandlerProc* ScreenshotFormat::proc

Function for writing the screenshot.

Definition at line 71 of file screenshot.cpp.

Referenced by MakeHeightmapScreenshot(), MakeLargeWorldScreenshot(), MakeMinimapWorldScreenshot(), and MakeSmallScreenshot().

The documentation for this struct was generated from the following file:

- src/screenshot.cpp