mirror of
https://github.com/zeldaret/ss
synced 2026-07-01 11:48:50 -04:00
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
#ifndef D_TEXTWINDOW_UNK_H
|
|
#define D_TEXTWINDOW_UNK_H
|
|
|
|
#include "d/d_tag_processor.h"
|
|
#include "d/lyt/d_textbox.h"
|
|
|
|
// Size 0x1554
|
|
class TextWindowUnk {
|
|
public:
|
|
TextWindowUnk(dTagProcessor_c *tagProcessor);
|
|
virtual ~TextWindowUnk() {}
|
|
|
|
void fn_800B2130(const char *, dTextBox_c *, void*, bool);
|
|
void fn_800B2AA0();
|
|
void textAdvancingRelated(bool, bool);
|
|
|
|
const wchar_t *getProcessedText() const {
|
|
return mProcessedTextBuffer;
|
|
}
|
|
|
|
u16 getField_0x147A() const {
|
|
return field_0x147A;
|
|
}
|
|
|
|
u16 getField_0x147C() const {
|
|
return field_0x147C;
|
|
}
|
|
|
|
bool checkEndReached() const;
|
|
bool checkLastLineReachedMaybe() const;
|
|
|
|
private:
|
|
/* 0x0004 */ dTagProcessor_c *mpTagProcessor;
|
|
/* 0x0008 */ wchar_t mRawTextBuffer[1023];
|
|
/* 0x0806 */ wchar_t mProcessedTextBuffer[1023];
|
|
/* 0x1004 */ wchar_t mUnkBuffer[571]; // ???
|
|
/* 0x147A */ u16 field_0x147A;
|
|
/* 0x147C */ u16 field_0x147C;
|
|
/* 0x147E */ u8 _0x147E[0x1550 - 0x147E];
|
|
/* 0x1550 */ void* field_0x1550;
|
|
};
|
|
|
|
#endif
|