maug
Quick and dirty C mini-augmentation library.
|
Macros | |
#define | RETROFLAT_COLOR_TABLE(f) |
This macro defines all colors supported by RetroFlat for primative operations, particularly using retroflat_px(). | |
#define | RETROFLAT_COLOR_NULL (-1) |
#define | RETROFLAT_COLORS_SZ 16 |
Typedefs | |
typedef int8_t | RETROFLAT_COLOR |
Defines an index in the platform-specific color-table. | |
#define RETROFLAT_COLOR_TABLE | ( | f | ) |
This macro defines all colors supported by RetroFlat for primative operations, particularly using retroflat_px().
The fields are: index, name (lowercase), name (uppercase), red, green, blue, cga on-color, cga off-color
On-color and off-color are used for dithering... odd pixels get one and even pixels get the other.