]> 4ch.mooo.com Git - 16.git/blobdiff - 16/modex16/PCXTEST.C
modified: 16/DOS_GFX.EXE
[16.git] / 16 / modex16 / PCXTEST.C
index 784a3caf428ab4413f4dad293dde74499a89f392..6e3e6a3feb55dac01dab2e1f15afc97b80a12974 100644 (file)
@@ -3,15 +3,15 @@
 \r
 void main() {\r
     bitmap_t bmp;\r
-       //bitmap_t bmp2;\r
+       bitmap_t bmp2;\r
        bitmap_t bmp3;\r
        //bitmap_t bmp4;\r
 //     int index;\r
        //int ch=0x0;\r
 \r
     //bmp = modexLoadPcx("ed.pcx");\r
-//     bmp = modexLoadPcx("koishi^^.pcx");\r
-       bmp = modexLoadPcx("chikyuu.pcx");\r
+       bmp = modexLoadPcx("w.pcx");
+       bmp2 = modexLoadPcx("q.pcx");\r
        bmp3 = modexLoadPcx("flower.pcx");\r
     /*bmp2 = modexLoadPcx("ed2.pcx");\r
     bmp3 = modexLoadPcx("flower.pcx");\r
@@ -19,7 +19,7 @@ void main() {
        modexEnter();\r
 \r
     /* fix up the palette and everything */\r
-       modexPalUpdate(bmp3.palette);\r
+       modexPalUpdate(bmp.palette);\r
 \r
     /* don't show the drawing page */\r
     modexShowPage(VGA + PAGE_SIZE);\r
@@ -30,8 +30,10 @@ void main() {
     modexDrawBmp(VGA, 180, 20, &bmp, 1);\r
        modexDrawBmp(VGA, 180, 0, &bmp3, 1);\r
        modexDrawBmp(VGA, 170, 100, &bmp4, 1);*/\r
-       modexDrawBmp(VGA, 0, 0, &bmp, 1);
-       modexDrawBmp(VGA, 100, 20, &bmp3, 1);\r
+       modexDrawBmp(VGA, 100, 0, &bmp, 0);
+       //modexDrawBmp(VGA, 120, 20, &bmp3, 0);
+       modexDrawBmp(VGA, 100, 0, &bmp2, 1);
+       //modexDrawBmp(VGA, 120, 60, &bmp3, 1);\r
     modexShowPage(VGA);\r
 //    for(index = 0; index<500; index++) {\r
        //while(1/*!kbhit()*/){ // conditions of screen saver\r