X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fscroll16.c;h=eb19f8f51658f1cc9d31bece34dd75067d018da4;hb=a37ce6ce2450c46380b8d31f7101b521d2cebfda;hp=2a2eaea598503f25a0e16253ba5828d71509ad00;hpb=208122fb60c7e1ac247683cd64737f176c051c4f;p=16.git diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 2a2eaea5..eb19f8f5 100644 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -469,7 +469,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y) modexDrawBmpRegion(page, x, y, rx, ry, t->tileWidth, t->tileHeight, (t->data)); break; case 1: - modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i])); + modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i])+1); //modexprintbig(page, x, y, 1, 15, 0, (t->debug_data)); /*for(texty=0; texty<2; texty++) { @@ -584,14 +584,13 @@ void shinku(page_t *page, global_game_variables_t *gv) word col = 15; word bgcol = 0; word type = 1; - dword far* clockdww= (dword far*) 0x046C; /* 18.2hz clock */ if(elapsed_timer(gv) >= (1.0 / gv->frames_per_second)) { pee = malloc(sizeof(double)); - sprintf(pee, "%f", ((*clockdww-(gv->t)) /18.2)); + sprintf(pee, "%f", ((*gv->clock) /18.2)); modexprint(page, x, y, type, col, bgcol, pee); - sprintf(pee, "%f", elapsed_timer(gv)); - modexprint(page, x, y+8, type, col, bgcol, pee); + //sprintf(pee, "%f", /*gv->tiku/*/time_in_seconds(gv)); + //modexprint(page, x, y+8, type, col, bgcol, pee); } }