![]() |
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
#include <JUTCacheFont.h>
Inheritance diagram for JUTCacheFont:
Collaboration diagram for JUTCacheFont:Classes | |
| struct | TCachePage |
| struct | TGlyphCacheInfo |
Public Types | |
| enum | EPagingType { PAGE_TYPE_0 , PAGE_TYPE_1 } |
Public Member Functions | |
| JUTCacheFont (ResFONT const *, u32, JKRHeap *) | |
| void | deleteMemBlocks_CacheFont () |
| void | initialize_state () |
| int | getMemorySize (ResFONT const *, u16 *, u32 *, u16 *, u32 *, u16 *, u32 *, u32 *) |
| int | initiate (ResFONT const *, void *, u32, JKRHeap *) |
| bool | internal_initiate (ResFONT const *, void *, u32, JKRHeap *) |
| bool | allocArea (void *, u32, JKRHeap *) |
| bool | allocArray (JKRHeap *) |
| TGlyphCacheInfo * | determineBlankPage () |
| void | getGlyphFromAram (JUTCacheFont::TGlyphCacheInfo *, JUTCacheFont::TCachePage *, int *, int *) |
| TCachePage * | loadCache_char_subroutine (int *, bool) |
| void | invalidiateAllCache () |
| void | unlink (JUTCacheFont::TGlyphCacheInfo *) |
| void | prepend (JUTCacheFont::TGlyphCacheInfo *) |
| virtual | ~JUTCacheFont () |
| virtual void | loadImage (int, _GXTexMapID) |
| virtual void | setBlock () |
| void | setPagingType (EPagingType type) |
| GXTexObj * | getTexObj (void *buffer) |
Public Member Functions inherited from JUTResFont | |
| virtual | ~JUTResFont () |
| virtual void | setGX () |
| virtual void | setGX (JUtility::TColor, JUtility::TColor) |
| virtual f32 | drawChar_scale (f32, f32, f32, f32, int, bool) |
| virtual int | getLeading () const |
| virtual s32 | getAscent () const |
| virtual s32 | getDescent () const |
| virtual s32 | getHeight () const |
| virtual s32 | getWidth () const |
| virtual void | getWidthEntry (int, JUTFont::TWidth *) const |
| virtual s32 | getCellWidth () const |
| virtual s32 | getCellHeight () const |
| virtual int | getFontType () const |
| virtual ResFONT * | getResFont () const |
| virtual bool | isLeadByte (int) const |
| JUTResFont (ResFONT const *, JKRHeap *) | |
| JUTResFont () | |
| void | deleteMemBlocks_ResFont () |
| void | initialize_state () |
| bool | initiate (ResFONT const *, JKRHeap *) |
| bool | protected_initiate (ResFONT const *, JKRHeap *) |
| void | countBlock () |
| void | loadFont (int, _GXTexMapID, JUTFont::TWidth *) |
| int | getFontCode (int) const |
| int | convertSjis (int, u16 *) const |
| void | delete_and_initialize () |
Public Member Functions inherited from JUTFont | |
| JUTFont () | |
| virtual | ~JUTFont () |
| void | initialize_state () |
| void | setCharColor (JUtility::TColor col1) |
| void | setGradColor (JUtility::TColor col1, JUtility::TColor col2) |
| f32 | drawString_size_scale (f32 posX, f32 posY, f32 width, f32 height, const char *str, u32 usz, bool visible) |
| void | drawString (int posX, int posY, const char *str, bool visible) |
| void | drawString_size (int posX, int posY, const char *str, u32 len, bool visible) |
| void | drawString_scale (f32 posX, f32 posY, f32 width, f32 height, const char *str, bool visible) |
| int | getWidth (int i_no) const |
| bool | isValid () const |
| bool | isFixed () const |
| int | getFixedWidth () const |
| int | getOffset (int i_no) const |
Static Public Member Functions | |
| static u32 | calcCacheSize (u32 param_0, int param_1) |
Static Public Member Functions inherited from JUTFont | |
| static bool | isLeadByte_1Byte (int b) |
| static bool | isLeadByte_2Byte (int b) |
| static bool | isLeadByte_ShiftJIS (int b) |
| static bool | isLeadByte_EUC (int b) |
Private Attributes | |
| u32 | mTotalWidSize |
| u32 | mTotalGlySize |
| u32 | mTotalMapSize |
| void * | field_0x7c |
| void * | field_0x80 |
| void * | field_0x84 |
| u32 | mMaxSheetSize |
| EPagingType | mPagingType |
| void * | mCacheBuffer |
| int | field_0x94 |
| u32 | mCachePage |
| TGlyphCacheInfo * | field_0x9c |
| TGlyphCacheInfo * | field_0xa0 |
| TGlyphCacheInfo * | field_0xa4 |
| u32 | field_0xa8 |
| JKRAramBlock * | field_0xac |
| u8 | field_0xb0 |
| int | field_0xb4 |
Additional Inherited Members | |
Public Attributes inherited from JUTResFont | |
| int | mWidth |
| int | mHeight |
| GXTexObj | mTexObj |
| int | mTexPageIdx |
| const ResFONT * | mResFont |
| ResFONT::INF1 * | mInf1Ptr |
| void ** | mMemBlocks |
| ResFONT::WID1 ** | mpWidthBlocks |
| ResFONT::GLY1 ** | mpGlyphBlocks |
| ResFONT::MAP1 ** | mpMapBlocks |
| u16 | mWid1BlockNum |
| u16 | mGly1BlockNum |
| u16 | mMap1BlockNum |
| u16 | field_0x66 |
| u16 | mMaxCode |
| const IsLeadByte_func * | mIsLeadByte |
Public Attributes inherited from JUTFont | |
| bool | mValid |
| bool | mFixed |
| int | mFixedWidth |
| JUtility::TColor | mColor1 |
| JUtility::TColor | mColor2 |
| JUtility::TColor | mColor3 |
| JUtility::TColor | mColor4 |
Static Public Attributes inherited from JUTResFont | |
| static const int | suAboutEncoding_ = 3 |
| static IsLeadByte_func const | saoAboutEncoding_ [suAboutEncoding_] |
|
virtual |
| bool JUTCacheFont::allocArray | ( | JKRHeap * | param_0 | ) |
| void JUTCacheFont::deleteMemBlocks_CacheFont | ( | ) |
| JUTCacheFont::TGlyphCacheInfo * JUTCacheFont::determineBlankPage | ( | ) |
| void JUTCacheFont::getGlyphFromAram | ( | JUTCacheFont::TGlyphCacheInfo * | param_0, |
| JUTCacheFont::TCachePage * | pCachePage, | ||
| int * | param_2, | ||
| int * | param_3 ) |
| int JUTCacheFont::getMemorySize | ( | ResFONT const * | p_font, |
| u16 * | o_widCount, | ||
| u32 * | o_widSize, | ||
| u16 * | o_glyCount, | ||
| u32 * | o_glySize, | ||
| u16 * | o_mapCount, | ||
| u32 * | o_mapSize, | ||
| u32 * | o_glyTexSize ) |
|
inline |
| void JUTCacheFont::initialize_state | ( | ) |
| int JUTCacheFont::initiate | ( | ResFONT const * | p_fontRes, |
| void * | param_1, | ||
| u32 | param_2, | ||
| JKRHeap * | p_heap ) |
| bool JUTCacheFont::internal_initiate | ( | ResFONT const * | p_fontRes, |
| void * | param_1, | ||
| u32 | param_2, | ||
| JKRHeap * | param_3 ) |
| void JUTCacheFont::invalidiateAllCache | ( | ) |
| JUTCacheFont::TCachePage * JUTCacheFont::loadCache_char_subroutine | ( | int * | param_0, |
| bool | param_1 ) |
|
virtual |
Reimplemented from JUTResFont.
| void JUTCacheFont::prepend | ( | JUTCacheFont::TGlyphCacheInfo * | cacheInfo | ) |
|
virtual |
Reimplemented from JUTResFont.
|
inline |
| void JUTCacheFont::unlink | ( | JUTCacheFont::TGlyphCacheInfo * | cacheInfo | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |