From: sparky4 Date: Sat, 22 Nov 2014 16:30:33 +0000 (-0600) Subject: modified: 16/modex16/scroll.c X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=fff2b90efe4103d1fd4212a7e7c7964addc0b706;p=16.git modified: 16/modex16/scroll.c modified: 16/modex16/scroll.exe finalizing that area of code~ --- diff --git a/16/modex16/scroll.c b/16/modex16/scroll.c index 49130bfc..55e2fe94 100644 --- a/16/modex16/scroll.c +++ b/16/modex16/scroll.c @@ -53,7 +53,7 @@ void mapDrawCol(map_view_t *mv, int tx, int ty, word x); #define TILEWH 16 #define QUADWH (TILEWH/4) -#define SPEED 1 +#define SPEED 2 //place holder definitions #define MAPX 40 @@ -114,7 +114,7 @@ void main() { //when player.tx or player.ty == 0 or player.tx == 20 or player.ty == 15 then stop because that is edge of map and you do not want to walk of the map if(keyp(77)){ if(draw->tx >= 0 && draw->tx+20 < MAPX) - for(q=0; qpage); // mapScrollRight(draw, 1); @@ -125,7 +125,7 @@ void main() { if(keyp(75)){ if(draw->tx > 0 && draw->tx+20 <= MAPX) - for(q=0; qpage); // mapScrollLeft(show, 1); @@ -136,7 +136,7 @@ void main() { if(keyp(80)){ if(draw->ty >= 0 && draw->ty+15 < MAPY) - for(q=0; qpage); // mapScrollDown(show, 1); @@ -147,7 +147,7 @@ void main() { if(keyp(72)){ if(draw->ty > 0 && draw->ty+15 <= MAPY) - for(q=0; qpage); // mapScrollUp(show, 1); diff --git a/16/modex16/scroll.exe b/16/modex16/scroll.exe index 603a9368..7b65f2fe 100755 Binary files a/16/modex16/scroll.exe and b/16/modex16/scroll.exe differ