NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::ut Namespace Reference

Description

Debugging library which includes various utilities used by the rest of nw4r.

Classes

class  AutoInterruptLock
 
struct  BinaryBlockHeader
 
struct  BinaryFileHeader
 
class  CharStrmReader
 
struct  CharWidths
 
class  CharWriter
 
struct  Color
 
class  DvdFileStream
 
class  DvdLockedFileStream
 
class  FileStream
 
class  Font
 
struct  FontCodeMap
 
struct  FontInformation
 
struct  FontTextureGlyph
 
struct  FontWidth
 
struct  Glyph
 
class  IOStream
 
struct  Link
 
class  LinkList
 
class  LinkListNode
 
struct  List
 
class  NandFileStream
 
struct  PrintContext
 
struct  Rect
 
class  ResFont
 
class  RomFont
 
class  TagProcessorBase
 
class  TextWriterBase
 

Typedefs

typedef TagProcessorBase< char > TagProcessor
 
typedef TextWriterBase< char > TextWriter
 
typedef TagProcessorBase< wchar_t > WideTagProcessor
 
typedef TextWriterBase< wchar_t > WideTextWriter
 

Enumerations

enum  FontEncoding {
  FONT_ENCODING_UTF8 ,
  FONT_ENCODING_UTF16 ,
  FONT_ENCODING_SJIS ,
  FONT_ENCODING_CP1252 ,
  FONT_ENCODING_MAX
}
 
enum  FontMapMethod {
  FONT_MAPMETHOD_DIRECT ,
  FONT_MAPMETHOD_TABLE ,
  FONT_MAPMETHOD_SCAN
}
 

Functions

void List_Init (List *list, u16 offset)
 
void List_Append (List *list, void *obj)
 
void List_Prepend (List *list, void *obj)
 
void List_Insert (List *list, void *target, void *obj)
 
void List_Remove (List *list, void *obj)
 
void * List_GetNext (const List *list, const void *obj)
 
void * List_GetPrev (const List *list, const void *obj)
 
bool IsValidBinaryFile (const BinaryFileHeader *pHeader, ulong signature, u16 version, u16 minBlocks)
 
nw4r::ut::Color GXColor ALIGN (4)
 
const void * List_GetNextConst (const List *pList, const void *pObject)
 
const void * List_GetPrevConst (const List *pList, const void *pObject)
 
void * List_GetNth (const List *pList, u16 n)
 
const void * List_GetNthConst (const List *pList, u16 n)
 
void * List_GetFirst (const List *pList)
 
const void * List_GetFirstConst (const List *pList)
 
void * List_GetLast (const List *pList)
 
const void * List_GetLastConst (const List *pList)
 
u16 List_GetSize (const List *pList)
 
template<typename TDerived, typename TBase>
TDerived DynamicCast (TBase *pPtr)
 

Typedef Documentation

◆ TagProcessor

Definition at line 10 of file ut_TagProcessor.h.

◆ TextWriter

Definition at line 10 of file ut_TextWriter.h.

◆ WideTagProcessor

Definition at line 10 of file ut_WideTagProcessor.h.

◆ WideTextWriter

Definition at line 10 of file ut_WideTextWriter.h.

Enumeration Type Documentation

◆ FontEncoding

enum nw4r::ut::FontEncoding

Definition at line 12 of file ut_Font.h.

◆ FontMapMethod

enum nw4r::ut::FontMapMethod

Definition at line 10 of file ut_ResFontBase.h.

Function Documentation

◆ List_Init()

void nw4r::ut::List_Init ( List * list,
u16 offset )

Definition at line 6 of file ut_list.cpp.

◆ List_Append()

void nw4r::ut::List_Append ( List * list,
void * obj )

Definition at line 13 of file ut_list.cpp.

◆ List_Prepend()

void nw4r::ut::List_Prepend ( List * list,
void * obj )

Definition at line 38 of file ut_list.cpp.

◆ List_Insert()

void nw4r::ut::List_Insert ( List * list,
void * target,
void * obj )

Definition at line 63 of file ut_list.cpp.

◆ List_Remove()

void nw4r::ut::List_Remove ( List * list,
void * obj )

Definition at line 91 of file ut_list.cpp.

◆ List_GetNext()

void * nw4r::ut::List_GetNext ( const List * list,
const void * obj )

Definition at line 118 of file ut_list.cpp.

◆ List_GetPrev()

void * nw4r::ut::List_GetPrev ( const List * list,
const void * obj )

Definition at line 126 of file ut_list.cpp.

◆ List_GetNextConst()

const void * nw4r::ut::List_GetNextConst ( const List * pList,
const void * pObject )
inline

Definition at line 29 of file ut_list.h.

◆ List_GetPrevConst()

const void * nw4r::ut::List_GetPrevConst ( const List * pList,
const void * pObject )
inline

Definition at line 34 of file ut_list.h.

◆ List_GetNthConst()

const void * nw4r::ut::List_GetNthConst ( const List * pList,
u16 n )
inline

Definition at line 39 of file ut_list.h.

◆ List_GetFirst()

void * nw4r::ut::List_GetFirst ( const List * pList)
inline

Definition at line 43 of file ut_list.h.

◆ List_GetFirstConst()

const void * nw4r::ut::List_GetFirstConst ( const List * pList)
inline

Definition at line 46 of file ut_list.h.

◆ List_GetLast()

void * nw4r::ut::List_GetLast ( const List * pList)
inline

Definition at line 50 of file ut_list.h.

◆ List_GetLastConst()

const void * nw4r::ut::List_GetLastConst ( const List * pList)
inline

Definition at line 53 of file ut_list.h.

◆ List_GetSize()

u16 nw4r::ut::List_GetSize ( const List * pList)
inline

Definition at line 57 of file ut_list.h.

◆ DynamicCast()

template<typename TDerived, typename TBase>
TDerived nw4r::ut::DynamicCast ( TBase * pPtr)
inline

Definition at line 46 of file ut_RuntimeTypeInfo.h.