X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fscroll.c;h=4306973a221306ac1de5802275dfb42e44335214;hb=0910c3436fc82a593163cdb1525092b84eb85479;hp=ed1498ff9fa4eccbb19216d6b6bf57d737d87001;hpb=fc0091a56ec3c5c6289ed860dac329c435f4b85d;p=16.git diff --git a/src/scroll.c b/src/scroll.c index ed1498ff..4306973a 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -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;