Fixed major issues when exporting DKCR

This commit is contained in:
Aruki
2017-05-14 01:48:47 -06:00
parent 7f18a33fae
commit b45eaae106
7 changed files with 60 additions and 33 deletions

View File

@@ -72,6 +72,7 @@ public:
TString TagName = rkStr.SubString(TagIdx + 1, NameEnd - TagIdx - 1);
TString ParamString = rkStr.SubString(NameEnd + 1, TagEnd - NameEnd - 1);
if (ParamString.IsEmpty()) continue;
// Font
if (TagName == "font")
@@ -103,6 +104,9 @@ public:
else if (ImageType == "SA")
TexturesStart = 4;
else if (ImageType == "B")
TexturesStart = 2;
else if (ImageType.IsHexString(false, IDLength * 2))
TexturesStart = 0;