mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 01:45:35 +00:00
Added: #2534] Create new GFX tags of type DefineExternalGradient, DefineGradientMap, ExporterInfo, FontTextureInfo, DefineExternalStreamSound
This commit is contained in:
@@ -49,7 +49,7 @@ public class FontTextureInfo extends Tag {
|
||||
|
||||
public int textureFormat;
|
||||
|
||||
public String fileName;
|
||||
public String fileName = "";
|
||||
|
||||
public int textureWidth;
|
||||
|
||||
@@ -59,9 +59,9 @@ public class FontTextureInfo extends Tag {
|
||||
|
||||
public int nominalGlyphSz;
|
||||
|
||||
public TEXGLYPH[] texGlyphs;
|
||||
public TEXGLYPH[] texGlyphs = new TEXGLYPH[0];
|
||||
|
||||
public FONTINFO[] fonts;
|
||||
public FONTINFO[] fonts = new FONTINFO[0];
|
||||
|
||||
/**
|
||||
* Gets data bytes
|
||||
@@ -142,15 +142,15 @@ public class FontTextureInfo extends Tag {
|
||||
@Override
|
||||
public Map<String, String> getNameProperties() {
|
||||
Map<String, String> ret = super.getNameProperties();
|
||||
ret.put("chid", "" + getUniqueId());
|
||||
ret.put("tid", "" + getUniqueId());
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUniqueId() {
|
||||
if (idType == IdType.IDTYPE_NONE) {
|
||||
/*if (idType == IdType.IDTYPE_NONE) {
|
||||
return super.getUniqueId();
|
||||
}
|
||||
}*/
|
||||
return "ft" + textureID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user