[Super-tux-devel] Multi-line text support
Brought to you by:
wkendrick
From: Ricardo C. <ri...@ae...> - 2003-12-29 02:31:54
|
Hi, I've done this simple patch to allow multi-line text. I just see if a given character is '\n' in the drawtext() and if so, it basically changes the line. I think this would be pretty cool for writting multi-line history and to display a credits dialog. I have done another multi-line method in mine showhelp() at the leveleditor, but I think using something universal would be better. Unfortanely, drawcenteredtext() does not work with multi-lines :( If this is important, I could use another method or something... Ricardo -- No one so thoroughly appreciates the value of constructive criticism as the one who's giving it. -- Hal Chadwick |