Scene
This commit is contained in:
1 parent
a4bb24e7e6
commit
626e6395ea
29 files changed
+3105
-2863
No files matched your search
@@ -4,7 +4,7 @@
|
||||
|
||||
public class LocEntity extends Entity {
|
||||
|
||||
public static Game aGame1609;
|
||||
public static Game game;
|
||||
public final int[] anIntArray1600;
|
||||
public final int anInt1601;
|
||||
public final int anInt1602;
|
||||
@@ -32,8 +32,8 @@ public class LocEntity extends Entity {
|
||||
anInt1599 = 0;
|
||||
anInt1608 = Game.loopCycle;
|
||||
if (flag && (aType_1607.anInt356 != -1)) {
|
||||
anInt1599 = (int) (Math.random() * (double) aType_1607.anInt352);
|
||||
anInt1608 -= (int) (Math.random() * (double) aType_1607.method258(anInt1599));
|
||||
anInt1599 = (int) (Math.random() * (double) aType_1607.frameCount);
|
||||
anInt1608 -= (int) (Math.random() * (double) aType_1607.getFrameDelay(anInt1599));
|
||||
}
|
||||
}
|
||||
LocType type = LocType.method572(anInt1610);
|
||||
@@ -50,14 +50,14 @@ public class LocEntity extends Entity {
|
||||
if ((k > 100) && (aType_1607.anInt356 > 0)) {
|
||||
k = 100;
|
||||
}
|
||||
while (k > aType_1607.method258(anInt1599)) {
|
||||
k -= aType_1607.method258(anInt1599);
|
||||
while (k > aType_1607.getFrameDelay(anInt1599)) {
|
||||
k -= aType_1607.getFrameDelay(anInt1599);
|
||||
anInt1599++;
|
||||
if (anInt1599 < aType_1607.anInt352) {
|
||||
if (anInt1599 < aType_1607.frameCount) {
|
||||
continue;
|
||||
}
|
||||
anInt1599 -= aType_1607.anInt356;
|
||||
if ((anInt1599 >= 0) && (anInt1599 < aType_1607.anInt352)) {
|
||||
if ((anInt1599 >= 0) && (anInt1599 < aType_1607.frameCount)) {
|
||||
continue;
|
||||
}
|
||||
aType_1607 = null;
|
||||
@@ -65,7 +65,7 @@ public class LocEntity extends Entity {
|
||||
}
|
||||
anInt1608 = Game.loopCycle - k;
|
||||
if (aType_1607 != null) {
|
||||
j = aType_1607.anIntArray353[anInt1599];
|
||||
j = aType_1607.primaryFrames[anInt1599];
|
||||
}
|
||||
}
|
||||
LocType type;
|
||||
@@ -84,14 +84,14 @@ public class LocEntity extends Entity {
|
||||
public LocType method457() {
|
||||
int i = -1;
|
||||
if (anInt1601 != -1) {
|
||||
VarbitType varbit = VarbitType.aVarbitArray646[anInt1601];
|
||||
int k = varbit.anInt648;
|
||||
int l = varbit.anInt649;
|
||||
int i1 = varbit.anInt650;
|
||||
int j1 = Game.anIntArray1232[i1 - l];
|
||||
i = (aGame1609.anIntArray971[k] >> l) & j1;
|
||||
VarbitType varbit = VarbitType.instances[anInt1601];
|
||||
int k = varbit.varp;
|
||||
int l = varbit.lsb;
|
||||
int i1 = varbit.msb;
|
||||
int j1 = Game.BITMASK[i1 - l];
|
||||
i = (game.anIntArray971[k] >> l) & j1;
|
||||
} else if (anInt1602 != -1) {
|
||||
i = aGame1609.anIntArray971[anInt1602];
|
||||
i = game.anIntArray971[anInt1602];
|
||||
}
|
||||
if ((i < 0) || (i >= anIntArray1600.length) || (anIntArray1600[i] == -1)) {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user