OpenTTD Source 20250911-master-gfe9093df96
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)
 

Detailed Description

BMP screenshot provider.

Definition in file screenshot_bmp.cpp.