Isle
Loading...
Searching...
No Matches
MxBITMAPINFO Struct Reference

[AI] Represents a bitmap information header plus a 256-color palette, matching the layout for 8-bit DIBs used in the game engine. More...

#include <mxbitmap.h>

Static Public Member Functions

static MxU32 Size ()
 [AI] Returns the size of this structure in bytes (0x428 for 256 colors). More...
 

Public Attributes

BITMAPINFOHEADER m_bmiHeader
 [AI] Standard DIB bitmap header (size 0x28 bytes). More...
 
RGBQUAD m_bmiColors [256]
 [AI] 256-entry color palette for 8bpp images. More...
 

Detailed Description

[AI] Represents a bitmap information header plus a 256-color palette, matching the layout for 8-bit DIBs used in the game engine.

[AI] This struct gives enough room for 256 color palette entries and is used as a template for 8-bit (palettized) .BMP images.

Definition at line 25 of file mxbitmap.h.

Member Function Documentation

◆ Size()

static MxU32 MxBITMAPINFO::Size ( )
inlinestatic

[AI] Returns the size of this structure in bytes (0x428 for 256 colors).

Returns
[AI] Size in bytes of MxBITMAPINFO, always 0x428.

Definition at line 33 of file mxbitmap.h.

Member Data Documentation

◆ m_bmiColors

RGBQUAD MxBITMAPINFO::m_bmiColors[256]

[AI] 256-entry color palette for 8bpp images.

Definition at line 27 of file mxbitmap.h.

◆ m_bmiHeader

BITMAPINFOHEADER MxBITMAPINFO::m_bmiHeader

[AI] Standard DIB bitmap header (size 0x28 bytes).

Definition at line 26 of file mxbitmap.h.


The documentation for this struct was generated from the following file: