]> 4ch.mooo.com Git - 16.git/commitdiff
modified: 16/DOS_GFX.EXE
authorsparky4 <sparky4@4ch.maidlab.jp>
Mon, 16 Jun 2014 01:11:31 +0000 (20:11 -0500)
committersparky4 <sparky4@4ch.maidlab.jp>
Mon, 16 Jun 2014 01:11:31 +0000 (20:11 -0500)
modified:   16/DOS_GFX.OBJ
modified:   16/Project 16.bfproject
modified:   16/dos_gfx.cpp
modified:   16/dos_gfx.h

16/DOS_GFX.EXE
16/DOS_GFX.OBJ
16/Project 16.bfproject
16/dos_gfx.cpp
16/dos_gfx.h

index ab2b1d783170e06a8374854d46f2d168f5a200eb..76e6018f7aba34b03928eb32012e4494965adf73 100644 (file)
Binary files a/16/DOS_GFX.EXE and b/16/DOS_GFX.EXE differ
index 434c2ba6d919cf7aedc34ae0315965414b31872b..8054c7510df6eb0556d0031d10c1748e32eae029 100644 (file)
Binary files a/16/DOS_GFX.OBJ and b/16/DOS_GFX.OBJ differ
index cd513451e7090f9304eff7b133f11b484af55d76..c42180762b166133fa94f8133bfeaebde5b22e9a 100644 (file)
@@ -1,13 +1,13 @@
 c2e.convert_special: 0
 e2c.convert_num: 0
-openfiles: /dos/z/16/16/dos_gfx.cpp:5831:5436:1:
+openfiles: /dos/z/16/16/dos_gfx.cpp:8775:7736: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:
 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/project16.txt:8063:7058:0:
 openfiles: /dos/z/16/16/16.txt:0:0: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:
@@ -17,6 +17,7 @@ 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:547:0:
 openfiles: /dos/z/16/16/lib/x/MXCR.ASM:252:0:0:
+openfiles: /dos/z/16/16/scrasm/MAIN.ASM:4251:1619:0:
 snr_recursion_level: 0
 convertcolumn_horizontally: 0
 adv_open_matchname: 0
@@ -28,7 +29,7 @@ view_left_panel: 0
 default_mime_type: text/plain
 e2c.convert_xml: 1
 c2e.convert_iso: 0
-opendir: file:///dos/z/16/16/lib/x
+opendir: file:///dos/z/16/16/scrasm
 wrap_text_default: 0
 bookmarks_filename_mode: 1
 ssearch_text: mxpt
@@ -83,22 +84,23 @@ 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.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.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/16/lib/x/MODEX.H
-recent_files: file:///dos/z/4x4_16/modex/DEMO01.PAS
-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/src/lib/dos_gfx.h
+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/4x4_16/modex/DEMO01.PAS
+recent_files: file:///dos/z/4x4_16/modex/DEMO07.PAS
 recent_files: file:///dos/z/16/16/lib/x/MXCR.ASM
+recent_files: file:///dos/z/16/16/scrasm/MAIN.ASM
 snr_replacetype: 0
 savedir: file:///dos/z/16/16
 spell_check_default: 1
index cbfa2d61702ef04eaa5aeb1dee463d8cdd7a205a..5928b6f571316f6535d6dfb9385aa0279c345bab 100644 (file)
@@ -51,7 +51,7 @@ void setvideo(/*byte mode, */short vq){
                                mxSetVirtualScreen(VW,BH);\r
 //                             mxSetVirtualScreen((640-(TILEWH*4)),(480-(TILEWH*4)));\r
                                mxSetClip(true);\r
-                               mxSetClipRegion(0, 0, VW, BH);
+                               mxSetClipRegion(0, 0, VW, BH);\r
                                mxPan(TILEWH*2,TILEWH*2);\r
                                //mxSetClipRegion(0, VH+1, VW, (TILEWH*BUFFMX));\r
                }\r
@@ -245,11 +245,11 @@ short ding(int q){
                                        #endif\r
                                } \r
 \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);
