modified: 16/DOS_GFX.OBJ
modified: 16/dos_gfx.cpp
modified: 16/dos_gfx.h
modified: 16/modex16/PCXTEST.C
modified: 16/modex16/PCXTEST.EXE
modified: 16/modex16/PCXTEST.OBJ
new file: 16/modex16/q.pcx
new file: 16/modex16/w.pcx
modified: boop.sh
* to be included.\r
*/\r
#define TESTING\r
* to be included.\r
*/\r
#define TESTING\r
\r
/////////////////////////////////////////////////////////////////////////////\r
// //\r
\r
/////////////////////////////////////////////////////////////////////////////\r
// //\r
\r
//color \82Ä\82·\82Æ\r
short colorz(){\r
\r
//color \82Ä\82·\82Æ\r
short colorz(){\r
//---- cls(gq, vaddr);\r
cls(gq, vga);\r
gq++;\r
//---- cls(gq, vaddr);\r
cls(gq, vga);\r
gq++;\r
||q==16\r
) && gq == BONK){\r
if(coor < HGQ && coor < LGQ) coor = LGQ;\r
||q==16\r
) && gq == BONK){\r
if(coor < HGQ && coor < LGQ) coor = LGQ;\r
coor++;\r
}else{ coor = LGQ;\r
bakax = rand()%3; bakay = rand()%3;\r
coor++;\r
}else{ coor = LGQ;\r
bakax = rand()%3; bakay = rand()%3;\r
if(q == 7) ssd(q);\r
if(q == 9){ ssd(q); coor++; }\r
gq++;\r
if(q == 7) ssd(q);\r
if(q == 9){ ssd(q); coor++; }\r
gq++;\r
setvideo(1);\r
}\r
}*/ // else off\r
setvideo(1);\r
}\r
}*/ // else off\r
- mxFillBox(0, 0, VW, BH, 10, OP_SET);\r
+ //mxFillBox(0, 0, VW, BH, 10, OP_SET);\r
while(1){ // conditions of screen saver\r
while(!kbhit()){\r
ding(key);\r
while(1){ // conditions of screen saver\r
while(!kbhit()){\r
ding(key);\r
//static hgq=NUM_COLORS/(1/8)\r
#define BONK 400\r
#define LGQ 32\r
//static hgq=NUM_COLORS/(1/8)\r
#define BONK 400\r
#define LGQ 32\r
#define TILEWH 16
#define QUADWH TILEWH/2
#define BUFFMX 4\r
#define TILEWH 16
#define QUADWH TILEWH/2
#define BUFFMX 4\r
\r
void main() {\r
bitmap_t bmp;\r
\r
void main() {\r
bitmap_t bmp;\r
bitmap_t bmp3;\r
//bitmap_t bmp4;\r
// int index;\r
//int ch=0x0;\r
\r
//bmp = modexLoadPcx("ed.pcx");\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
bmp3 = modexLoadPcx("flower.pcx");\r
/*bmp2 = modexLoadPcx("ed2.pcx");\r
bmp3 = modexLoadPcx("flower.pcx");\r
modexEnter();\r
\r
/* fix up the palette and everything */\r
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
\r
/* don't show the drawing page */\r
modexShowPage(VGA + PAGE_SIZE);\r
modexDrawBmp(VGA, 180, 20, &bmp, 1);\r
modexDrawBmp(VGA, 180, 0, &bmp3, 1);\r
modexDrawBmp(VGA, 170, 100, &bmp4, 1);*/\r
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
modexShowPage(VGA);\r
// for(index = 0; index<500; index++) {\r
//while(1/*!kbhit()*/){ // conditions of screen saver\r
git push x4 master
git push origin master
git push jp master
git push x4 master
git push origin master
git push jp master