Module rex

Source

Structs§

XpCell
Structure representing a character and its foreground/background color
XpColor
Structure representing the components of one color
XpFile
Structure representing a REXPaint image file which is a stack of layers
XpLayer
Structure representing a layer Cells are in the same order as in the file, in column-major order (index of position x,y is y*height + x).

Functions§

xp_to_console
Applies an XpFile to a given console, with 0,0 offset by offset_x and offset-y.
xp_to_draw_batch
Applies an XpFile to a given draw batch, with 0,0 offset by offset_x and offset-y.