]> 4ch.mooo.com Git - 16.git/blobdiff - src/scroll.c
wwww
[16.git] / src / scroll.c
index ed1498ff9fa4eccbb19216d6b6bf57d737d87001..4306973a221306ac1de5802275dfb42e44335214 100755 (executable)
@@ -67,10 +67,10 @@ void main()
 
        /* create the map */
        fprintf(stderr, "testing map load~\n");
-//++++ loadmap("data/test.map", &map);
-       map.width=0;
-       map.height=0;
-       chkmap(&map, 1);
+       loadmap("data/test.map", &map);
+//0000 map.width=0;
+//0000 map.height=0;
+       chkmap(&map, 0);
        printf("chkmap ok\n");
        fprintf(stderr, "yay map loaded~~\n");
        mv[0].map = ↦
@@ -134,7 +134,7 @@ void main()
        mv[0].page = &screen;
        screen2 = modexNextPage(mv[0].page);
        mv[1].page = &screen2;
-       screen3 = modexNextPage0(mv[1].page, 320, 240); //(352*176)+1024 is the remaining amount of memory left wwww
+       screen3 = modexNextPageAppend(mv[1].page, 320, 240);    //(352*176)+1024 is the remaining amount of memory left wwww
        //screen3 = modexNextPage0(mv2.page, 320, 192); //(352*176)+1024 is the remaining amount of memory left wwww
        mv[2].page = &screen3;