Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JORServer.h
Go to the documentation of this file.
1#ifndef JORSERVER_H
2#define JORSERVER_H
3
8
10u32 JORMessageBox(const char* message, const char* title, u32 style);
11
14 void JORAppend();
15 void JORRemove();
16
17 virtual int JORAct(u32, const char*);
19
21 /* 0x0C */ u32 field_0xc;
22 /* 0x10 */ u32 field_0x10;
23};
24
25class JORFile;
26class JORDir;
29
30class JORServer : public JHITag<JHICmnMem> {
31public:
44
51
52 static JORServer* create();
53 void receive(const char*, s32);
54
57
62
67
68 static void defSetVal(void*, u32, s32);
69 static void defSetBitVal(void*, u32, u16, u16);
70
76
80
88
89 void sendReset();
90
91 void setRootNode(const char*, JORReflexible*, u32, u32);
92 void doneEvent();
93
94 static JORServer* getInstance() { return instance; }
96
97 /* 0x0000C */ JORMContext m_context;
98 /* 0x10020 */ JORReflexible* mp_rootObj;
99 /* 0x10024 */ char m_rootName[64];
100 /* 0x10064 */ u32 field_0x10064;
101 /* 0x10068 */ u32 field_0x10068;
102 /* 0x1006C */ bool m_event;
103 /* 0x1006D */ bool m_eventDone;
104 /* 0x10070 */ u32 m_eventNum;
105 /* 0x10074 */ char m_eventName[0x1000];
106 /* 0x11074 */ void* m_eventFunc;
109};
110
111#endif /* JORSERVER_H */
void JOR_MESSAGELOOP()
u32 JORMessageBox(const char *message, const char *title, u32 style)
Definition JORMessageBox.cpp:3
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition JORFile.h:6
Definition JORFile.h:24
Definition JORHostInfo.h:39
Definition JORHostInfo.h:21
Definition JORMContext.h:72
Definition JORReflexible.h:41
Definition JORServer.h:30
void fio_readData_(JSUMemoryInputStream &)
Definition JORServer.cpp:288
void removeEventCallbackListNode(JOREventCallbackListNode *p)
Definition JORServer.h:63
void hostinfo_recvString_(JSUMemoryInputStream &, JORHostInfo_String *)
Definition JORServer.cpp:426
void fio_openFile_(JSUMemoryInputStream &)
Definition JORServer.cpp:246
u32 field_0x10068
Definition JORServer.h:101
void hostinfo_dispatchMessage_(JSUMemoryInputStream &)
Definition JORServer.cpp:404
JORMContext * attachMCTX(u32)
Definition JORServer.cpp:154
void * m_eventFunc
Definition JORServer.h:106
JORMContext m_context
Definition JORServer.h:97
void dir_findNextFile_(JSUMemoryInputStream &, JORDir *)
Definition JORServer.cpp:382
void dir_dispatchMessage_(JSUMemoryInputStream &)
Definition JORServer.cpp:343
bool m_event
Definition JORServer.h:102
void dir_findFirstFile_(JSUMemoryInputStream &, JORDir *)
Definition JORServer.cpp:370
void fio_writeData_(JSUMemoryInputStream &)
Definition JORServer.cpp:312
bool m_isEventCallbackListEnabled
Definition JORServer.h:107
static void defSetBitVal(void *, u32, u16, u16)
Definition JORServer.cpp:136
void fio_dispatchMessage_(JSUMemoryInputStream &)
Definition JORServer.cpp:323
char m_eventName[0x1000]
Definition JORServer.h:105
void receive(const char *, s32)
Definition JORServer.cpp:168
void fio_closeFile_(JSUMemoryInputStream &)
Definition JORServer.cpp:273
void releaseMCTX(JORMContext *)
Definition JORServer.cpp:160
JORServer()
Definition JORServer.h:45
JORReflexible * mp_rootObj
Definition JORServer.h:98
void setRootNode(const char *, JORReflexible *, u32, u32)
Definition JORServer.cpp:461
void readResultU32_(JSUMemoryInputStream &)
Definition JORServer.cpp:473
void doneEvent()
Definition JORServer.cpp:505
static JORServer * create()
Definition JORServer.cpp:114
void sendReset()
Definition JORServer.cpp:456
static void defSetVal(void *, u32, s32)
Definition JORServer.cpp:122
u32 field_0x10064
Definition JORServer.h:100
static JORServer * getInstance()
Definition JORServer.h:94
void hostinfo_localTime_(JSUMemoryInputStream &, JORHostInfo_CalendarTime *)
Definition JORServer.cpp:432
void readResultS32_(JSUMemoryInputStream &)
Definition JORServer.cpp:481
void readOrEvent_(JSUMemoryInputStream &)
Definition JORServer.cpp:489
ECommand
Definition JORServer.h:32
@ ECommand_GetRootObj
Definition JORServer.h:33
@ ECommand_NodeEvent
Definition JORServer.h:35
@ ECommand_HostInfo
Definition JORServer.h:41
@ ECommand_ReadResultU32
Definition JORServer.h:42
@ ECommand_PropertyEvent
Definition JORServer.h:36
@ ECommand_GenObjInfo
Definition JORServer.h:34
@ ECommand_FIO
Definition JORServer.h:37
@ ECommand_ReadResultS32
Definition JORServer.h:38
@ ECommand_DIR
Definition JORServer.h:40
@ ECommand_ReadOrEvent
Definition JORServer.h:39
void appendEventCallbackListNode(JOREventCallbackListNode *p)
Definition JORServer.h:58
void dir_browseForFolder_(JSUMemoryInputStream &, JORDir *)
Definition JORServer.cpp:393
bool m_eventDone
Definition JORServer.h:103
u32 m_eventNum
Definition JORServer.h:104
char m_rootName[64]
Definition JORServer.h:99
static JORServer * instance
Definition JORServer.h:95
JGadget::TLinkList< JOREventCallbackListNode, -4 > m_eventCallbackList
Definition JORServer.h:108
Definition JSUMemoryStream.h:11
p
Definition e_acos.c:98
Definition linklist.h:7
Definition JHIComm.h:80
Definition JHICommonMem.h:15
Definition JORServer.h:12
virtual int JORAct(u32, const char *)
u32 field_0x10
Definition JORServer.h:22
JGadget::TLinkListNode m_node
Definition JORServer.h:20
void JORAppend()
Definition JORServer.cpp:8
virtual ~JOREventCallbackListNode()
Definition JORServer.cpp:29
void JORRemove()
Definition JORServer.cpp:14
u32 field_0xc
Definition JORServer.h:21
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
static u32 message
Definition vi.c:838