MCPcopy Create free account
hub / github.com/NetHack/NetHack / BitmapInfoHeader

Class BitmapInfoHeader

win/share/bmptiles.c:30–54  ·  view source on GitHub ↗

Second BMP file header */ This one can vary in size; contents can vary according to the size */

Source from the content-addressed store, hash-verified

28/* Second BMP file header */
29/* This one can vary in size; contents can vary according to the size */
30struct BitmapInfoHeader {
31 uint32 Size; /* 12 40 52 56 108 124 64 */
32 int32 Width; /* 12 40 52 56 108 124 64 */
33 int32 Height; /* 12 40 52 56 108 124 64 */
34 uint16 NumPlanes; /* 12 40 52 56 108 124 64 */
35 uint16 BitsPerPixel; /* 12 40 52 56 108 124 64 */
36 uint32 Compression; /* 40 52 56 108 124 64 */
37 uint32 ImageDataSize; /* 40 52 56 108 124 64 */
38 int32 XResolution; /* 40 52 56 108 124 64 */
39 int32 YResolution; /* 40 52 56 108 124 64 */
40 uint32 ColorsUsed; /* 40 52 56 108 124 64 */
41 uint32 ColorsImportant; /* 40 52 56 108 124 64 */
42 uint32 RedMask; /* 52 56 108 124 */
43 uint32 GreenMask; /* 52 56 108 124 */
44 uint32 BlueMask; /* 52 56 108 124 */
45 uint32 AlphaMask; /* 56 108 124 */
46 uint32 CSType; /* 108 124 */
47 struct CIE_XYZTriple Endpoints; /* 108 124 */
48 uint32 GammaRed; /* 108 124 */
49 uint32 GammaGreen; /* 108 124 */
50 uint32 GammaBlue; /* 108 124 */
51 uint32 Intent; /* 124 */
52 uint32 ProfileData; /* 124 */
53 uint32 ProfileSize; /* 124 */
54};
55/* Compression */
56#define BI_RGB 0
57#define BI_RLE8 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected