diff options
Diffstat (limited to 'src/gfx.h')
-rw-r--r-- | src/gfx.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -158,6 +158,18 @@ void GFXPrintPaper(int x, int y, Uint32 col, Uint32 paper, const char *format, ...); +/* Draws a simply compressed bitmap. The data is in the form (where b is a + byte from the stream): + + b < 0x80 Colour (0 Black, 1 Blue, 2 Red, 3 Magenta, 4 Green, + 5 Cyan, 6 Yellow, 7 White, 8 Grey) + + b >= 0x80 Repeat the last colour b-0x80 times. +*/ +void GFXBitmap(int x, int y, int w, int h, + const unsigned char *data); + + #endif |