Public Member Functions | |
| CBitmappedFont (const char *fntFilename=NULL) | |
| ~CBitmappedFont (void) | |
| int | Load (const char *fntFilename) |
| int | LoadRaw (const char *rawFilename) |
| bool | IsCharValid (unsigned char c) |
| int | MaxCharHeight (void) |
| int | MaxCharWidth (void) |
| int | TextWidth (const char *text) |
| int | TextHeight (const char *text) |
| int | CharWidth (unsigned char c) |
| int | CharHeight (unsigned char c) |
| CBitmappedFontChar * | GetAscii (unsigned char c) |
Public Attributes | |
| bool | valid |
| char | rawFilename [64] |
| int | w |
| int | h |
| int | start |
| int | end |
| unsigned char | transparent |
| int | space |
| int | shadow_x |
| int | shadow_y |
| int | maxCharHeight |
| int | maxCharWidth |
| CBitmappedFontChar * | chars |
Definition at line 104 of file Fonts.cpp.
|
|
Definition at line 142 of file Fonts.cpp. References chars, end, h, Load(), maxCharHeight, maxCharWidth, rawFilename, shadow_x, shadow_y, space, start, transparent, valid, and w. |
|
|
Definition at line 161 of file Fonts.cpp. References chars. |
|
|
Definition at line 402 of file Fonts.cpp. References chars, CBitmappedFontChar::h, IsCharValid(), and start. Referenced by CharHeight(), and TextHeight(). |
|
|
Definition at line 389 of file Fonts.cpp. References chars, IsCharValid(), space, start, and CBitmappedFontChar::w. Referenced by CharWidth(), and TextWidth(). |
|
|
Definition at line 413 of file Fonts.cpp. References chars, IsCharValid(), and start. Referenced by DrawChar(), and DrawText(). |
|
|
Definition at line 350 of file Fonts.cpp. Referenced by CharHeight(), CharWidth(), and GetAscii(). |
|
|
Definition at line 185 of file Fonts.cpp. Referenced by CBitmappedFont(). |
|
|
Definition at line 197 of file Fonts.cpp. References CBitmappedFontChar::ascii, chars, CBitmappedFontChar::end, end, globals, gtfo, CBitmappedFontChar::h, h, SGlobals::logWarning, pclose(), SGlobals::pfs, popen(), pread(), CBitmappedFontChar::SetBit(), CBitmappedFontChar::start, start, transparent, CBitmappedFontChar::w, w, and CLogFile::Write(). Referenced by LoadFont(). |
|
|
Definition at line 355 of file Fonts.cpp. References maxCharHeight. Referenced by MaxCharHeight(). |
|
|
Definition at line 360 of file Fonts.cpp. References maxCharWidth. Referenced by MaxCharWidth(). |
|
|
Definition at line 377 of file Fonts.cpp. References CharHeight(). Referenced by TextHeight(). |
|
|
Definition at line 365 of file Fonts.cpp. References CharWidth(). Referenced by DrawTextC(), DrawTextR(), and TextWidth(). |
|
|
Definition at line 134 of file Fonts.cpp. Referenced by CBitmappedFont(), CharHeight(), CharWidth(), GetAscii(), LoadRaw(), and ~CBitmappedFont(). |
|
|
Definition at line 127 of file Fonts.cpp. Referenced by CBitmappedFont(), IsCharValid(), LoadFont(), and LoadRaw(). |
|
|
Definition at line 126 of file Fonts.cpp. Referenced by CBitmappedFont(), LoadFont(), and LoadRaw(). |
|
|
Definition at line 132 of file Fonts.cpp. Referenced by CBitmappedFont(), and MaxCharHeight(). |
|
|
Definition at line 133 of file Fonts.cpp. Referenced by CBitmappedFont(), and MaxCharWidth(). |
|
|
Definition at line 125 of file Fonts.cpp. Referenced by CBitmappedFont(), and LoadFont(). |
|
|
Definition at line 130 of file Fonts.cpp. Referenced by CBitmappedFont(). |
|
|
Definition at line 130 of file Fonts.cpp. Referenced by CBitmappedFont(). |
|
|
Definition at line 129 of file Fonts.cpp. Referenced by CBitmappedFont(), CharWidth(), DrawText(), and LoadFont(). |
|
|
Definition at line 127 of file Fonts.cpp. Referenced by CBitmappedFont(), CharHeight(), CharWidth(), GetAscii(), IsCharValid(), LoadFont(), and LoadRaw(). |
|
|
Definition at line 128 of file Fonts.cpp. Referenced by CBitmappedFont(), and LoadRaw(). |
|
|
Definition at line 123 of file Fonts.cpp. Referenced by CBitmappedFont(). |
|
|
Definition at line 126 of file Fonts.cpp. Referenced by CBitmappedFont(), LoadFont(), and LoadRaw(). |
|
|
Documentation generated by
|