OpenTTD Source 20250312-master-gcdcc6b491d
screenshot_bmp.cpp File Reference

BMP screenshot provider. More...

#include "stdafx.h"
#include "core/endian_func.hpp"
#include "core/math_func.hpp"
#include "fileio_func.h"
#include "screenshot_type.h"
#include "safeguards.h"

Go to the source code of this file.

Data Structures

struct  BitmapInfoHeader
 BMP Info Header (stored in little endian) More...
 
struct  RgbQuad
 Format of palette data in BMP header. More...
 
class  ScreenshotProvider_Bmp
 

Functions

 PACK (struct BitmapFileHeader { uint16_t type;uint32_t size;uint32_t reserved;uint32_t off_bits;})
 BMP File Header (stored in little endian)
 

Variables

static ScreenshotProvider_Bmp s_screenshot_provider_bmp
 

Detailed Description

BMP screenshot provider.

Definition in file screenshot_bmp.cpp.

Variable Documentation

◆ s_screenshot_provider_bmp

ScreenshotProvider_Bmp s_screenshot_provider_bmp
static

Definition at line 150 of file screenshot_bmp.cpp.