Revision b269a764
Added by danij over 14 years ago
Quickly implemented a basic method for horizontal alignment of Patch based text strings.
- Renamed all M_DrawText* methods to M_DrawTextFragment and modified so that they now draw only a single line of text (drawing will cease upon encountering a newline).
- Renamed WI_DrawParamText to M_DrawText and modified so as to horizontally align a chunk of (possibly multiline) text.
- Implemented M_TextFragmentWidth and M_TextFragmentHeight.
- Changed the important game message drawer to draw the message as a text rather than a text-fragment and changed vertical alignment so as to align-top (as vertical text alignment is not currently implemented (only at text-fragment level).
- Implement vertical text alignment.
- Why does the type-in effect restart on newlines?
Files
- added
- modified
- copied
- renamed
- deleted