X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.h;h=41c0a66ea69757c78a192695c07c0b18fd26c528;hb=60bed23e449fb5296f73e5cd6bddb0d8d7f0eb4c;hp=5daf1ef4761353aa1ffad2960110257ca20f61f4;hpb=382c52a610e89948ad695a356879daf54653bb4c;p=16.git diff --git a/src/lib/modex16.h b/src/lib/modex16.h index 5daf1ef4..41c0a66e 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,8 +62,10 @@ void modexPalBlack(); void modexPalWhite(); /* utility functions */ -void modexPalUpdate(bitmap_t *bmp, word *i, word qp); +void modexPalUpdate(bitmap_t *bmp, word *i, word qp, word aqoffset); void modexPalUpdate2(byte *p); +void modexPalUpdate3(byte *p); +void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/); void modexWaitBorder(); /* -======================= Constants & Vars ==========================- */