From d21865ef87e8468bc2ed6d4b64d6c16213165fb4 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 23 Nov 2014 12:26:43 -0600 Subject: [PATCH] modified: 16/modex16/scroll.c modified: 16/modex16/scroll.exe --- 16/modex16/scroll.c | 32 ++++++++++++++++---------------- 16/modex16/scroll.exe | Bin 20160 -> 20256 bytes 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/16/modex16/scroll.c b/16/modex16/scroll.c index dff1410c..c64c810b 100644 --- a/16/modex16/scroll.c +++ b/16/modex16/scroll.c @@ -122,11 +122,11 @@ void main() { for(q=0; q<(TILEWH/SPEED); q++) { // modexDrawBmp(draw->page, &bmp); - animatePlayer(draw, 1, 1, player.x, player.y, q, &ptmp); + animatePlayer(show, 1, 1, player.x, player.y, q, &ptmp); mapScrollRight(draw, SPEED); modexShowPage(draw->page); -// mapScrollRight(draw, SPEED); -// SWAP(draw, show); + mapScrollRight(show, SPEED); + SWAP(draw, show); } player.tx++; } @@ -136,7 +136,7 @@ void main() { { player.x+=SPEED; // modexDrawBmp(draw->page, player.x, player.y, &bmp); - animatePlayer(draw, 1, 0, player.x, player.y, q, &ptmp); + animatePlayer(show, 1, 0, player.x, player.y, q, &ptmp); modexShowPage(draw->page); } player.tx++; @@ -151,11 +151,11 @@ void main() { for(q=0; q<(TILEWH/SPEED); q++) { // modexDrawBmp(draw->page, player.x-((q+1)*SPEED), player.y, &bmp); - animatePlayer(draw, 3, 1, player.x, player.y, q, &ptmp); + animatePlayer(show, 3, 1, player.x, player.y, q, &ptmp); mapScrollLeft(draw, SPEED); modexShowPage(draw->page); -// mapScrollLeft(show, SPEED); -// SWAP(draw, show); + mapScrollLeft(show, SPEED); + SWAP(draw, show); } player.tx--; } @@ -165,7 +165,7 @@ void main() { { player.x-=SPEED; // modexDrawBmp(draw->page, player.x, player.y, &bmp); - animatePlayer(draw, 3, 0, player.x, player.y, q, &ptmp); + animatePlayer(show, 3, 0, player.x, player.y, q, &ptmp); modexShowPage(draw->page); } player.tx--; @@ -180,11 +180,11 @@ void main() { for(q=0; q<(TILEWH/SPEED); q++) { // modexDrawBmp(draw->page, player.x, player.y+((q+1)*SPEED), &bmp); - animatePlayer(draw, 2, 1, player.x, player.y, q, &ptmp); + animatePlayer(show, 2, 1, player.x, player.y, q, &ptmp); mapScrollDown(draw, SPEED); modexShowPage(draw->page); -// mapScrollDown(show, SPEED); -// SWAP(draw, show); + mapScrollDown(show, SPEED); + SWAP(draw, show); } player.ty++; } @@ -194,7 +194,7 @@ void main() { { player.y+=SPEED; // modexDrawBmp(draw->page, player.x, player.y, &bmp); - animatePlayer(draw, 2, 0, player.x, player.y, q, &ptmp); + animatePlayer(show, 2, 0, player.x, player.y, q, &ptmp); modexShowPage(draw->page); } player.ty++; @@ -208,11 +208,11 @@ void main() { for(q=0; q<(TILEWH/SPEED); q++) { // modexDrawBmp(draw->page, player.x, player.y-((q+1)*SPEED), &bmp); - animatePlayer(draw, 0, 1, player.x, player.y, q, &ptmp); + animatePlayer(show, 0, 1, player.x, player.y, q, &ptmp); mapScrollUp(draw, SPEED); modexShowPage(draw->page); -// mapScrollUp(show, SPEED); -// SWAP(draw, show); + mapScrollUp(show, SPEED); + SWAP(draw, show); } player.ty--; } @@ -222,7 +222,7 @@ void main() { { player.y-=SPEED; // modexDrawBmp(draw->page, player.x, player.y, &bmp); - animatePlayer(draw, 0, 0, player.x, player.y, q, &ptmp); + animatePlayer(show, 0, 0, player.x, player.y, q, &ptmp); modexShowPage(draw->page); } player.ty--; diff --git a/16/modex16/scroll.exe b/16/modex16/scroll.exe index 3f3b8d78ee79cf6c86bcb4c425ff33ed58bbaafa..d4150b748afaa8fa8b94285b7d6437ba0b4d2cef 100755 GIT binary patch delta 2121 zcmZuydr%Wc7~k(MFF+nbKtco(6ox_v4O(O(0Tn%b8$kizc3SON9a|s3v?D~#Q0FE_ z?X0a;ORIxz$2$Ij>5OMuZ3LCdSceG^Dfk{A8>3dI6)hvV?j^y;=-u46``d4Kzu*48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