diff --git a/changelog.txt b/changelog.txt index 2223a3f6..53592c27 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ ---version 2.0.4 yet to be released--- +22-feb-2009 - adelikat - Increased lua gui.text height (and DrawTextTransWH() height) 21-feb-2009 - adelikat - win32 - Lua - Added -lua commandline argment, loads a lua script on startup 21-feb-2009 - adelikat - win32 - Debugger - Added pixel display after scanline display - Thanks to DWEdit for this patch 21-feb-2009 - adelikat - win32 - Debugger - Added Run Line, Run 128 Lines buttons - Thanks to DWEdit for this patch diff --git a/src/drawing.cpp b/src/drawing.cpp index a3303fe0..b53e7ee6 100644 --- a/src/drawing.cpp +++ b/src/drawing.cpp @@ -423,7 +423,7 @@ void DrawTextTransWH(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor, i int c = (d >> (7-nx)) & 1; if(c) { - if(y+ny >= 18) goto textoverflow; + if(y+ny >= 62) goto textoverflow; target[y+ny][x+nx] = 2; } else @@ -434,7 +434,7 @@ void DrawTextTransWH(uint8 *dest, uint32 width, uint8 *textmsg, uint8 fgcolor, i if(x >= width) { x=beginx; y+=8; } } textoverflow: - for(y=0; y<20; ++y) + for(y=0; y<62; ++y) //Max border is 2, so the max safe y is 62 (since 64 is the max for the target array for(x=0; x