Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JORMContext Class Reference

#include <JORMContext.h>

+ Collaboration diagram for JORMContext:

Public Member Functions

 JORMContext ()
 
void bufInit ()
 
void putMsgID (u32 msgID)
 
s32 msgSize ()
 
u8msgPtr ()
 
void openFile (JORFile *pFile, u32 flags, const char *path, const char *extMask, u32 maskSize, const char *defaultExt, const char *param_6, const char *fileSuffix)
 
void closeFile (JORFile *pFile)
 
void readBegin (JORFile *pFile, s32 size)
 
void readData (JORFile *pFile)
 
void writeBegin (JORFile *pFile, u16 flags, u32 size)
 
void writeData (JORFile *pFile, const void *pBuffer, s32 size, u32 position)
 
void writeDone (JORFile *pFile, u32 size)
 
void sendShellExecuteRequest (void *, const char *, const char *, const char *, const char *, int)
 
void sendHostInfoRequest (u32 requestType, JORHostInfo *pHostInfo)
 
void endNode ()
 
void genRootNode (const char *label, JORReflexible *obj, u32 param_2, u32 param_3)
 
void genNode (const char *label, JORReflexible *obj, u32 param_2, u32 param_3)
 
void genNode (JORReflexible *parentObj, u32 param_1, const char *label, JORReflexible *obj, u32 param_4, u32 param_5)
 
void startNode (JORReflexible *parentObj, u32 param_1, const char *label, JORReflexible *obj, u32 param_4, u32 param_5)
 
void startNode (const char *label, JORReflexible *obj, u32 param_2, u32 param_3)
 
void genNodeSub (const char *label, JORReflexible *i_node, u32, u32)
 
void putNode (JORReflexible *obj)
 
void invalidNode (JORReflexible *i_node, u32)
 
void genControl (u32 type, u32 kind, const char *label, u32 style, u32 id, JOREventListener *pListener, u32 initValue)
 
