mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-25 18:56:48 +00:00
asX.swfs added to recompile test, actionpanel initalization shoud be called from UI thread, other small fixes
This commit is contained in:
@@ -1079,9 +1079,9 @@ public final class SWF implements SWFContainerItem, Timelined {
|
||||
}
|
||||
|
||||
public Map<String, ASMSource> getASMs() {
|
||||
Map<String, ASMSource> asms2 = new HashMap<>();
|
||||
getASMs("", tags, asms2);
|
||||
return asms2;
|
||||
Map<String, ASMSource> asms = new HashMap<>();
|
||||
getASMs("", tags, asms);
|
||||
return asms;
|
||||
}
|
||||
|
||||
private static void getASMs(String path, List<? extends ContainerItem> items, Map<String, ASMSource> asms) {
|
||||
|
||||
@@ -16,9 +16,12 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.helpers;
|
||||
|
||||
import java.awt.*;
|
||||
import java.io.*;
|
||||
import java.awt.image.*;
|
||||
import java.awt.Component;
|
||||
import java.awt.Image;
|
||||
import java.awt.image.PixelGrabber;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Adapted from
|
||||
@@ -31,25 +34,25 @@ public class BMPFile extends Component {
|
||||
private final static int BITMAPINFOHEADER_SIZE = 40;
|
||||
//--- Private variable declaration
|
||||
//--- Bitmap file header
|
||||
private byte bitmapFileHeader[] = new byte[14];
|
||||
private byte bfType[] = {'B', 'M'};
|
||||
private final byte bitmapFileHeader[] = new byte[14];
|
||||
private final byte bfType[] = {'B', 'M'};
|
||||
private int bfSize = 0;
|
||||
private int bfReserved1 = 0;
|
||||
private int bfReserved2 = 0;
|
||||
private int bfOffBits = BITMAPFILEHEADER_SIZE + BITMAPINFOHEADER_SIZE;
|
||||
private final int bfReserved1 = 0;
|
||||
private final int bfReserved2 = 0;
|
||||
private final int bfOffBits = BITMAPFILEHEADER_SIZE + BITMAPINFOHEADER_SIZE;
|
||||
//--- Bitmap info header
|
||||
private byte bitmapInfoHeader[] = new byte[40];
|
||||
private int biSize = BITMAPINFOHEADER_SIZE;
|
||||
private final byte bitmapInfoHeader[] = new byte[40];
|
||||
private final int biSize = BITMAPINFOHEADER_SIZE;
|
||||
private int biWidth = 0;
|
||||
private int biHeight = 0;
|
||||
private int biPlanes = 1;
|
||||
private int biBitCount = 24;
|
||||
private int biCompression = 0;
|
||||
private final int biPlanes = 1;
|
||||
private final int biBitCount = 24;
|
||||
private final int biCompression = 0;
|
||||
private int biSizeImage = 0x030000;
|
||||
private int biXPelsPerMeter = 0x0;
|
||||
private int biYPelsPerMeter = 0x0;
|
||||
private int biClrUsed = 0;
|
||||
private int biClrImportant = 0;
|
||||
private final int biXPelsPerMeter = 0x0;
|
||||
private final int biYPelsPerMeter = 0x0;
|
||||
private final int biClrUsed = 0;
|
||||
private final int biClrImportant = 0;
|
||||
//--- Bitmap raw data
|
||||
private int bitmap[];
|
||||
//--- File section
|
||||
|
||||
Reference in New Issue
Block a user