From: sparky4 Date: Tue, 10 Jan 2017 20:03:20 +0000 (-0600) Subject: made a new function modexMVSetup() and made scroller use dx and dy on page[0].dx... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=40c47c12df9092ccdcd8d25d3fea18f4884a2f5f;p=16.git made a new function modexMVSetup() and made scroller use dx and dy on page[0].dx wwww i will mess with mv[0]dx and mv[0].dy later --- diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index f0945ee2..cbc9793e 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -285,7 +285,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn) if(player[pn].q<=player[pn].spt) { pip[pip[0].pan->pn].page->dx+=4; - modexShowPageVsync(pip[pip[0].pan->pn].page); + //modexShowPageVsync(pip[pip[0].pan->pn].page); + modexShowPage(pip[pip[0].pan->pn].page); player[pn].q++; } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].tx++; } } @@ -298,7 +299,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn) if(player[pn].q<=player[pn].spt) { pip[pip[0].pan->pn].page->dx-=4; - modexShowPageVsync(pip[pip[0].pan->pn].page); + //modexShowPageVsync(pip[pip[0].pan->pn].page); + modexShowPage(pip[pip[0].pan->pn].page); player[pn].q++; } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].tx--; } } @@ -311,7 +313,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn) if(player[pn].q<=player[pn].spt) { pip[pip[0].pan->pn].page->dy+=4; - modexShowPageVsync(pip[pip[0].pan->pn].page); + //modexShowPageVsync(pip[pip[0].pan->pn].page); + modexShowPage(pip[pip[0].pan->pn].page); player[pn].q++; } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].ty++; } } @@ -324,7 +327,8 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn) if(player[pn].q<=player[pn].spt) { pip[pip[0].pan->pn].page->dy-=4; - modexShowPageVsync(pip[pip[0].pan->pn].page); + //modexShowPageVsync(pip[pip[0].pan->pn].page); + modexShowPage(pip[pip[0].pan->pn].page); player[pn].q++; } else { player[pn].q = 1; player[pn].d = 2; pip[pip[0].pan->pn].ty--; } }