From fff2b90efe4103d1fd4212a7e7c7964addc0b706 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 22 Nov 2014 10:30:33 -0600 Subject: [PATCH] modified: 16/modex16/scroll.c modified: 16/modex16/scroll.exe finalizing that area of code~ --- 16/modex16/scroll.c | 10 +++++----- 16/modex16/scroll.exe | Bin 18766 -> 18766 bytes 2 files changed, 5 insertions(+), 5 deletions(-) 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 603a936804aed171a429cccf6e60913515708492..7b65f2fe5ba4e7e60270ee9cff412a1624e6c84a 100755 GIT binary patch delta 96 zcmX>%iSgVd#tAnBnHV}hytvKS?ZWh83Y&BDZ;pvCdvSLQTrTh01H@jb0y%iSgVd#tAnB85uf1ytvKS?ZWh83Y&BDZ-I#~dvSLQTrTh01H@jb0y