]> 4ch.mooo.com Git - 16.git/commitdiff
modified: 16/DOS_GFX.EXE
authorsparky4 <sparky4@4ch.maidlab.jp>
Wed, 2 Jul 2014 06:06:18 +0000 (01:06 -0500)
committersparky4 <sparky4@4ch.maidlab.jp>
Wed, 2 Jul 2014 06:06:18 +0000 (01:06 -0500)
modified:   16/DOS_GFX.OBJ
modified:   16/dos_gfx.cpp
modified:   16/dos_gfx.h

16/DOS_GFX.EXE
16/DOS_GFX.OBJ
16/dos_gfx.cpp
16/dos_gfx.h

index 76e6018f7aba34b03928eb32012e4494965adf73..064b25db724737adf1c3aa81cf46b6f84733a4c2 100644 (file)
Binary files a/16/DOS_GFX.EXE and b/16/DOS_GFX.EXE differ
index 8054c7510df6eb0556d0031d10c1748e32eae029..b59498512a61adae3c04f7b800d83f825c64ad54 100644 (file)
Binary files a/16/DOS_GFX.OBJ and b/16/DOS_GFX.OBJ differ
index aa4a61d9b49b69c7667e481b0d39688f92442dd3..abe38f8ea754bfc4a569d6f5de3ac39f0d934626 100644 (file)
@@ -56,6 +56,20 @@ void setvideo(/*byte mode, */short vq){
                                //mxSetClipRegion(0, VH+1, VW, (TILEWH*BUFFMX));\r
                }\r
 }\r
+
+void pdump(){
+       int mult=QUADWH;
+       int palq=mult*16;
+       int palcol=0;
+       for(int paly=0; paly<palq; paly++){
+               for(int palx=0; palx<palq; palx++){
+                               mxFillBox((SW-palq)+palx+32, paly+32, TILEWH, TILEWH, palcol, OP_SET);
+                       for(int i=1; i<mult; i++) palx++;
+                       palcol++;
+               }
+       for(int i=1; i<mult; i++) paly++;
+       }
+}
 \r
 /////////////////////////////////////////////////////////////////////////////\r
 //                                                                                                                                              //\r
@@ -325,7 +339,8 @@ int main(void)
                                mxPutPixel(0, y, 15);\r
                                mxPutPixel(VW-1, y, 15);\r
                        }\r
-                       */\r
+                       */
+                       pdump();\r
                        getch();\r
                        //text box\r
                        mxSetTextColor(10, OP_TRANS); //set font\r
index d1fe75a71b797378415092ebe7479a90b71d7773..ce24e28af11680252332b4169cf0ff1d1d95f005 100644 (file)
@@ -48,7 +48,7 @@ void cls(byte color, byte *Where);
 short colortest();\r
 short colorz();\r
 void ssd(short svq);\r
-//void pdump(int mult);\r
+void pdump();\r
 //void tulip();\r
 short ding(int q);\r
 \r