Cavestory Mod API
Public Attributes | List of all members
SURFACE_BITPLANE Struct Reference

A calculated collision bitplane for a surface. More...

#include <SurfaceBitplane.h>

Public Attributes

Surface_Ids SurfId
 The surface ID that this bitplane uses.
 
GUI_RECT SourceRect
 The source rect that was used during the calculation of this bitplane.
 
unsigned int Flags
 The flags for this bitplane. More...
 
GUI_RECT Bounds
 The calculated bounding box for this rect.
 
char * Plane
 The calculated bitplane for this rect. More...
 

Detailed Description

A calculated collision bitplane for a surface.

Member Data Documentation

◆ Flags

unsigned int SURFACE_BITPLANE::Flags

The flags for this bitplane.

See also
SurfaceBitplaneFlags

◆ Plane

char* SURFACE_BITPLANE::Plane

The calculated bitplane for this rect.

Note
The width and height of this array are stored in 'SourceRect'.
Bits that equal '1' in this plane mean the pixel is solid. '0' means that the pixel has no collision.

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