From: sparky4 Date: Tue, 10 Jun 2014 22:14:39 +0000 (-0500) Subject: ' X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=73351b387df459e70148d976d86024b821ca9d6a;p=16.git ' modified: 16/DOS_GFX.EXE modified: 16/DOS_GFX.OBJ modified: 16/Project 16.bfproject modified: 16/dos_gfx.cpp deleted: DOS_GFX.OBJ --- diff --git a/16/DOS_GFX.EXE b/16/DOS_GFX.EXE index 1425de66..982a79bf 100644 Binary files a/16/DOS_GFX.EXE and b/16/DOS_GFX.EXE differ diff --git a/16/DOS_GFX.OBJ b/16/DOS_GFX.OBJ index a3c72fd4..5663b992 100644 Binary files a/16/DOS_GFX.OBJ and b/16/DOS_GFX.OBJ differ diff --git a/16/Project 16.bfproject b/16/Project 16.bfproject index 953c86ff..a8d06f87 100644 --- a/16/Project 16.bfproject +++ b/16/Project 16.bfproject @@ -1,22 +1,22 @@ c2e.convert_special: 0 e2c.convert_num: 0 -openfiles: /dos/z/16/16/dos_gfx.cpp:8510:2871:1: -openfiles: /dos/z/16/16/dos_gfx.h:346: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/dos_gfx.cpp:5396:5067:1: +openfiles: /dos/z/16/16/dos_gfx.h:327:0: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: -openfiles: /dos/z/16/16/lib/lib_com.h:2557:1575:0: -openfiles: /dos/z/16/16/scroll.txt:5307:5080:0: -openfiles: /dos/z/16/16/project16.txt:8161:6091:0: +openfiles: /dos/z/16/16/lib/lib_com.h:2503:1575:0: +openfiles: /dos/z/16/16/scroll.txt:5256:4537:0: +openfiles: /dos/z/16/16/project16.txt:8063:7087:0: openfiles: /dos/z/16/16/16.txt:0:0:0: -openfiles: /dos/z/16/16/lib/x/MODEX.H:1631:987:0: -openfiles: /dos/z/16/16/lib/intro/lib.c:2417:1910:0: -openfiles: /dos/z/16/src/lib/dos_gfx.cpp:2384:869:0: +openfiles: /dos/z/16/16/lib/x/MODEX.H:3164:2733:0: +openfiles: /dos/z/16/16/lib/intro/lib.c:2412:1757:0: +openfiles: /dos/z/16/src/lib/dos_gfx.cpp:2364:1106:0: openfiles: /dos/z/16/src/lib/dos_gfx.h:0:0:0: -openfiles: /dos/z/16/16/lib/x/MXBB.ASM:564:0:0: +openfiles: /dos/z/16/16/lib/x/MXBB.ASM:559:0:0: openfiles: /dos/z/4x4_16/modex/DEMO01.PAS:2972:2048:0: -openfiles: /dos/z/4x4_16/modex/DEMO07.PAS:1567:683:0: -openfiles: /dos/z/16/16/lib/x/MXCR.ASM:280:0:0: +openfiles: /dos/z/4x4_16/modex/DEMO07.PAS:1567:547:0: +openfiles: /dos/z/16/16/lib/x/MXCR.ASM:252:0:0: snr_recursion_level: 0 convertcolumn_horizontally: 0 adv_open_matchname: 0 @@ -28,10 +28,10 @@ view_left_panel: 0 default_mime_type: text/plain e2c.convert_xml: 1 c2e.convert_iso: 0 -opendir: file:///dos/z/4x4_16/modex +opendir: file:///dos/z/16/16 wrap_text_default: 0 bookmarks_filename_mode: 1 -ssearch_text: OP_SET +ssearch_text: mxBitBlt( MXSINT sx, MXSINT sy, MXUINT width, MXUINT height, MXSINT dx, MXSINT dy ); snr_casesens: 0 view_blocks: 1 name: project 16 @@ -82,23 +82,23 @@ recent_files: file:///dos/z/16/16/lib/x/MODEX.DEF recent_files: file:///dos/z/16/16/lib/x/MAKEFILE recent_files: file:///dos/z/4x4_16/!/c/TUT10.C recent_files: file:///dos/z/16/16/lib/x/MXVS.ASM -recent_files: file:///dos/z/16/16/lib/lib_com.h +recent_files: file:///dos/z/16/16/lib/x/MODEX.H +recent_files: file:///dos/z/4x4_16/modex/DEMO01.PAS +recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS +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/16.txt 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/lib/x/MXBB.ASM -recent_files: file:///dos/z/16/16/lib/x/MODEX.H -recent_files: file:///dos/z/16/16/16.txt +recent_files: file:///dos/z/16/16/lib/intro/lib.c 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/MXBB.ASM 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/dos_gfx.cpp recent_files: file:///dos/z/16/16/lib/x/MXCR.ASM -recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS -recent_files: file:///dos/z/16/16/dos_gfx.h +recent_files: file:///dos/z/16/16/dos_gfx.cpp snr_replacetype: 0 savedir: file:///dos/z/16/16 spell_check_default: 1 @@ -110,7 +110,6 @@ snr_escape_chars: 0 htmlbar_view: 0 spell_lang: en ssearch_dotmatchall: 0 -searchlist: Putpic searchlist: bit searchlist: sxInit searchlist: Init @@ -124,7 +123,8 @@ searchlist: (TILEWH*2)) searchlist: VH searchlist: mxSetClipRegion searchlist: mxFillBox( -searchlist: OP_SET +searchlist: OP_SET +searchlist: mxBitBlt( MXSINT sx, MXSINT sy, MXUINT width, MXUINT height, MXSINT dx, MXSINT dy ); autocomplete: 1 outputb_show_all_output: 0 bookmarks_show_mode: 0 diff --git a/16/dos_gfx.cpp b/16/dos_gfx.cpp index 72e6d535..d7020197 100644 --- a/16/dos_gfx.cpp +++ b/16/dos_gfx.cpp @@ -63,7 +63,7 @@ void setvideo(/*byte mode, */short vq){ // // ///////////////////////////////////////////////////////////////////////////// void cls(byte color, byte *Where){ - _fmemset(Where, color, VW*(VH*1.5)); + _fmemset(Where, color, VW*(VH*2)); } //color ‚Ä‚·‚Æ @@ -212,11 +212,18 @@ short ding(int q){ } } // fixer - if(q!=16){ - if(xx<0) xx=(VW/*-TILEWH*/); - if(yy<0) yy=(VH/*-TILEWH*/); - if(xx>(VW/*-TILEWH*/)) xx=0; - if(yy>(VH+(TILEWH*BUFFMX))) yy=0; + if(q!=16){ + #ifdef TILE + if(xx<0) xx=(VW-TILEWH); + if(yy<0) yy=(VH-TILEWH); + if(xx>(VW-TILEWH)) xx=0; + if(yy>(VH-TILEWH)/*+(TILEWH*BUFFMX)*/) yy=0; + #else + if(xx<0) xx=VW; + if(yy<0) yy=VH; + if(xx>VW) xx=0; + if(yy>VH) yy=0; + #endif } //interesting effects @@ -312,14 +319,20 @@ int main(void) mxPutPixel(VW-1, y, 15); } - getch(); - mxSetTextColor(8, OP_TRANS); + getch(); + //text box + mxSetTextColor(10, OP_TRANS); //set font + mxBitBlt(xpos, ypos+(TILEWH*12), 320, TILEWH*BUFFMX, 0, VH); //copy background + mxFillBox(xpos, ypos+(TILEWH*12), 320, TILEWH*BUFFMX, 0, OP_SET); // background for text box mxOutText(xpos+(QUADWH*6)+1, ypos+SH-48, "=================================="); mxOutText(xpos+(QUADWH*6)+1, ypos+SH-40, "CRAZY!!!!]"); mxOutText(xpos+(QUADWH*6)+1, ypos+SH-32, "CRAZY!!!!]"); mxOutText(xpos+(QUADWH*6)+1, ypos+SH-24, "____ CRAZY!!!!]"); mxOutText(xpos+(QUADWH*6)+1, ypos+SH-16, "___ _ CRAZY!!!!]"); - mxOutText(xpos+(QUADWH*6)+1, ypos+SH-8, "=================================="); + mxOutText(xpos+(QUADWH*6)+1, ypos+SH-8, "=================================="); + getch(); + mxBitBlt(0, VH, 320, TILEWH*BUFFMX, xpos, ypos+(TILEWH*12)); //copy background + //mxBitBlt(0, (TILEWH*12)+1, 320, TILEWH*3, 0, 0); getch(); while(!kbhit()){ // hScroll(1); diff --git a/DOS_GFX.OBJ b/DOS_GFX.OBJ deleted file mode 100644 index 37cebb26..00000000 Binary files a/DOS_GFX.OBJ and /dev/null differ