X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.h;h=2a4987a5e20dd8d66b3d93e0eb78d51d689fa2c6;hb=92159c1baca21e61dd975708e9f1bfef5c357f4b;hp=4d5926f4ae93f755c67d3275ac947bc82b69e473;hpb=b5c46f5e85d6be9895fa484766867907a885439c;p=16.git diff --git a/src/lib/modex16.h b/src/lib/modex16.h index 4d5926f4..2a4987a5 100644 --- a/src/lib/modex16.h +++ b/src/lib/modex16.h @@ -21,6 +21,13 @@ typedef struct { word height; /* virtual height of the page */ } page_t; +typedef union +{ + byte red; + byte green; + byte blue; +} rgb_t; + /* -============================ Functions =============================- */ /* mode switching, page, and plane functions */ void modexEnter(); @@ -55,10 +62,10 @@ void modexPalBlack(); void modexPalWhite(); /* utility functions */ -void modexPalUpdate(bitmap_t *bmp, word *i, word qp, word aqpp); -void modexPalUpdate2(byte *p); -void modexPalUpdate3(byte *p); -void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i); +void modexPalUpdate(bitmap_t *bmp, word *i, word qp, word aqoffset); +void modexPalUpdate1(byte *p); +void modexPalUpdate0(byte *p); +void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/); void modexWaitBorder(); /* -======================= Constants & Vars ==========================- */