From: sparky4 Date: Sat, 21 Mar 2015 21:28:33 +0000 (-0500) Subject: modified: pcxtest.exe X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=5fb3a14c24e3bd7ae1525a97a94f66302f30ad63;p=16.git modified: pcxtest.exe modified: src/pcxtest.c --- diff --git a/pcxtest.exe b/pcxtest.exe index 888ca748..3ddfde92 100644 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/src/pcxtest.c b/src/pcxtest.c index 0ff062cb..3c406286 100644 --- a/src/pcxtest.c +++ b/src/pcxtest.c @@ -25,8 +25,9 @@ oldDrawBmp(byte far* page, int x, int y, bitmap_t *bmp, byte sprite) { } } } -} - +} + +/* void DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite) { @@ -34,7 +35,7 @@ DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite) word px, py; word offset; - /* TODO Make this fast. It's SLOOOOOOW */ + // TODO Make this fast. It's SLOOOOOOW for(plane=0; plane < 4; plane++) { modexSelectPlane(PLANE(plane+x)); for(px = plane; px < p->width; px+=4) { @@ -49,7 +50,7 @@ DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite) } } } - +*/ void main() { bitmap_t bmp; @@ -62,7 +63,7 @@ void main() { page=modexDefaultPage(); - bmp = bitmapLoadPcx("data/koishi^^.pcx"); + bmp = bitmapLoadPcx("data/koishi~~.pcx"); p = planar_buf_from_bitmap(&bmp); modexEnter();