c2e.convert_special: 0
e2c.convert_num: 0
-openfiles: /dos/z/16/16/dos_gfx.cpp:7011:6876:1:
-openfiles: /dos/z/16/16/dos_gfx.h:477:0:0:
+openfiles: /dos/z/16/16/dos_gfx.cpp:6494:6858:1:
+openfiles: /dos/z/16/16/dos_gfx.h:363:0:0:
openfiles: /dos/z/16/16/dos_kb.c:892:395:0:
openfiles: /dos/z/16/16/dos_kb.h:60:0:0:
openfiles: /dos/z/16/16/lib/lib_com.cpp:0:0:0:
openfiles: /dos/z/16/16/lib/lib_com.h:2553:1416:0:
openfiles: /dos/z/16/16/scroll.txt:5307:5080:0:
-openfiles: /dos/z/16/16/project16.txt:8161:7087:0:
+openfiles: /dos/z/16/16/project16.txt:8161:6091:0:
openfiles: /dos/z/16/16/16.txt:0:0:0:
-openfiles: /dos/z/16/16/lib/x/MODEX.H:4215:3474:0:
-openfiles: /dos/z/16/16/lib/x/MODEX.DEF:4471:3131:0:
-openfiles: /dos/z/16/16/lib/x/MAKEFILE:1186:782:0:
-openfiles: /dos/z/4x4_16/modex/DEMO07.PAS:985:490:0:
+openfiles: /dos/z/16/16/lib/x/MODEX.H:4025:2832:0:
openfiles: /dos/z/16/16/lib/intro/lib.c:2417:1910:0:
openfiles: /dos/z/16/src/lib/dos_gfx.cpp:2384:0:0:
openfiles: /dos/z/16/src/lib/dos_gfx.h:0:0:0:
+openfiles: /dos/z/4x4_16/modex/DEMO01.PAS:3301:2608:0:
+openfiles: /dos/z/4x4_16/!/c/TUT10.C:4286:3454:0:
snr_recursion_level: 0
convertcolumn_horizontally: 0
adv_open_matchname: 0
default_mime_type: text/plain
e2c.convert_xml: 1
c2e.convert_iso: 0
-opendir: file:///dos/z/16/src/lib
+opendir: file:///dos/z/4x4_16/!/c
wrap_text_default: 0
bookmarks_filename_mode: 1
-ssearch_text: text
+ssearch_text: Readkey;
snr_casesens: 0
view_blocks: 1
name: project 16
recent_files: file:///dos/z/16/16/lib/x/MXVS.ASM
recent_files: file:///dos/z/16/16/lib/x/MXPN.ASM
recent_files: file:///dos/z/16/16/dos_gfx.cpp
-recent_files: file:///dos/z/16/16/lib/lib_com.h
recent_files: file:///dos/z/16/16/dos_gfx.h
recent_files: file:///dos/z/16/16/dos_kb.c
recent_files: file:///dos/z/16/16/dos_kb.h
recent_files: file:///dos/z/16/16/lib/lib_com.cpp
+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/src/lib/dos_gfx.h
-recent_files: file:///dos/z/16/src/lib/dos_gfx.cpp
-recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS
-recent_files: file:///dos/z/16/16/lib/x/MAKEFILE
recent_files: file:///dos/z/16/16/lib/x/MODEX.H
recent_files: file:///dos/z/16/16/lib/x/MODEX.DEF
+recent_files: file:///dos/z/16/src/lib/dos_gfx.h
+recent_files: file:///dos/z/16/16/16.txt
+recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS
+recent_files: file:///dos/z/16/src/lib/dos_gfx.cpp
recent_files: file:///dos/z/16/16/lib/intro/lib.c
+recent_files: file:///dos/z/16/16/lib/x/MAKEFILE
+recent_files: file:///dos/z/4x4_16/modex/DEMO01.PAS
+recent_files: file:///dos/z/4x4_16/!/c/TUT10.C
snr_replacetype: 0
savedir: file:///dos/z/16/16
spell_check_default: 1
htmlbar_view: 0
spell_lang: en
ssearch_dotmatchall: 0
-searchlist: setvir
-searchlist: virtual
-searchlist: STEPS
-searchlist: mxSetClip( TRUE );
-searchlist: world_matrix
searchlist: mxPutPixel
searchlist: setactive
searchlist: vga
searchlist: OP_TRANS
searchlist: texyt
searchlist: text
+searchlist: Palette
+searchlist: bios_keybrd
+searchlist: Readkey; Readkey;
+searchlist: Readkey;
+searchlist: Readkey;
autocomplete: 1
outputb_show_all_output: 0
bookmarks_show_mode: 0
||q==16\r
) && gq == BONK){\r
if(coor < HGQ && coor < LGQ) coor = LGQ;\r
- if(coor < HGQ){\r
+ if(coor < HGQ-1){\r
coor++;\r
}else{ coor = LGQ;\r
bakax = rand()%3; bakay = rand()%3;\r
}\r
}else{\r
if(!bakax){\r
- xx-=TILEWH;\r
-// xx--;\r
+// xx-=TILEWH;\r
+ xx--;\r
}else if(bakax>1){\r
- xx+=TILEWH;\r
-// xx++;\r
+// xx+=TILEWH;\r
+ xx++;\r
}\r
if(!bakay){\r
- yy-=TILEWH;\r
-// yy--;\r
+// yy-=TILEWH;\r
+ yy--;\r
}else if(bakay>1){\r
- yy+=TILEWH;\r
-// yy++;\r
+// yy+=TILEWH;\r
+ yy++;\r
}\r
}\r
}\r
\r
// plot the pixel\r
}else{\r
- mxFillBox(xx, yy, TILEWH, TILEWH, coor, 0);\r
-// mxPutPixel(xx, yy, coor);\r
+// mxFillBox(xx, yy, TILEWH, TILEWH, coor, 16);\r
+ mxPutPixel(xx, yy, coor);\r
} \r
\r
- if(q==2) mxPutPixel(rand()%SW, rand()%(SH*3), 0);\r
- if(q==16) mxPutPixel(rand()%SW, rand()%(SH*3), 0);\r
- if(q==2||q==4||q==16){ bakax = rand()%3; bakay = rand()%3; }\r
+ if(q==2) mxPutPixel(rand()%VW, rand()%(VH), 0);\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
//if(xx<0||xx>320||yy<0||yy>(SH*3))\r
// printf("%d %d %d %d %d %d\n", xx, yy, coor, bakax, bakay, getPixel_X(xx,yy));\r
\r
int main(void)\r
{\r
- int key,d,xpos,ypos,xdir,ydir;\r
+ int key,d,xpos,ypos,xdir,ydir;
+ int ch=0x0;\r
//short int temp;\r
// main variables\r
d=1; // switch variable\r
setvideo(1);\r
}\r
}*/ // else off\r
- while(!kbhit()){ // conditions of screen saver\r
- ding(key);\r
+ while(1){ // conditions of screen saver
+ while(!kbhit()){\r
+ ding(key);
}\r
//end of screen savers\r
//doTest();\r
mxPutPixel(0, y, 15);\r
mxPutPixel(SW-1, y, 15);\r
}\r
-\r
- getch();\r
for (int x = 320; x < VW; ++x)\r
{\r
mxPutPixel(x, 0, 15);\r
{\r
mxPutPixel(0, y, 15);\r
mxPutPixel(VW-1, y, 15);\r
- }\r
+ }
+ \r
+ getch();\r
+ //mxFillBox(xx, yy, QUADWH, QUADWH, 1, 16);
+ //mxFillBox(xx, yy, QUADWH, QUADWH, 2, 16);
+ //mxFillBox(xx, yy, QUADWH, QUADWH, 3, 16);
+ //mxFillBox(xx, yy, QUADWH, QUADWH, 4, 16);\r
mxSetTextColor(16, OP_TRANS);\r
- mxOutText(64, SH-40, "CRAZY!!!!");\r
- mxOutText(64, SH-32, "CRAZY!!!!");\r
- mxOutText(64, SH-24, " _ CRAZY!!!!");\r
- mxOutText(64, SH-16, " _ _ CRAZY!!!!");\r
+ mxOutText(56, SH-40, "CRAZY!!!!]");\r
+ mxOutText(64, SH-32, "CRAZY!!!!]");\r
+ mxOutText(64, SH-24, "____ CRAZY!!!!]");\r
+ mxOutText(56, SH-16, "___ _ CRAZY!!!!]");\r
getch();\r
while(!kbhit()){\r
// hScroll(1);\r
// delay(100);\r
//for(int i=0;i<TILEWH;i++){\r
ding(key);\r
- mxOutText(64, SH-40, "CRAZY!!!!");\r
- mxOutText(64, SH-32, "CRAZY!!!!");\r
- mxOutText(64, SH-24, " _ CRAZY!!!!");\r
- mxOutText(64, SH-16, " _ _ CRAZY!!!!");\r
+ //mxOutText(64, SH-40, "CRAZY!!!!");\r
+ //mxOutText(64, SH-32, "CRAZY!!!!");\r
+ //mxOutText(64, SH-24, " _ CRAZY!!!!");\r
+ //mxOutText(64, SH-16, " _ _ CRAZY!!!!");
mxPan(xpos,ypos);\r
- //mxWaitRetrace();\r
- xpos+=xdir;\r
- ypos+=ydir;\r
+ for(int o = 0; o<TILEWH; o++){
+ xpos+=xdir;\r
+ ypos+=ydir;
+ //mxWaitRetrace();
+ }\r
if( (xpos>(VW-SW-1)) || (xpos<1)){xdir=-xdir;}\r
if( (ypos>(VH-SH-1)) || (ypos<1)){ydir=-ydir;} // { Hit a boundry, change\r
// direction! }\r
- //}\r
+ }
+ ch=getch();
+ if(ch==0x71)break; // 'q'\r
+ if(ch==0x1b)break; // 'ESC'\r
}\r
setvideo(0);\r
printf("wwww\nResolution: %dx%d\n", SW,SH);\r