mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 10:47:16 +00:00
Spelling fix
This commit is contained in:
@@ -21,9 +21,7 @@ import com.jpexs.decompiler.graph.GraphSourceItem;
|
||||
import com.jpexs.decompiler.graph.SecondPassData;
|
||||
import com.jpexs.helpers.Reference;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
@@ -64,7 +62,7 @@ public abstract class BaseLocalData {
|
||||
public Reference<Integer> maxTempIndex = new Reference<>(0);
|
||||
|
||||
/**
|
||||
* Wheter goto statements were used
|
||||
* Whether goto statements were used
|
||||
*/
|
||||
public Reference<Boolean> gotosUsed = new Reference<>(false);
|
||||
|
||||
|
||||
@@ -106,19 +106,19 @@ public class FontNormalizer {
|
||||
|
||||
for (TextTag text : texts.values()) {
|
||||
if (text instanceof DefineEditTextTag) {
|
||||
DefineEditTextTag detext = (DefineEditTextTag) text;
|
||||
fontIds.addAll(getDefineEditTextFonts(detext));
|
||||
DefineEditTextTag defineEditText = (DefineEditTextTag) text;
|
||||
fontIds.addAll(getDefineEditTextFonts(defineEditText));
|
||||
}
|
||||
|
||||
if (text instanceof StaticTextTag) {
|
||||
StaticTextTag stext = (StaticTextTag) text;
|
||||
StaticTextTag staticText = (StaticTextTag) text;
|
||||
boolean inverted = false;
|
||||
if (stext.textMatrix != null) {
|
||||
if (stext.textMatrix.scaleY < 0) {
|
||||
if (staticText.textMatrix != null) {
|
||||
if (staticText.textMatrix.scaleY < 0) {
|
||||
inverted = true;
|
||||
}
|
||||
}
|
||||
for (TEXTRECORD rec : stext.textRecords) {
|
||||
for (TEXTRECORD rec : staticText.textRecords) {
|
||||
if (rec.styleFlagsHasFont) {
|
||||
if (inverted) {
|
||||
invertedFontIds.add(rec.fontId);
|
||||
|
||||
@@ -342,7 +342,7 @@ public class SWFOutputStream extends OutputStream {
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes FIXED (Fixed point 16.16) igned value to the stream.
|
||||
* Writes FIXED (Fixed point 16.16) signed value to the stream.
|
||||
*
|
||||
* @param value FIXED value
|
||||
* @throws IOException On I/O error
|
||||
|
||||
@@ -259,9 +259,9 @@ public class FrameExporter {
|
||||
int max = subFrameMode ? subframeLength : fframes.size();
|
||||
|
||||
int fframe = subFrameMode ? fframes.get(0) : fframes.get(pos++);
|
||||
RECT diplayRect = tim.getDisplayRectWithFilters();
|
||||
int realAaScale = Configuration.calculateRealAaScale(diplayRect.getWidth(), diplayRect.getHeight(), settings.zoom, settings.aaScale);
|
||||
BufferedImage result = SWF.frameToImageGet(tim, fframe, subFrameMode ? pos++ : 0, null, 0, diplayRect, new Matrix(), null, backgroundColor == null && !usesTransparency ? Color.white : backgroundColor, settings.zoom, true, realAaScale).getBufferedImage();
|
||||
RECT displayRect = tim.getDisplayRectWithFilters();
|
||||
int realAaScale = Configuration.calculateRealAaScale(displayRect.getWidth(), displayRect.getHeight(), settings.zoom, settings.aaScale);
|
||||
BufferedImage result = SWF.frameToImageGet(tim, fframe, subFrameMode ? pos++ : 0, null, 0, displayRect, new Matrix(), null, backgroundColor == null && !usesTransparency ? Color.white : backgroundColor, settings.zoom, true, realAaScale).getBufferedImage();
|
||||
if (CancellableWorker.isInterrupted()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -1982,9 +1982,9 @@ public class Timeline {
|
||||
int mtime = time + layer.time;
|
||||
|
||||
int dframe = 0;
|
||||
int dnumFrames = drawable.getNumFrames();
|
||||
if (dnumFrames > 0) { //sprites with empty timeline have zero frames
|
||||
dframe = mtime % dnumFrames;
|
||||
int drawableNumFrames = drawable.getNumFrames();
|
||||
if (drawableNumFrames > 0) { //sprites with empty timeline have zero frames
|
||||
dframe = mtime % drawableNumFrames;
|
||||
}
|
||||
int dtime = mtime - dframe;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user