+                               if(q==2)\r
+                               #ifdef TILE\r
+                                       mxFillBox((rand()*TILEWH)%VW, (rand()*TILEWH)%(VH), TILEWH, TILEWH, 0, OP_SET);\r
+                               #else\r
+                                       mxPutPixel(rand()%VW, rand()%(VH), 0);\r
                                #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
@@ -298,6 +298,7 @@ int main(void)
                                                setvideo(1);\r
                                }\r
                }*/ // else off\r
+               mxFillBox(0, 0, VW, BH, 10, OP_SET);\r
                while(1){ // conditions of screen saver\r
                while(!kbhit()){\r
                        ding(key);\r
@@ -324,8 +325,8 @@ int main(void)
                                mxPutPixel(0, y, 15);\r
                                mxPutPixel(VW-1, y, 15);\r
                        }\r
-                       \r
-                       getch();*/\r
+                       */\r
+                       getch();\r
                        //text box\r
                        mxSetTextColor(10, OP_TRANS); //set font\r
                        mxBitBlt(xpos, ypos+(TILEWH*12), SW, TILEWH*BUFFMX, 0, BS); //copy background\r
@@ -340,38 +341,38 @@ int main(void)
                        mxFillBox(xpos+QUADWH, ypos+QUADWH+(TILEWH*12), TILEWH*2, TILEWH*2, 9, OP_SET); //portriat~\r
                        getch();\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
-//                     hScroll(1);\r
-//                     scrolly(1);\r
-//                     vScroll(1);\r
-//                     delay(100);\r
                        //for(int i=0;i<TILEWH;i++){\r
                                \r
                                ding(key);\r
-                               mxPan(xpos,ypos);
-                               mxBitBlt(xpos, ypos, SW, SH, 0, SH);\r
+                               mxPan(xpos,ypos);\r
+mxFillBox(384, 304, 384, 304, 10, OP_SET);\r
+//mxBitBlt(xpos, ypos, SW, SH, 32, (SH+64+32));\r
+mxBitBlt(TILEWH*2, TILEWH*2, SW, SH, 32, (SH+64+32));\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(ypos==1 || (ypos==(BH-SH-1)))delay(500);\r
                                        //if((xpos>(VW-SW-1)) || (xpos<1))delay(500);\r
-                                       //mxWaitRetrace();
-                                       mxPan(TILEWH*2,TILEWH*2);
-                                       mxBitBlt(0, SH, SW, SH, xpos, ypos);\r
+                                       //mxWaitRetrace();\r
+//mxBitBlt(32, (SH+32), SW, SH, xpos, ypos);
+//mxBitBlt(32, (SH+64+32), SW, SH, 32, 32);\r
+//xpos=ypos=TILEWH*2;\r
+mxPan(32,32);\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
+//mxBitBlt(32, (SH+64+32), SW, SH, xpos, ypos);
+mxBitBlt(TILEWH*2, (SH+64+32), SW, SH, TILEWH*2, TILEWH*2);\r
                        }\r
                        ch=getch();\r
                        if(ch==0x71)break; // 'q'\r
                        if(ch==0x1b)break; // 'ESC'\r
                }\r
                setvideo(0);\r
-               printf("wwww\nFull Buffer Virtual Resolution: %dx%d\n", VW,BH);
+               printf("wwww\nFull Buffer Virtual Resolution: %dx%d\n", VW,BH);\r
                printf("Virtual Resolution: %dx%d\n", VW,VH);\r
                printf("Resolution: %dx%d\n", SW,SH);\r
                printf("Mode X Library Version: %d\n", mxGetVersion());\r
index 231c106191f2e353f54e70acedec92cad105b686..d1fe75a71b797378415092ebe7479a90b71d7773 100644 (file)
@@ -13,7 +13,7 @@
 #define HGQ         56\r
 #define TILEWH                 16
 #define QUADWH                 TILEWH/2
-#define BUFFMX                 3\r
+#define BUFFMX                 4\r
 /*byte SIZE = 80;      // Size =  40 = 1 across, 4 down\r
                     // Size =  80 = 2 across, 2 down\r
                     // Size = 160 = 4 across, 1 down*/\r