Isle
Loading...
Searching...
No Matches
mxbitmap.h File Reference
#include "mxcore.h"
#include "mxtypes.h"
#include <ddraw.h>
#include <stdlib.h>
Include dependency graph for mxbitmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MxBITMAPINFO
 [AI] Represents a bitmap information header plus a 256-color palette, matching the layout for 8-bit DIBs used in the game engine. More...
 
class  MxBitmap
 [AI] Represents an 8bpp or high color device-independent bitmap (DIB) and provides operations for bitmap loading, manipulation, and palette management. More...
 

Macros

#define BI_RGB_TOPDOWN   0x10
 [AI] Non-standard biCompression value indicating top-down row order for uncompressed bitmaps. More...
 
#define GetAdjustedStride(p_bitmap)
 

Macro Definition Documentation

◆ BI_RGB_TOPDOWN

#define BI_RGB_TOPDOWN   0x10

[AI] Non-standard biCompression value indicating top-down row order for uncompressed bitmaps.

[AI] Used as a custom marker in .bmp headers for distinguishing top-down scanline storage. (Mindscape extension)

Definition at line 46 of file mxbitmap.h.

◆ GetAdjustedStride

#define GetAdjustedStride (   p_bitmap)
Value:
(p_bitmap->IsTopDown() ? p_bitmap->AlignToFourByte(p_bitmap->GetBmiWidth()) \
: -p_bitmap->AlignToFourByte(p_bitmap->GetBmiWidth()))

Definition at line 277 of file mxbitmap.h.