dutils.sprite

Members

Functions

ReadSpriteFromFile
Sprite ReadSpriteFromFile(immutable(char)[] filename)

*ReadSpriteFromFile reads a file in .spr format and outputs a new 'Sprite" object from it. * Params: * filename = The name of the file to read the sprite from. * Returns: A new 'Sprite' object interpreted from the file.

posfunc
void posfunc(ubyte[] ftext, long main, short exp, long temp, uint i, ubyte j, Point[][] points, uint x)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Color
struct Color

Struct Color: This data structure represents colors in the RGBA format.

Sprite
struct Sprite

Struct Sprite: This data structure represents a sprite that would be painted over a face from dutils:skeleton

Meta

License

GPL-3.0*