mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-21 06:55:37 +00:00
read fix - hdr problems
This commit is contained in:
@@ -620,23 +620,23 @@ public class IggyFile implements StructureInterface {
|
||||
}
|
||||
|
||||
public long getSwfXMin(int swfIndex) {
|
||||
return headers.get(swfIndex).getXMin();
|
||||
return iggySwfs.get(swfIndex).getHdr().getXMin();
|
||||
}
|
||||
|
||||
public long getSwfYMin(int swfIndex) {
|
||||
return headers.get(swfIndex).getYMin();
|
||||
return iggySwfs.get(swfIndex).getHdr().getYMin();
|
||||
}
|
||||
|
||||
public long getSwfXMax(int swfIndex) {
|
||||
return headers.get(swfIndex).getXMax();
|
||||
return iggySwfs.get(swfIndex).getHdr().getXMax();
|
||||
}
|
||||
|
||||
public long getSwfYMax(int swfIndex) {
|
||||
return headers.get(swfIndex).getYMax();
|
||||
return iggySwfs.get(swfIndex).getHdr().getYMax();
|
||||
}
|
||||
|
||||
public float getSwfFrameRate(int swfIndex) {
|
||||
return headers.get(swfIndex).getFrameRate();
|
||||
return iggySwfs.get(swfIndex).getHdr().getFrameRate();
|
||||
}
|
||||
|
||||
//WIP
|
||||
|
||||
@@ -41,6 +41,10 @@ public class IggySwf implements StructureInterface {
|
||||
private List<Long> font_add_off = new ArrayList<>();
|
||||
private List<Long> font_add_size = new ArrayList<>();
|
||||
|
||||
public IggyFlashHeader64 getHdr() {
|
||||
return hdr;
|
||||
}
|
||||
|
||||
public void replaceFontTag(int fontIndex, IggyFont newFont) throws IOException {
|
||||
long newLen;
|
||||
byte newData[];
|
||||
|
||||
Reference in New Issue
Block a user