From 40c47c12df9092ccdcd8d25d3fea18f4884a2f5f Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 10 Jan 2017 14:03:20 -0600 Subject: [PATCH] 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 --- src/lib/scroll16.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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--; } } -- 2.39.5