X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=354a897bf5bdab0ee7bead1886db0717071975ea;hb=fb97121f7d0be4408d8e2ed98a2f7b10b852a915;hp=0c300aa3efd77c06bbc9adc6428212e808e903ac;hpb=34d55bd3f03eabdfc0e13c00b85e2091a211488a;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c index 0c300aa3..354a897b 100755 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -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);