X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=4c4c04431aee7ae9d94d868c41b6165500d8e5db;hb=0360ea4c073be93ef0fcd3dae271beaa0e5daca4;hp=0c300aa3efd77c06bbc9adc6428212e808e903ac;hpb=34d55bd3f03eabdfc0e13c00b85e2091a211488a;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c index 0c300aa3..4c4c0443 100755 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -28,7 +28,6 @@ #include #include #include -#include global_game_variables_t gvar; @@ -101,7 +100,6 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ chx=0; chy=0; colpee=32; -// bios_cls(); /* position the cursor to home */ // vga_moveto(0,0); // vga_sync_bios_cursor(); @@ -122,7 +120,7 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ if(colpee>=32+24) colpee=32; } getch(); - modexprint(&gvar.video.page[0], 0, 0, 1, 0, colpee, &rose); + modexprint(&gvar.video.page[0], gvar.video.page[0].width - (8*16)/*HACK: The rose ASCII is too wide for 320x240 so offset it to make sure the petals are visible*/, 8, 1, 45, 0, &rose); getch(); //modexprint(100, 100, 1, 47, 0, "wwww"); // modexprint(0, 0, 1, 0, colpee, &rose);