c2e.convert_special: 0
e2c.convert_num: 0
-openfiles: /dos/z/16/16/dos_gfx.cpp:1620:647:1:
-openfiles: /dos/z/16/16/dos_gfx.h:665:373:0:
+openfiles: /dos/z/16/16/dos_gfx.cpp:5831:5436:1:
+openfiles: /dos/z/16/16/dos_gfx.h:665:285:0:
openfiles: /dos/z/16/16/dos_kb.c:1039:46:0:
openfiles: /dos/z/16/16/dos_kb.h:23:0:0:
openfiles: /dos/z/16/16/lib/lib_com.cpp:0:0:0:
recent_files: file:///dos/z/16/16/lib/x/MXVS.ASM
recent_files: file:///dos/z/16/16/lib/x/MAKEFILE
recent_files: file:///dos/z/16/16/lib/x/MODEX.DEF
-recent_files: file:///dos/z/16/16/dos_gfx.h
recent_files: file:///dos/z/16/16/dos_gfx.cpp
-recent_files: file:///dos/z/16/16/dos_kb.c
+recent_files: file:///dos/z/16/16/dos_gfx.h
recent_files: file:///dos/z/16/16/dos_kb.h
+recent_files: file:///dos/z/16/16/dos_kb.c
recent_files: file:///dos/z/16/16/lib/lib_com.cpp
-recent_files: file:///dos/z/16/16/16.txt
recent_files: file:///dos/z/16/16/lib/lib_com.h
recent_files: file:///dos/z/16/16/scroll.txt
recent_files: file:///dos/z/16/16/project16.txt
+recent_files: file:///dos/z/16/16/16.txt
recent_files: file:///dos/z/16/16/lib/x/MODEX.H
-recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS
-recent_files: file:///dos/z/16/16/lib/x/MXBB.ASM
-recent_files: file:///dos/z/16/src/lib/dos_gfx.h
recent_files: file:///dos/z/4x4_16/modex/DEMO01.PAS
-recent_files: file:///dos/z/16/16/lib/x/MXCR.ASM
-recent_files: file:///dos/z/16/16/lib/intro/lib.c
recent_files: file:///dos/z/16/src/lib/dos_gfx.cpp
+recent_files: file:///dos/z/16/src/lib/dos_gfx.h
+recent_files: file:///dos/z/16/16/lib/x/MXBB.ASM
+recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS
+recent_files: file:///dos/z/16/16/lib/intro/lib.c
+recent_files: file:///dos/z/16/16/lib/x/MXCR.ASM
snr_replacetype: 0
savedir: file:///dos/z/16/16
spell_check_default: 1
* to be included.\r
*/\r
#define TESTING\r
-//#define TILE\r
+#define TILE\r
\r
/////////////////////////////////////////////////////////////////////////////\r
// //\r
#endif\r
} \r
\r
- if(q==2) mxPutPixel(rand()%VW, rand()%(VH), 0);\r
+ if(q==2)
+ #ifdef TILE
+ mxFillBox((rand()*TILEWH)%VW, (rand()*TILEWH)%(VH), TILEWH, TILEWH, 0, OP_SET);
+ #else
+ mxPutPixel(rand()%VW, rand()%(VH), 0);
+ #endif\r
if(q==16) mxPutPixel(rand()%VW, rand()%(VH), 0);\r
if(q==2||q==4||q==16){ bakax = rand()%3; bakay = rand()%3; } //random 3 switch\r
gq++;\r
int ch=0x0;\r
// main variables\r
d=4; // switch variable\r
- key=4; // default screensaver number\r
+ key=2; // default screensaver number\r
xpos=TILEWH*2;\r
ypos=TILEWH*2;\r
xdir=1;\r
}\r
//end of screen savers\r
//doTest();\r
- for (int x = 0; x < VW; ++x)\r
+/* for (int x = 0; x < VW; ++x)\r
{\r
mxPutPixel(x, 0, 15);\r
mxPutPixel(x, SH-1, 15);\r
mxPutPixel(VW-1, y, 15);\r
}\r
\r
- getch();\r
+ getch();*/\r
//text box\r
mxSetTextColor(10, OP_TRANS); //set font\r
- mxBitBlt(xpos, ypos+(TILEWH*12), 320, TILEWH*BUFFMX, 0, BS); //copy background\r
- mxFillBox(xpos, ypos+(TILEWH*12), 320, TILEWH*BUFFMX, 0, OP_SET); // background for text box\r
+ mxBitBlt(xpos, ypos+(TILEWH*12), SW, TILEWH*BUFFMX, 0, BS); //copy background\r
+ mxFillBox(xpos, ypos+(TILEWH*12), SW, TILEWH*BUFFMX, 0, OP_SET); // background for text box\r
//+(QUADWH*6)\r
mxOutText(xpos+1, ypos+SH-48, "========================================");\r
mxOutText(xpos+1, ypos+SH-40, "| |Chikyuu:$line1");\r
mxOutText(xpos+1, ypos+SH-8, "========================================");\r
mxFillBox(xpos+QUADWH, ypos+QUADWH+(TILEWH*12), TILEWH*2, TILEWH*2, 9, OP_SET); //portriat~\r
getch();\r
- mxBitBlt(0, BS, 320, TILEWH*BUFFMX, xpos, ypos+(TILEWH*12)); //copy background\r
+ mxBitBlt(0, BS, SW, TILEWH*BUFFMX, xpos, ypos+(TILEWH*12)); //copy background\r
//mxBitBlt(0, (TILEWH*12)+1, 320, TILEWH*3, 0, 0);\r
getch();\r
while(!kbhit()){\r
//for(int i=0;i<TILEWH;i++){\r
\r
ding(key);\r
- mxPan(xpos,ypos);\r
+ mxPan(xpos,ypos);
+ mxBitBlt(xpos, ypos, SW, SH, 0, SH);\r
//for(short o = 0; o<TILEWH; o++){\r
xpos+=xdir;\r
ypos+=ydir;\r
//if(ypos==1 || (ypos==(BH-SH-1)))delay(500);
//if((xpos>(VW-SW-1)) || (xpos<1))delay(500);\r
- mxWaitRetrace();\r
+ //mxWaitRetrace();
+ mxPan(TILEWH*2,TILEWH*2);
+ mxBitBlt(0, SH, SW, SH, xpos, ypos);\r
//}\r
if( (xpos>(VW-SW-1)) || (xpos<1)){xdir=-xdir;}\r
if( (ypos>(BH-SH-1)) || (ypos<1)){ydir=-ydir;} // { Hit a boundry, change\r
- // direction! }\r
+ // direction! }
+ \r
}\r
ch=getch();\r
if(ch==0x71)break; // 'q'\r