]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16.h
wwww workings!! wwww
[16.git] / src / lib / modex16.h
index a4be22f6df889805db5cca3f37c94d67a9a2edcf..41c0a66ea69757c78a192695c07c0b18fd26c528 100644 (file)
@@ -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,7 +62,7 @@ void modexPalBlack();
 void modexPalWhite();
 
 /* utility functions */
-void modexPalUpdate(bitmap_t *bmp, word *i, word qp/*, word aqpp*/);
+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*/);