]> 4ch.mooo.com Git - 16.git/commitdiff
meh i should organize gvar and mv soon and use the memory manager and i cleaned the...
authorsparky4 <sparky4@cock.li>
Wed, 22 Jun 2016 17:51:33 +0000 (12:51 -0500)
committersparky4 <sparky4@cock.li>
Wed, 22 Jun 2016 17:51:33 +0000 (12:51 -0500)
src/lib/modex16.c
src/lib/scroll16.c

index 429cbb0ef1000e70c8ad86b7cfaccba5b5616ed7..94386cad2b154d27d6a0e60faa0ce27bfed23704 100755 (executable)
@@ -249,7 +249,7 @@ modexNextPageFlexibleSize(page_t *p, word x, word y)
        result.tilesw=result.width/TILEWH;\r
        result.tilesh=result.height/TILEWH;\r
        result.id = p->id+1;\r
-       result.stridew=p->stridew;//result.width/4;\r
+       result.stridew=p->sw/4;//result.width/4;\r
        result.pagesize = (word)(result.width/4)*result.height;\r
        switch(result.id)\r
        {\r
index 3858e249732835a955f70f045a6a39b10fdcc28f..07da327cc810a4cf5ad4ee482372a048b9d906f0 100755 (executable)
@@ -878,9 +878,9 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll
                modexCopyPageRegion(pip[1].page, pip[0].page, x-4, y-4, x-4, y-4, 28, 36);
        else{
                //copy old bg to page0
-               modexCopyPageRegion(pip[3].page, pip[0].page, bx, by,   0, 0,   20, 36);
+               //modexCopyPageRegion(pip[3].page, pip[0].page, bx, by, 0, 0,   20, 36);
                //update buffer
-               modexCopyPageRegion(pip[0].page, pip[3].page, 0, 0,     x, y,   20, 36);
+               //modexCopyPageRegion(pip[0].page, pip[3].page, 0, 0,   x, y,   20, 36);
        }
 //modexCopyPageRegion(page_t *dest, page_t *src, word sx, word sy, word dx, word dy, word width, word height);
        //modexCopyPageRegion(pip[3].page, pip[!(pip->video->p)].page, x-4, y-4, 0, 128, 28, 36);