Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
control.h
Go to the documentation of this file.
1#ifndef JMESSAGE_CONTROL_H
2#define JMESSAGE_CONTROL_H
3
5
6namespace JMessage {
7
12struct TControl {
13 /* 802A7548 */ TControl();
14 /* 802A758C */ virtual ~TControl();
15
16 /* 802A75D4 */ void reset();
17 /* 802A7634 */ int update();
18 /* 802A76BC */ void render();
19 /* 802A77E8 */ int setMessageCode(u16, u16);
20 /* 802A78F4 */ int setMessageID(u32, u32, bool*);
21 /* 802A7A20 */ bool setMessageCode_inSequence_(JMessage::TProcessor const*, u16, u16);
22
23 bool isReady_update_() const { return pMessageText_begin_ != 0 && pSequenceProcessor_ != NULL; }
24 bool isReady_render_() const { return field_0x20 != 0 && pRenderingProcessor_ != NULL; }
25
30
32 return setMessageCode(code >> 16, code);
33 }
34
47
48 const char* getMessageText_begin() const { return pMessageText_begin_; }
49 void* getMessageEntry() const { return pEntry_; }
63
70
73 /* 0x0C */ u16 messageCode_;
74 /* 0x0E */ u16 field_0xe;
75 /* 0x10 */ const TResource* pResourceCache_;
76 /* 0x14 */ void* pEntry_;
77 /* 0x18 */ const char* pMessageText_begin_;
78 /* 0x1C */ const char* pszText_update_current_;
79 /* 0x20 */ const char* field_0x20;
81};
82}; // namespace JMessage
83
89 /* 802299EC */ jmessage_tControl();
90
91 /* 80039B0C */ virtual ~jmessage_tControl();
92};
93
94#endif /* JMESSAGE_CONTROL_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition control.h:6
Definition control.h:12
const char * pszText_update_current_
Definition control.h:78
TProcessor * getProcessor() const
Definition control.h:26
u16 messageCode_
Definition control.h:73
bool isReady_render_() const
Definition control.h:24
void render()
Definition control.cpp:70
const char * pMessageText_begin_
Definition control.h:77
void setSequenceProcessor(TSequenceProcessor *processor)
Definition control.h:50
const char * field_0x20
Definition control.h:79
int update()
Definition control.cpp:53
virtual ~TControl()
Definition control.cpp:33
u16 field_0xe
Definition control.h:74
int setMessageCode_inReset_(TProcessor *pProcessor, u16 param_1, u16 param_2)
Definition control.h:35
bool setMessageCode_inSequence_(JMessage::TProcessor const *, u16, u16)
Definition control.cpp:102
void resetResourceCache()
Definition control.h:52
TProcessor::TStack_ oStack_renderingProcessor_
Definition control.h:80
void * pEntry_
Definition control.h:76
TSequenceProcessor * pSequenceProcessor_
Definition control.h:71
bool isReady_update_() const
Definition control.h:23
void render_synchronize()
Definition control.h:64
void * getMessageEntry() const
Definition control.h:49
int setMessageCode(u32 code)
Definition control.h:31
void setRenderingProcessor(TRenderingProcessor *processor)
Definition control.h:51
void reset()
Definition control.cpp:36
TRenderingProcessor * pRenderingProcessor_
Definition control.h:72
const char * getMessageText_begin() const
Definition control.h:48
TControl()
Definition control.cpp:27
const TResource * pResourceCache_
Definition control.h:75
int setMessageID(u32, u32, bool *)
Definition control.cpp:89
int setMessageCode(u16, u16)
Definition control.cpp:84
Definition processor.h:48
Definition processor.h:42
int setBegin_messageEntryText(const TResource *resource, const void *entry, const char *param_2)
Definition processor.h:163
void resetResourceCache()
Definition processor.h:230
TStack_ oStack_
Definition processor.h:235
Definition processor.h:329
Definition resource.h:15
Definition processor.h:245
Definition control.h:88
virtual ~jmessage_tControl()
Definition d_demo.cpp:1021
jmessage_tControl()
Definition d_msg_class.cpp:1284
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9