|
OpenTTD Source 20251116-master-g21329071df
|
Data Fields | |
| size_t | offset |
| offset of bitmap data from .bmp file beginning | |
| uint32_t | width |
| bitmap width | |
| uint32_t | height |
| bitmap height | |
| bool | os2_bmp |
| true if OS/2 1.x or windows 2.x bitmap | |
| uint16_t | bpp |
| bits per pixel | |
| uint32_t | compression |
| compression method (0 = none, 1 = 8-bit RLE, 2 = 4-bit RLE) | |
| uint32_t | palette_size |
| number of colours in palette | |
| uint16_t BmpInfo::bpp |
| uint32_t BmpInfo::compression |
| uint32_t BmpInfo::height |
bitmap height
Definition at line 19 of file bmp.h.
Referenced by BmpRead1(), BmpRead24(), BmpRead4(), BmpRead4Rle(), BmpRead8(), BmpRead8Rle(), and ReadHeightmapBMPImageData().
| size_t BmpInfo::offset |
| uint32_t BmpInfo::palette_size |
number of colours in palette
Definition at line 23 of file bmp.h.
Referenced by ReadHeightmapBMPImageData().
| uint32_t BmpInfo::width |
bitmap width
Definition at line 18 of file bmp.h.
Referenced by BmpRead1(), BmpRead24(), BmpRead4(), BmpRead4Rle(), BmpRead8(), BmpRead8Rle(), and ReadHeightmapBMPImageData().