From: sparky4 Date: Tue, 9 Sep 2014 13:02:48 +0000 (-0500) Subject: modified: 16/modex16/scroll.c X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=f2c28a134895df50afee9eaf096e0254b9a17e0d;p=16.git modified: 16/modex16/scroll.c modified: 16/modex16/scroll.exe --- diff --git a/16/modex16/scroll.c b/16/modex16/scroll.c index da42a8ee..4681cbb1 100644 --- a/16/modex16/scroll.c +++ b/16/modex16/scroll.c @@ -62,7 +62,7 @@ void main() { setkb(1); /* create the map */ - map = allocMap(40,30); + map = allocMap(40,30); //20x15 is the resolution of the screen you can make maps smaller than 20x15 but the null space needs to be drawn properly initMap(&map); mv.map = ↦ mv2.map = ↦ @@ -163,9 +163,9 @@ initMap(map_t *map) { for(y=0; y<16; y++) { for(x=0; x<32; x++) { if(x<16) - map->tiles->data->data[i] = 0x00; + map->tiles->data->data[i] = 0x24; else - map->tiles->data->data[i] = 0x47; + map->tiles->data->data[i] = 0x34; i++; } } diff --git a/16/modex16/scroll.exe b/16/modex16/scroll.exe index 83b0bfc1..44fa3bd0 100755 Binary files a/16/modex16/scroll.exe and b/16/modex16/scroll.exe differ