From 68036efdc5123ed5d4289f08533021b3f4046c89 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 2 May 2016 15:48:47 -0500 Subject: [PATCH] panning updated and stuff wwww --- src/scroll.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/scroll.c b/src/scroll.c index 79c3732d..b41f7b14 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -160,35 +160,34 @@ void main(int argc, char *argv[]) /* setup camera and screen~ */ modexHiganbanaPageSetup(&gvar.video); - for(i=0;itilemidposscreenx; player[panswitch].ty = mv[0].ty + mv[0].page->tilemidposscreeny; IN_initplayer(&player, 0); IN_initplayer(&player, 1); - modexCopyPageRegion(mv[1].page, mv[0].page, 0, 0, 0, 0, mv[0].page->width, mv[0].page->height); +// modexCopyPageRegion(mv[1].page, mv[0].page, 0, 0, 0, 0, mv[0].page->width, mv[0].page->height); #ifndef SPRITE - modexClearRegion(mv[1].page, player[panswitch].x-4, player[panswitch].y-TILEWH, 24, 32, 15); +// modexClearRegion(mv[1].page, player[panswitch].x-4, player[panswitch].y-TILEWH, 24, 32, 15); #else //PBUFSFUN(mv[1].page, player[panswitch].x-4, player[panswitch].y-TILEWH, 24, 64, 24, 32, PLAYERBMPDATA); - PBUFSFUN(mv[1].page, player[panswitch].x-4, player[panswitch].y-TILEWH, 24, 64, 24, 32, &pp); +// PBUFSFUN(mv[1].page, player[panswitch].x-4, player[panswitch].y-TILEWH, 24, 64, 24, 32, &pp); #endif - modexShowPage(mv[1].page); - shinku_fps_indicator_page = 1; // we're on page 1 now, shinku(). follow along please or it will not be visible. + modexShowPage(mv[pan.pn].page); + shinku_fps_indicator_page = 0; // we're on page 1 now, shinku(). follow along please or it will not be visible. //modexClearRegion(mv[2].page, 0, 0, mv[2].page->width, mv[2].page->height, 1); #ifdef MODEX #ifdef FADE -- 2.39.5