OSDN Git Service

working on font~
authorsparky4 <sparky4@cock.li>
Wed, 11 Nov 2015 13:52:04 +0000 (07:52 -0600)
committersparky4 <sparky4@cock.li>
Wed, 11 Nov 2015 13:52:04 +0000 (07:52 -0600)
14 files changed:
16.exe
bakapi.exe
exmmtest.exe
fontgfx.exe
maptest.exe
palettec.exe
palettel.exe
pcxtest.exe
pcxtest2.exe
planrpcx.exe
scroll.exe
src/lib/modex16/16render.c
test.exe
test2.exe

diff --git a/16.exe b/16.exe
index e3d1b91..9cfdd50 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 4dcc405..203a9d8 100755 (executable)
Binary files a/bakapi.exe and b/bakapi.exe differ
index 39ba53b..55a6614 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 1886fcc..ae7c8cd 100755 (executable)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index e9b7685..ad5e682 100755 (executable)
Binary files a/maptest.exe and b/maptest.exe differ
index 7222a87..23fe379 100755 (executable)
Binary files a/palettec.exe and b/palettec.exe differ
index c68fd94..195920d 100755 (executable)
Binary files a/palettel.exe and b/palettel.exe differ
index 8a5dd42..785968b 100755 (executable)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 5f5124d..76e0c6c 100755 (executable)
Binary files a/pcxtest2.exe and b/pcxtest2.exe differ
index cfcf4ff..ec2e0be 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index cc6b0ed..3f763b4 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index f7c07da..e3c6aec 100755 (executable)
@@ -447,7 +447,7 @@ void modexDrawCharPBuf(page_t *page, int x, int y, word t, word col, word bgcol,
                {\r
                        if(q)\r
                        //_fmemcpy(page->data + (((page->width/4) * (y+i)) + ((x+romFontsData.chw+k) / 4)), romFontsData.l[i] & j ? col:bgcol, 2);\r
-                       modexputPixel(page, x+xp+chw, y+i, l[i] & j ? col:bgcol);\r
+                       modexputPixel(page, x+k+romFontsData.chw, y+i, romFontsData.l[i] & j ? col:bgcol);\r
                        else\r
                                //printf("l[i]=%c j=%02u l[i] & j=%02u %c\n", l[i] , j, l[i] & j, l[i] & j ? '*':' ');\r
                                //printf("%c", l[i] & j ? '*':' ');\r
index 27bdd0c..e775adb 100755 (executable)
Binary files a/test.exe and b/test.exe differ
index 4822506..16b4faf 100755 (executable)
Binary files a/test2.exe and b/test2.exe differ