|
OpenTTD Source 20260218-master-g2123fca5ea
|
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 |
bits per pixel
Definition at line 21 of file bmp.h.
Referenced by BmpReadBitmap(), BmpReadHeader(), and ReadHeightmapBMPImageData().
| uint32_t BmpInfo::compression |
compression method (0 = none, 1 = 8-bit RLE, 2 = 4-bit RLE)
Definition at line 22 of file bmp.h.
Referenced by BmpReadBitmap(), and BmpReadHeader().
| uint32_t BmpInfo::height |
bitmap height
Definition at line 19 of file bmp.h.
Referenced by BmpRead1(), BmpRead24(), BmpRead4(), BmpRead4Rle(), BmpRead8(), BmpRead8Rle(), BmpReadBitmap(), BmpReadHeader(), ReadHeightmapBMP(), and ReadHeightmapBMPImageData().
| size_t BmpInfo::offset |
offset of bitmap data from .bmp file beginning
Definition at line 17 of file bmp.h.
Referenced by BmpReadBitmap(), and BmpReadHeader().
| bool BmpInfo::os2_bmp |
true if OS/2 1.x or windows 2.x bitmap
Definition at line 20 of file bmp.h.
Referenced by BmpReadHeader().
| uint32_t BmpInfo::palette_size |
number of colours in palette
Definition at line 23 of file bmp.h.
Referenced by BmpReadHeader(), and ReadHeightmapBMPImageData().
| uint32_t BmpInfo::width |
bitmap width
Definition at line 18 of file bmp.h.
Referenced by BmpRead1(), BmpRead24(), BmpRead4(), BmpRead4Rle(), BmpRead8(), BmpRead8Rle(), BmpReadBitmap(), BmpReadHeader(), ReadHeightmapBMP(), and ReadHeightmapBMPImageData().