From: sparky4 Date: Sun, 17 Apr 2016 20:55:33 +0000 (-0500) Subject: scroll.c is hard ww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=265bb3e414d134d2a274f768dd901988a7fcff42;p=16.git scroll.c is hard ww --- diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 506beeb9..e71079a2 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -489,7 +489,8 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) //cannot print number value du to it being slow as bakapee #else PBUFBFUN (page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); - //draw_vrl1_vgax_modex(x,y,struct vrl1_vgax_header *hdr,vrl1_vgax_offset_t *lineoffs,unsigned char *data,unsigned int datasz); + /* then the sprite. note modding ram ptr means we just draw to (x&3,0) */ + //draw_vrl1_vgax_modex(x-rx,y-ry,vrl_header,vrl_lineoffs,buffer+sizeof(*vrl_header),bufsz-sizeof(*vrl_header)); //modexDrawBmpRegion (page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); #endif break;