Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JORHostInfo.cpp File Reference

Functions

static BOOL IsLeapYear (int year)
 
BOOL JORGetYearDays (int year, int mon)
 
bool JORGetHostInfo (u32 request_type, JORHostInfo *pHostinfo)
 
void JORGetComputerName (char *buffer, u32 buffer_size)
 
void JORGetUserName (char *buffer, u32 buffer_size)
 
void JORGetLocalTime (OSCalendarTime *pCalendarTime)
 

Variables

static s32 YearDays []
 
static s32 LeapYearDays []
 

Function Documentation

◆ IsLeapYear()

static BOOL IsLeapYear ( int year)
static

◆ JORGetComputerName()

void JORGetComputerName ( char * buffer,
u32 buffer_size )

◆ JORGetHostInfo()

bool JORGetHostInfo ( u32 request_type,
JORHostInfo * pHostinfo )

◆ JORGetLocalTime()

void JORGetLocalTime ( OSCalendarTime * pCalendarTime)

◆ JORGetUserName()

void JORGetUserName ( char * buffer,
u32 buffer_size )

◆ JORGetYearDays()

BOOL JORGetYearDays ( int year,
int mon )

Variable Documentation

◆ LeapYearDays

s32 LeapYearDays[]
static
Initial value:
= {
0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335,
}

◆ YearDays

s32 YearDays[]
static
Initial value:
= {
0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334,
}