-
Notifications
You must be signed in to change notification settings - Fork 0
/
Animable_Sub3.java
executable file
·80 lines (74 loc) · 2.19 KB
/
Animable_Sub3.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
final class Animable_Sub3 extends Animable {
public Animable_Sub3(int i, int j, int l, int i1, int j1, int k1,
int l1)
{
aBoolean1567 = false;
aSpotAnim_1568 = SpotAnim.cache[i1];
anInt1560 = i;
anInt1561 = l1;
anInt1562 = k1;
anInt1563 = j1;
anInt1564 = j + l;
aBoolean1567 = false;
}
public Model getRotatedModel()
{
Model model = aSpotAnim_1568.getModel();
if(model == null)
return null;
int j = aSpotAnim_1568.aAnimation_407.anIntArray353[anInt1569];
Model model_1 = new Model(true, Class36.method532(j), false, model);
if(!aBoolean1567)
{
model_1.method469();
model_1.method470(j);
model_1.anIntArrayArray1658 = null;
model_1.anIntArrayArray1657 = null;
}
if(aSpotAnim_1568.anInt410 != 128 || aSpotAnim_1568.anInt411 != 128)
model_1.method478(aSpotAnim_1568.anInt410, aSpotAnim_1568.anInt410, aSpotAnim_1568.anInt411);
if(aSpotAnim_1568.anInt412 != 0)
{
if(aSpotAnim_1568.anInt412 == 90)
model_1.method473();
if(aSpotAnim_1568.anInt412 == 180)
{
model_1.method473();
model_1.method473();
}
if(aSpotAnim_1568.anInt412 == 270)
{
model_1.method473();
model_1.method473();
model_1.method473();
}
}
model_1.method479(64 + aSpotAnim_1568.anInt413, 850 + aSpotAnim_1568.anInt414, -30, -50, -30, true);
return model_1;
}
public void method454(int i)
{
for(anInt1570 += i; anInt1570 > aSpotAnim_1568.aAnimation_407.method258(anInt1569);)
{
anInt1570 -= aSpotAnim_1568.aAnimation_407.method258(anInt1569) + 1;
anInt1569++;
if(anInt1569 >= aSpotAnim_1568.aAnimation_407.anInt352 && (anInt1569 < 0 || anInt1569 >= aSpotAnim_1568.aAnimation_407.anInt352))
{
anInt1569 = 0;
aBoolean1567 = true;
}
}
}
public final int anInt1560;
public final int anInt1561;
public final int anInt1562;
public final int anInt1563;
public final int anInt1564;
public boolean aBoolean1567;
private final SpotAnim aSpotAnim_1568;
private int anInt1569;
private int anInt1570;
}