mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
JMessage control OK
This commit is contained in:
@@ -52,6 +52,17 @@ struct TControl {
|
||||
const char* getMessageData(u16, u16) const;
|
||||
void reset_();
|
||||
|
||||
void getMessageCode() const {}
|
||||
void getMessageData(u32) const {}
|
||||
void getMessageEntry(u32) const {}
|
||||
void getMessageEntry(u16, u16) const {}
|
||||
void getMessageGroupID() const {}
|
||||
void getMessageIndex() const {}
|
||||
void on_isLeadByte(int) {}
|
||||
void on_word(u32) {}
|
||||
void setMessageIndex(u16) {}
|
||||
void setResourceContainer(const JMessage::TResourceContainer*) {}
|
||||
|
||||
/* 0x04 */ TResourceContainer* mResourceContainer;
|
||||
/* 0x08 */ mutable TResource* mResource;
|
||||
/* 0x0C */ TSequenceProcessor* mBaseProcSeq;
|
||||
@@ -62,8 +73,7 @@ struct TControl {
|
||||
/* 0x1C */ const char* mMessageDataStart;
|
||||
/* 0x20 */ const char* mMessageDataCurrent;
|
||||
/* 0x24 */ const char* mCurrentText;
|
||||
/* 0x28 */ void* field_0x28;
|
||||
/* 0x2C */ TProcessor::TStack_ mRenderStack;
|
||||
/* 0x28 */ TProcessor::TStack_ mRenderStack;
|
||||
};
|
||||
}; // namespace JMessage
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ public:
|
||||
inline const char* top() const { return mStack[mNum - 2]; }
|
||||
inline bool empty() const { return mNum == 0; }
|
||||
|
||||
/* 0x00 */ const char* mStack[3];
|
||||
/* 0x0C */ u32 mNum;
|
||||
/* 0x00 */ const char* mStack[4];
|
||||
/* 0x10 */ u32 mNum;
|
||||
};
|
||||
|
||||
// XXX: None of this shows up in the debug map. Is this TStatusData?
|
||||
@@ -94,7 +94,6 @@ public:
|
||||
/* 0x00 */ /* vtable */
|
||||
/* 0x04 */ TControl* mControl;
|
||||
/* 0x08 */ const char* mCurrent;
|
||||
/* 0x0C */ void* field_0x0C;
|
||||
/* 0x0C */ TStack_ mStack;
|
||||
/* 0x20 */ TProcess mProcess;
|
||||
};
|
||||
|
||||
@@ -57,8 +57,11 @@ namespace JMessage {
|
||||
void SetEncoding(u8);
|
||||
|
||||
bool IsEncodingSettable(u8 encoding) const {
|
||||
return mEncoding == encoding || encoding == 0;
|
||||
return mEncoding == encoding || mEncoding == 0;
|
||||
}
|
||||
bool IsLeadByte(int param_0) const { return mIsLeadByteFunc(param_0); }
|
||||
|
||||
void Get_groupID(u16) const {}
|
||||
|
||||
private:
|
||||
void SetEncoding_(u8);
|
||||
|
||||
Reference in New Issue
Block a user