X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fdos_gfx.cpp;h=268b99ae5f9393febd76d0e967ba3a385450f477;hb=5ab89616163e37b41b208796e3455b891bda44dc;hp=7e3327b531019f22c7c3c3cdae8b180e3ea27c74;hpb=4098c490a285a716b46640e8c04f621ccf441f81;p=16.git diff --git a/16/dos_gfx.cpp b/16/dos_gfx.cpp index 7e3327b5..268b99ae 100644 --- a/16/dos_gfx.cpp +++ b/16/dos_gfx.cpp @@ -1,7 +1,8 @@ //DOS Graphics thingy by sparky4 licence GPL v2 //a special thanks to everyone to release source code for mode X /*src\lib\*/ -#include "dos_gfx.h" +#include "dos_gfx.h" +//#include "lib\modex16.h" //____ int old_mode; //color ‚Ä‚·‚Æ @@ -9,7 +10,7 @@ short gq = LGQ; //‚Ä‚·‚Æ short bakax = 0, bakay = 0; -syte xx = rand()&0%SW, yy = rand()&0%SH, sx = 0, sy = 0; +word xx = rand()&0%SW, yy = rand()&0%SH, sx = 0, sy = 0; byte coor; byte *vga = (byte *) MK_FP(0xA000, 0); @@ -284,7 +285,9 @@ short ding(int q){ */ int main(void) - { + { + //bitmap_t bmp; //____ + //bmp = modexLoadPcx("chikyuu.pcx"); //____ short key,d,xpos,ypos,xdir,ydir; int ch=0x0; // main variables @@ -294,7 +297,10 @@ int main(void) ypos=TILEWH*2; xdir=1; ydir=1; - setvideo(1); + setvideo(1); + //modexPalUpdate(bmp.palette); //____ + //modexDrawBmp(VGA, 0, 0, &bmp, 0); //____ + //getch(); //____ // screen savers /*while(d!=0){ // on!