X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=e25a130a07f1e0c22e46559f4af06dcf1af91ca9;hb=d337fd88c992c80c68263f66a2d22f3ce2ffefa1;hp=954416d58b68437ff650431200b2f6f850298d61;hpb=8239a15b6eaad9b098720623339f168a54f51ca5;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c index 954416d5..e25a130a 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. * @@ -21,14 +21,13 @@ */ #include #include -#include "lib/types.h" +#include "src/lib/types.h" //#include "lib/16text.h" -#include "lib/modex16.h" +#include "src/lib/16_vl.h" #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], 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, 32, 0, &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);