![]() |
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
Namespaces | |
| namespace | detail |
Classes | |
| struct | MapFile |
Typedefs | |
| typedef detail::ConsoleHead * | ConsoleHandle |
| typedef void(* | VisitStringCallback) (detail::ConsoleHead *console, u8 *r4, long r5, u32 r6) |
Enumerations | |
| enum | ConsoleOutputType { CONSOLE_OUTPUT_NONE , CONSOLE_OUTPUT_TERMINAL , CONSOLE_OUTPUT_DISPLAY , CONSOLE_OUTPUT_ALL } |
Functions | |
| void | VPanic (const char *file, int line, const char *fmt, std::va_list vlist) |
| void | VWarning (const char *file, int line, const char *fmt, std::va_list vlist) |
| detail::ConsoleHead * | Assertion_SetConsole (detail::ConsoleHead *console) |
| detail::ConsoleHead * | Assertion_GetConsole () |
| void | Assertion_ShowConsole (u32 time) |
| void | Assertion_HideConsole () |
| void | Assertion_SetWarningTime (u32 time) |
| bool | Assertion_SetAutoWarning (bool enable) |
| detail::ConsoleHead * | Console_Create (void *buffer, u16 width, u16 height, u16 viewHeight, u16 priority, u16 attr) |
| void | Console_Destroy (detail::ConsoleHead *console) |
| void | Console_Clear (detail::ConsoleHead *console) |
| void | Console_Draw (detail::ConsoleHead *console, ut::TextWriterBase< char > &writer) |
| void | Console_DrawDirect (detail::ConsoleHead *console) |
| void | Console_DrawAll () |
| void | Console_DrawDirectAll () |
| void | Console_VFPrintf (ConsoleOutputType type, detail::ConsoleHead *console, const char *format, std::va_list vlist) |
| void | Console_FPrintf (ConsoleOutputType type, detail::ConsoleHead *console, const char *format) |
| void | Console_Printf (detail::ConsoleHead *console, const char *format,...) |
| void | Console_PrintfD (detail::ConsoleHead *console, const char *format,...) |
| void | Console_PrintfT (detail::ConsoleHead *console, const char *format,...) |
| u16 | Console_ChangePriority (detail::ConsoleHead *console, u16 r4) |
| void | Console_VisitString (detail::ConsoleHead *console, VisitStringCallback visitor) |
| long | Console_GetTotalLines (detail::ConsoleHead *console) |
| static long | Console_SetViewBaseLine (detail::ConsoleHead *console, long line) |
| static u16 | Console_GetViewHeight (detail::ConsoleHead *console) |
| static void | Console_VPrintf (detail::ConsoleHead *console, const char *format, std::va_list vlist) |
| static long | Console_ShowLatestLine (detail::ConsoleHead *console) |
| static bool | Console_SetVisible (detail::ConsoleHead *console, bool isVisible) |
| static void | Assertion_Printf_ (const char *fmt,...) |
| static bool | ShowMapInfoSubroutine_ (u32 address, u8 preCRFlag) |
| static void | ShowStack_ (u32 sp) NO_INLINE |
| static OSAlarm & | GetWarningAlarm_ () |
| static void | WarningAlarmFunc_ (OSAlarm *alarm, OSContext *context) |
| static u8 * | GetTextPtr_ (ConsoleHandle console, u16 line, u16 xPos) |
| static u32 | CodeWidth_ (u8 const *p) |
| static u32 | GetTabSize_ (ConsoleHandle console) |
| static u8 const * | SearchEndOfLine_ (u8 const *str) |
| static u16 | GetRingUsedLines_ (ConsoleHandle console) |
| static u16 | GetActiveLines_ (ConsoleHandle console) |
| static void | TerminateLine_ (ConsoleHandle console) |
| static u8 * | NextLine_ (ConsoleHandle console) |
| static u8 * | PutTab_ (ConsoleHandle console, u8 *dstPtr) |
| static u32 | PutChar_ (ConsoleHandle console, u8 const *str, u8 *dstPtr) |
| static void | UnlockMutex_ (OSMutex *mutex) |
| static bool | TryLockMutex_ (OSMutex *mutex) |
| static void | DoDrawString_ (ConsoleHandle console, u32 printLine, u8 const *str, ut::TextWriterBase< char > *writer) |
| static void | DoDrawConsole_ (ConsoleHandle console, ut::TextWriterBase< char > *writer) |
| void | Console_DrawDirect (ConsoleHandle console) |
| void | dummyString (ConsoleHandle pConsole) |
| static void | PrintToBuffer_ (ConsoleHandle console, u8 const *str) |
| static void | Console_PrintString_ (ConsoleOutputType type, ConsoleHandle console, u8 const *str) |
| void | Console_VFPrintf (ConsoleOutputType type, ConsoleHandle console, char const *format, std::va_list vlist) |
| void | Console_Printf (ConsoleHandle console, char const *format,...) |
| s32 | Console_GetTotalLines (ConsoleHandle console) |
| void | dummy (ut::CharWriter *pCharWriter) |
| static void | DrawStringToXfb_ (int posh, int posv, char const *str, bool turnOver, bool backErase) |
| static char const * | DrawStringLineToXfb_ (int posh, int posv, char const *str, int width) |
| static void | DrawCharToXfb_ (int posh, int posv, int code) |
| static int | StrLineWidth_ (char const *str) |
| static int | GetDotWidth_ () |
| static int | GetDotHeight_ () |
| void | DirectPrint_Init () |
| bool | DirectPrint_IsActive () |
| void | DirectPrint_EraseXfb (int posh, int posv, int sizeh, int sizev) |
| void | DirectPrint_ChangeXfb (void *framebuf, u16 width, u16 height) |
| void | DirectPrint_ChangeXfb (void *framebuf) |
| void | DirectPrint_StoreCache (void) |
| void | DirectPrint_DrawString (int posh, int posv, bool turnOver, char const *format,...) |
| void | DirectPrint_SetColor (u8 r, u8 g, u8 b) |
| static u8 | GetCharOnMem_ (const u8 *buf) |
| static u8 | GetCharOnDvd_ (u8 const *buf) |
| static u8 * | SearchNextLine_ (u8 *buf, s32 lines) |
| static u8 * | SearchNextSection_ (u8 *buf) |
| static u8 * | SearchParam_ (u8 *lineTop, u32 argNum, u8 splitter) |
| static u32 | XStrToU32_ (u8 const *str) |
| static u32 | CopySymbol_ (u8 const *buf, u8 *str, u32 strLenMax, u8 splitter) |
| static bool | QuerySymbolToMapFile_ (u8 *buf, OSModuleInfo const *moduleInfo, u32 address, u8 *strBuf, u32 strBufSize) |
| static bool | QuerySymbolToSingleMapFile_ (MapFile *pMapFile, u32 address, u8 *strBuf, u32 strBufSize) NO_INLINE |
| bool | MapFile_Exists (void) |
| static s32 | GetSize (s32 offset, u32 length) |
| void | dummyString () |
| bool | MapFile_QuerySymbol (u32 address, u8 *strBuf, u32 strBufSize) |
Variables | |
| static OSAlarm | sWarningAlarm |
| static u32 | sWarningTime |
| static ConsoleHead * | sAssertionConsole |
| static bool | sDispWarningAuto |
| static OSMutex | sMutex |
| static u8 | sStrBuf [1024] |
| static const u8 | sAsciiTable [128] |
| static const u32 | sFontData [64] |
| static const u32 | sFontData2 [77] |
| static FrameBufferInfo | sFrameBufferInfo |
| static YUVColorInfo | sFrameBufferColor |
| static int | sInitialized = false |
| static u8 | sMapBuf [0x200] |
| static s32 | sMapBufOffset = -1 |
| static DVDFileInfo | sFileInfo |
| static u32 | sFileLength |
| static MapFile * | sMapFileList |
| static GetCharFunc * | GetCharPtr_ |
| typedef void(* nw4hbm::db::VisitStringCallback) (detail::ConsoleHead *console, u8 *r4, long r5, u32 r6) |
| ConsoleHead * nw4hbm::db::Assertion_GetConsole | ( | ) |
| void nw4hbm::db::Assertion_HideConsole | ( | ) |
|
static |
| bool nw4hbm::db::Assertion_SetAutoWarning | ( | bool | enable | ) |
| ConsoleHead * nw4hbm::db::Assertion_SetConsole | ( | detail::ConsoleHead * | console | ) |
| void nw4hbm::db::Assertion_SetWarningTime | ( | u32 | time | ) |
| void nw4hbm::db::Assertion_ShowConsole | ( | u32 | time | ) |
| u16 nw4hbm::db::Console_ChangePriority | ( | detail::ConsoleHead * | console, |
| u16 | r4 ) |
| void nw4hbm::db::Console_Clear | ( | detail::ConsoleHead * | console | ) |
| detail::ConsoleHead * nw4hbm::db::Console_Create | ( | void * | buffer, |
| u16 | width, | ||
| u16 | height, | ||
| u16 | viewHeight, | ||
| u16 | priority, | ||
| u16 | attr ) |
| void nw4hbm::db::Console_Destroy | ( | detail::ConsoleHead * | console | ) |
| void nw4hbm::db::Console_Draw | ( | detail::ConsoleHead * | console, |
| ut::TextWriterBase< char > & | writer ) |
| void nw4hbm::db::Console_DrawAll | ( | ) |
| void nw4hbm::db::Console_DrawDirect | ( | ConsoleHandle | console | ) |
| void nw4hbm::db::Console_DrawDirect | ( | detail::ConsoleHead * | console | ) |
| void nw4hbm::db::Console_DrawDirectAll | ( | ) |
| void nw4hbm::db::Console_FPrintf | ( | ConsoleOutputType | type, |
| detail::ConsoleHead * | console, | ||
| const char * | format ) |
| s32 nw4hbm::db::Console_GetTotalLines | ( | ConsoleHandle | console | ) |
| long nw4hbm::db::Console_GetTotalLines | ( | detail::ConsoleHead * | console | ) |
|
static |
| void nw4hbm::db::Console_Printf | ( | ConsoleHandle | console, |
| char const * | format, | ||
| ... ) |
| void nw4hbm::db::Console_Printf | ( | detail::ConsoleHead * | console, |
| const char * | format, | ||
| ... ) |
| void nw4hbm::db::Console_PrintfD | ( | detail::ConsoleHead * | console, |
| const char * | format, | ||
| ... ) |
| void nw4hbm::db::Console_PrintfT | ( | detail::ConsoleHead * | console, |
| const char * | format, | ||
| ... ) |
|
static |
|
static |
|
static |
|
static |
| void nw4hbm::db::Console_VFPrintf | ( | ConsoleOutputType | type, |
| ConsoleHandle | console, | ||
| char const * | format, | ||
| std::va_list | vlist ) |
| void nw4hbm::db::Console_VFPrintf | ( | ConsoleOutputType | type, |
| detail::ConsoleHead * | console, | ||
| const char * | format, | ||
| std::va_list | vlist ) |
| void nw4hbm::db::Console_VisitString | ( | detail::ConsoleHead * | console, |
| VisitStringCallback | visitor ) |
|
static |
| void nw4hbm::db::DirectPrint_ChangeXfb | ( | void * | framebuf | ) |
| void nw4hbm::db::DirectPrint_DrawString | ( | int | posh, |
| int | posv, | ||
| bool | turnOver, | ||
| char const * | format, | ||
| ... ) |
| void nw4hbm::db::DirectPrint_EraseXfb | ( | int | posh, |
| int | posv, | ||
| int | sizeh, | ||
| int | sizev ) |
| void nw4hbm::db::DirectPrint_Init | ( | ) |
| bool nw4hbm::db::DirectPrint_IsActive | ( | ) |
| void nw4hbm::db::DirectPrint_StoreCache | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| void nw4hbm::db::dummy | ( | ut::CharWriter * | pCharWriter | ) |
| void nw4hbm::db::dummyString | ( | ) |
| void nw4hbm::db::dummyString | ( | ConsoleHandle | pConsole | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
| bool nw4hbm::db::MapFile_Exists | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
| DECL_WEAK void nw4hbm::db::VPanic | ( | const char * | file, |
| int | line, | ||
| const char * | fmt, | ||
| std::va_list | vlist ) |
| DECL_WEAK void nw4hbm::db::VWarning | ( | const char * | file, |
| int | line, | ||
| const char * | fmt, | ||
| std::va_list | vlist ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |