]> 4ch.mooo.com Git - 16.git/commitdiff
modified: scroll.exe
authorsparky4 <sparky4@cock.li>
Fri, 28 Nov 2014 20:06:00 +0000 (14:06 -0600)
committersparky4 <sparky4@cock.li>
Fri, 28 Nov 2014 20:06:00 +0000 (14:06 -0600)
modified:   src/scroll.c

scroll.exe
src/scroll.c

index 0710f35f6f27320a7b6484526dbb807a0c40462c..8ffdff29bf9869ae2b79f3215718842928a137b7 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index c8a5a621658f6eaf7679832f6d77a7e2c01e4815..50343ba9a51250b2b4b2519c6b4280b9f54fde8d 100644 (file)
@@ -77,7 +77,6 @@ void main() {
        map_view_t *bg, *spri, *mask;//, *tmp;
        byte *ptr;
 
-       setkb(1);
        /* create the map */
        map = allocMap(MAPX,MAPY); //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);
@@ -87,7 +86,8 @@ void main() {
 
        /* draw the tiles */
        ptr = map.data;
-       ptmp = bitmapLoadPcx("data\ptmp.pcx"); // load sprite
+       ptmp = bitmapLoadPcx("data\\ptmp.pcx"); // load sprite
+       setkb(1);
        modexEnter();
        modexPalUpdate(ptmp.palette);
        screen = modexDefaultPage();