From: sparky4 Date: Wed, 17 Dec 2014 19:33:50 +0000 (-0600) Subject: modified: scroll.exe X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=1f37c572642deb6d915fbd63dbfe8df6aa70f25c;p=16.git modified: scroll.exe modified: src/lib/modex16.c modified: src/scroll.c --- diff --git a/scroll.exe b/scroll.exe index 93b99f1f..43479f22 100644 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 1e1757be..bde6b1fe 100644 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -213,7 +213,7 @@ modexClearRegion(page_t *page, int x, int y, int w, int h, byte color) { JNZ SCAN_START } } - + void modexDrawBmp(page_t *page, int x, int y, bitmap_t *bmp) { @@ -236,7 +236,7 @@ modexDrawBmpRegion(page_t *page, int x, int y, word nextBmpRow = (word) bmp->width - width; word rowCounter; byte planeCounter = 4; - + //code is a bit slow here __asm { MOV AX, SCREEN_SEG ; go to the VGA memory diff --git a/src/scroll.c b/src/scroll.c index fb0cde52..d382bff2 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -741,7 +741,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) { } -void +void mapDrawRow(map_view_t *mv, int tx, int ty, word y) { word x; int i; @@ -757,7 +757,7 @@ mapDrawRow(map_view_t *mv, int tx, int ty, word y) { } } -void +void mapDrawCol(map_view_t *mv, int tx, int ty, word x) { int y; int i; @@ -775,12 +775,6 @@ mapDrawCol(map_view_t *mv, int tx, int ty, word x) { i += mv->map->width; } } - -/*void npcmove(map_view_t bg, map_view_t fg, ) -{ - -}*/ - void animatePlayer(map_view_t *src, map_view_t *dest, /*map_view_t *top, */sword d, short scrolloffsetswitch, int x, int y, int ls, int lp, bitmap_t *bmp) {