OpenTTD Source 20241224-master-gf74b0cf984
ScreenshotFormat Struct Reference

Screenshot format information. More...

Data Fields

const char * extension
 File extension.
 
ScreenshotHandlerProcproc
 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

◆ 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: