]> 4ch.mooo.com Git - 16.git/commitdiff
modified: 16/modex16/scroll.c
authorsparky4 <sparky4@cock.li>
Tue, 9 Sep 2014 13:02:48 +0000 (08:02 -0500)
committersparky4 <sparky4@cock.li>
Tue, 9 Sep 2014 13:02:48 +0000 (08:02 -0500)
modified:   16/modex16/scroll.exe

16/modex16/scroll.c
16/modex16/scroll.exe

index da42a8ee5bb977fdc73ed1e2bfb8f4d4fa9871c5..4681cbb1572be64430b89a637939762397a3317d 100644 (file)
@@ -62,7 +62,7 @@ void main() {
 \r
        setkb(1);\r
        /* create the map */\r
-       map = allocMap(40,30);\r
+       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\r
        initMap(&map);\r
        mv.map = &map;\r
        mv2.map = &map;\r
@@ -163,9 +163,9 @@ initMap(map_t *map) {
        for(y=0; y<16; y++) {\r
        for(x=0; x<32; x++) {\r
                if(x<16)\r
-                 map->tiles->data->data[i] = 0x00;\r
+                 map->tiles->data->data[i] = 0x24;\r
                else\r
-                 map->tiles->data->data[i] = 0x47;\r
+                 map->tiles->data->data[i] = 0x34;\r
                i++;\r
        }\r
        }\r
index 83b0bfc1e0976ad983b3266a12894719edea953a..44fa3bd09d84acd5397434cc8fbc2124809765c9 100755 (executable)
Binary files a/16/modex16/scroll.exe and b/16/modex16/scroll.exe differ