Match most of d_msg_string_base (#2021)

This commit is contained in:
hatal175
2024-01-03 05:37:15 +02:00
committed by GitHub
parent be10df4760
commit d5d59471ea
17 changed files with 218 additions and 541 deletions
+14
View File
@@ -56,6 +56,10 @@ struct TResource {
struct TResource_color {
TResource_color() : field_0x0(NULL), field_0x4(NULL) {}
void reset() {
field_0x0.setRaw(NULL);
field_0x4.setRaw(NULL);
}
/* 0x0 */ data::TParse_THeader field_0x0;
/* 0x4 */ data::TParse_TBlock_color field_0x4;
@@ -83,6 +87,16 @@ struct TResourceContainer {
bool isEncodingSettable(u8 e) const { return mEncodingType == e || mEncodingType == 0; }
const TCResource* getResourceContainer() const { return &resContainer_; }
void destroyResource() {
resContainer_.Clear_destroy();
}
void destroyResource_color() {
resColor_.reset();
}
void destroyResource_all() {
destroyResource();
destroyResource_color();
}
static JMessage::locale::parseCharacter_function sapfnParseCharacter_[5];