From: sparky4 Date: Mon, 13 Jul 2015 15:21:23 +0000 (-0500) Subject: font testing system is now compact!! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=8296051f0e0bfae2fcccd45a40fd241846f36de3;p=16.git font testing system is now compact!! modified: fonttes0.exe modified: fonttest.exe modified: src/fonttes0.c modified: src/fonttest.c --- diff --git a/fonttes0.exe b/fonttes0.exe index 31646ca0..13430cf7 100644 Binary files a/fonttes0.exe and b/fonttes0.exe differ diff --git a/fonttest.exe b/fonttest.exe index d4805671..4f3558b0 100644 Binary files a/fonttest.exe and b/fonttest.exe differ diff --git a/src/fonttes0.c b/src/fonttes0.c index 411abe17..15dbb874 100644 --- a/src/fonttes0.c +++ b/src/fonttes0.c @@ -25,7 +25,7 @@ #include "lib/16text.h" #include "lib/modex16.h" -void main(int argc, char *argv[]) +void main(int argc, char near *argv[]) { int i; int j; @@ -99,43 +99,44 @@ void main(int argc, char *argv[]) DEC CX JNZ L1 } - /* load our palette */ + /*//load our palette modexLoadPalFile("data/default.pal", &pal2); - /* save the palette */ + // save the palette pal = modexNewPal(); modexPalSave(pal); - modexFadeOff(1, pal); + modexFadeOff(4, pal); modexPalBlack(); modexEnter(); modexPalBlack(); - /* set up the page, but with 16 pixels on all borders in offscreen mem */ + // set up the page, but with 16 pixels on all borders in offscreen mem page=modexDefaultPage(); page.width += 32; page.height += 32; modexShowPage(&page); - /* fade in */ - modexFadeOn(1, pal2); + // fade in + modexFadeOn(4, pal2);*/ //render the letter in ascii art for(i=0; i>=1; } printf("\n"); } - /* fade back to text mode */ - modexFadeOff(1, pal2); + /*// fade back to text mode + modexFadeOff(4, pal2); modexPalBlack(); modexLeave(); modexPalBlack(); - modexFadeOn(1, pal); + modexFadeOn(4, pal);*/ } diff --git a/src/fonttest.c b/src/fonttest.c index 9b5b89c4..2370806c 100644 --- a/src/fonttest.c +++ b/src/fonttest.c @@ -24,7 +24,7 @@ #include "lib/types.h" #include "lib/16text.h" -void main(int argc, char *argv[]) +void main(int argc, char near *argv[]) { int i; int j;