void genSliderSub (u32 kind, const char *label, u32 id, u32 style, s32 initValue, s32 rangeMin, s32 rangeMax, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
void genCheckBoxSub (u32 kind, const char *label, u32 id, u32 style, u16 initValue, u16 mask, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
void startSelectorSub (u32 type, u32 kind, const char *label, u32 id, u32 style, s32 initValue, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
void endSelectorSub ()
 
void genSelectorItemSub (const char *label, s32 itemNo, u32 param_2, u16 posX, u16 posY, u16 width, u16 height)
 
void genButton (const char *label, u32 id, u32 style, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
void genLabel (const char *label, u32 id, u32 style, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
void genGroupBox (const char *label, u32 id, u32 style, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
void genEditBoxID (const char *label, u32 id, const char *string, u16 length, u32 style, JOREventListener *pListener, u16 posX, u16 posY, u16 width, u16 height)
 
 DEFINE_GEN_CHECKBOX (u8, 0x100|jhostio::EKind_8B) DEFINE_GEN_CHECKBOX(u16
 
jhostio::EKind_16B DEFINE_GEN_CHECKBOX_ID (u16, JORPropertyEvent::EKind_ValueID|0x100) DEFINE_GEN_SLIDER(u8
 
jhostio::EKind_16B jhostio::EKind_8B DEFINE_GEN_SLIDER (s16, jhostio::EKind_16B) DEFINE_GEN_SLIDER(f32
 
jhostio::EKind_16B jhostio::EKind_8B JORPropertyEvent::EKind_FloatValue jhostio::EKind_32B DEFINE_GEN_SLIDER (s32, jhostio::EKind_32B) DEFINE_GEN_SLIDER_ID(f64
 
jhostio::EKind_16B jhostio::EKind_8B JORPropertyEvent::EKind_FloatValue jhostio::EKind_32B JORPropertyEvent::EKind_ValueID JORPropertyEvent::EKind_FloatValue DEFINE_GEN_SLIDER_ID (int, JORPropertyEvent::EKind_ValueID) void genComboBoxItem(const char *label
 
void genRadioButtonItem (const char *label, s32 itemNo, u32 param_2, u16 posX, u16 posY, u16 width, u16 height)
 
void updateControl (u32 mode, u32 id, u32 param_2)
 
void updateControl (u32 mode, u32 id, const char *param_2)
 
void updateSliderSub (u32 mode, u32 id, s32 value, s32 rangeMin, s32 rangeMax, u32 param_5)
 
void updateCheckBoxSub (u32 mode, u32 id, u16 value, u16 mask, u32 param_4)
 
void updateSelectorSub (u32 mode, u32 id, s32 value, u32 param_3)
 
void updateEditBoxID (u32 mode, u32 id, const char *string, u32 param_3, u16 length)
 
void editComboBoxItem (u32 param_0, u32 param_1, const char *param_2, s32 param_3, u32 param_4)
 
void openMessageBox (void *param_0, u32 style, const char *message, const char *title)
 

Public Attributes

jhostio::EKind_16B jhostio::EKind_8B JORPropertyEvent::EKind_FloatValue jhostio::EKind_32B JORPropertyEvent::EKind_ValueID JORPropertyEvent::EKind_FloatValue s32 itemNo
 
u8 mBuffer [0x10000]
 
JSUMemoryOutputStream mOutputStream
 

Constructor & Destructor Documentation

◆ JORMContext()

JORMContext::JORMContext ( )
inline

Member Function Documentation

◆ bufInit()

void JORMContext::bufInit ( )
inline

◆ closeFile()

void JORMContext::closeFile ( JORFile pFile)

◆ DEFINE_GEN_CHECKBOX()

JORMContext::DEFINE_GEN_CHECKBOX ( u8  ,
0x100|jhostio::EKind_8B   
)

=== CHECKBOX ===

◆ DEFINE_GEN_CHECKBOX_ID()

jhostio::EKind_16B JORMContext::DEFINE_GEN_CHECKBOX_ID ( u16  ,
JORPropertyEvent::EKind_ValueID 0x100 
)

=== SLIDER ===

◆ DEFINE_GEN_SLIDER() [1/2]

jhostio::EKind_16B jhostio::EKind_8B JORMContext::DEFINE_GEN_SLIDER ( s16  ,
jhostio::EKind_16B   
)

◆ DEFINE_GEN_SLIDER() [2/2]

◆ DEFINE_GEN_SLIDER_ID()

◆ editComboBoxItem()

void JORMContext::editComboBoxItem ( u32  param_0,
u32  param_1,
const char param_2,
s32  param_3,
u32  param_4 
)

◆ endNode()

void JORMContext::endNode ( )

◆ endSelectorSub()

void JORMContext::endSelectorSub ( )

◆ genButton()

void JORMContext::genButton ( const char label,
u32  id,
u32  style,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ genCheckBoxSub()

void JORMContext::genCheckBoxSub ( u32  kind,
const char label,
u32  id,
u32  style,
u16  initValue,
u16  mask,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ genControl()

void JORMContext::genControl ( u32  type,
u32  kind,
const char label,
u32  style,
u32  id,
JOREventListener pListener,
u32  initValue 
)

◆ genEditBoxID()

void JORMContext::genEditBoxID ( const char label,
u32  id,
const char string,
u16  length,
u32  style,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ genGroupBox()

void JORMContext::genGroupBox ( const char label,
u32  id,
u32  style,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ genLabel()

void JORMContext::genLabel ( const char label,
u32  id,
u32  style,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ genNode() [1/2]

void JORMContext::genNode ( const char label,
JORReflexible obj,
u32  param_2,
u32  param_3 
)
inline

◆ genNode() [2/2]

void JORMContext::genNode ( JORReflexible parentObj,
u32  param_1,
const char label,
JORReflexible obj,
u32  param_4,
u32  param_5 
)
inline

◆ genNodeSub()

void JORMContext::genNodeSub ( const char label,
JORReflexible i_node,
u32  param_2,
u32  param_3 
)

◆ genRadioButtonItem()

void JORMContext::genRadioButtonItem ( const char label,
s32  itemNo,
u32  param_2,
u16  posX,
u16  posY,
u16  width,
u16  height 
)
inline

◆ genRootNode()

void JORMContext::genRootNode ( const char label,
JORReflexible obj,
u32  param_2,
u32  param_3 
)
inline

◆ genSelectorItemSub()

void JORMContext::genSelectorItemSub ( const char label,
s32  itemNo,
u32  param_2,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ genSliderSub()

void JORMContext::genSliderSub ( u32  kind,
const char label,
u32  id,
u32  style,
s32  initValue,
s32  rangeMin,
s32  rangeMax,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ invalidNode()

void JORMContext::invalidNode ( JORReflexible i_node,
u32  param_1 
)

◆ msgPtr()

u8 * JORMContext::msgPtr ( )
inline

◆ msgSize()

s32 JORMContext::msgSize ( )
inline

◆ openFile()

void JORMContext::openFile ( JORFile pFile,
u32  flags,
const char path,
const char extMask,
u32  maskSize,
const char defaultExt,
const char param_6,
const char fileSuffix 
)

◆ openMessageBox()

void JORMContext::openMessageBox ( void param_0,
u32  style,
const char message,
const char title 
)

◆ putMsgID()

void JORMContext::putMsgID ( u32  msgID)
inline

◆ putNode()

void JORMContext::putNode ( JORReflexible obj)

◆ readBegin()

void JORMContext::readBegin ( JORFile pFile,
s32  size 
)

◆ readData()

void JORMContext::readData ( JORFile pFile)

◆ sendHostInfoRequest()

void JORMContext::sendHostInfoRequest ( u32  requestType,
JORHostInfo pHostInfo 
)

◆ sendShellExecuteRequest()

void JORMContext::sendShellExecuteRequest ( void param_0,
const char param_1,
const char param_2,
const char param_3,
const char param_4,
int  param_5 
)

◆ startNode() [1/2]

void JORMContext::startNode ( const char label,
JORReflexible obj,
u32  param_2,
u32  param_3 
)
inline

◆ startNode() [2/2]

void JORMContext::startNode ( JORReflexible parentObj,
u32  param_1,
const char label,
JORReflexible obj,
u32  param_4,
u32  param_5 
)
inline

◆ startSelectorSub()

void JORMContext::startSelectorSub ( u32  type,
u32  kind,
const char label,
u32  id,
u32  style,
s32  initValue,
JOREventListener pListener,
u16  posX,
u16  posY,
u16  width,
u16  height 
)

◆ updateCheckBoxSub()

void JORMContext::updateCheckBoxSub ( u32  mode,
u32  id,
u16  value,
u16  mask,
u32  param_4 
)

◆ updateControl() [1/2]

void JORMContext::updateControl ( u32  mode,
u32  id,
const char param_2 
)

◆ updateControl() [2/2]

void JORMContext::updateControl ( u32  mode,
u32  id,
u32  param_2 
)

◆ updateEditBoxID()

void JORMContext::updateEditBoxID ( u32  mode,
u32  id,
const char string,
u32  param_3,
u16  length 
)

◆ updateSelectorSub()

void JORMContext::updateSelectorSub ( u32  mode,
u32  id,
s32  value,
u32  param_3 
)

◆ updateSliderSub()

void JORMContext::updateSliderSub ( u32  mode,
u32  id,
s32  value,
s32  rangeMin,
s32  rangeMax,
u32  param_5 
)

◆ writeBegin()

void JORMContext::writeBegin ( JORFile pFile,
u16  flags,
u32  size 
)

◆ writeData()

void JORMContext::writeData ( JORFile pFile,
const void pBuffer,
s32  size,
u32  position 
)

◆ writeDone()

void JORMContext::writeDone ( JORFile pFile,
u32  size 
)

Member Data Documentation

◆ itemNo

Initial value:
{
genSelectorItemSub(label, itemNo, 0, 0, 0, 0, 0)
void genSelectorItemSub(const char *label, s32 itemNo, u32 param_2, u16 posX, u16 posY, u16 width, u16 height)
Definition JORServer.cpp:601
jhostio::EKind_16B jhostio::EKind_8B JORPropertyEvent::EKind_FloatValue jhostio::EKind_32B JORPropertyEvent::EKind_ValueID JORPropertyEvent::EKind_FloatValue s32 itemNo
Definition JORMContext.h:183

◆ mBuffer

u8 JORMContext::mBuffer[0x10000]

◆ mOutputStream

JSUMemoryOutputStream JORMContext::mOutputStream

The documentation for this class was generated from the following files: