]> 4ch.mooo.com Git - 16.git/commitdiff
showing row and colum drawing i optimized it to only draw at the end of walk. this...
authorsparky4 <sparky4@cock.li>
Thu, 26 Jan 2017 19:40:13 +0000 (13:40 -0600)
committersparky4 <sparky4@cock.li>
Thu, 26 Jan 2017 19:40:13 +0000 (13:40 -0600)
src/lib/16_tdef.h
src/lib/scroll16.h

index 00703652f7599b56fe54a777d4f57f661e6884bb..004b5d1c3bb3b02e71d70322474694d0221617bf 100755 (executable)
@@ -272,7 +272,8 @@ typedef struct
        //end of doslib origi vars\r
        boolean __near rss;                     //render sprite switch\r
        sword __near sprifilei;         //player file's i\r
-       nibble __near p,sp;                     //render page number    //show page number(for showpage)\r
+       nibble __near p;                        //render page number\r
+       nibble __near sp;                       //show page number(for showpage)\r
        boolean __near r;                       //page flip, showpage, or render        if true\r
        word pr[MAXPAGE][4];    //render sections of pages (this is supposed to be set up to draw sections of the screen if updated)\r
 \r
index 44708d5da340adf64044649261db2bd199419660..fdfd58a25f3165cb079b45c2212417db5b73db55 100755 (executable)
@@ -70,6 +70,7 @@ typedef struct {
        word dyThresh; //Threshold for physical tile switch\r
        video_t *video; //pointer to game variables of the video\r
        nibble __near *p;       // pointer to video's render page num\r
+       nibble __near *sp;      // pointer to video's show page num\r
        int dx, dy;     // draw row and col var\r
 //newer vars!\r
        int delta, d;\r