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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
/* */ package NET.worlds.scape;
/* */
/* */ import NET.worlds.console.Gamma;
/* */ import NET.worlds.console.Main;
/* */ import NET.worlds.console.MainCallback;
/* */ import NET.worlds.console.ProgressBar;
/* */ import NET.worlds.core.Std;
/* */ import java.util.Vector;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class DroneAnimator
/* */ implements MainCallback
/* */ {
/* */ public static final int INVALID_INDEX = -1;
/* */ private static Vector<Integer> deltypeList;
/* */
/* */ static
/* */ {
/* 30 */ init(".");
/* 31 */ if (Gamma.loadProgress != null) {
/* 32 */ Gamma.loadProgress.setMessage("Loading avatar definitions...");
/* 33 */ Gamma.loadProgress.advance();
/* */ }
/* */
/* */
/* 37 */ loadconfig(PendingCacheDrone.getAvatarDatPath());
/* */ }
/* */
/* */
/* */
/* */
/* */ public static native void init(String paramString);
/* */
/* */
/* */
/* */
/* */ public static native void loadconfig(String paramString);
/* */
/* */
/* */
/* */ public static native int getnameindex(String paramString);
/* */
/* */
/* */
/* */ public static native String getindexgeom(int paramInt);
/* */
/* */
/* */
/* */ public static native void prepFigure(WObject paramWObject, boolean paramBoolean);
/* */
/* */
/* */
/* */ public static native void addtype(int paramInt);
/* */
/* */
/* */
/* */ public static native void deltype(int paramInt);
/* */
/* */
/* */
/* */ public void delayedDeltype(int type)
/* */ {
/* 74 */ if (deltypeList == null) {
/* 75 */ deltypeList = new Vector();
/* 76 */ Main.register(this);
/* */ }
/* */
/* 79 */ deltypeList.addElement(new Integer(type));
/* 80 */ deltypeList.addElement(new Integer(Std.getFastTime()));
/* */ }
/* */
/* */ public void mainCallback()
/* */ {
/* 85 */ int eraseTime = Std.getFastTime() - 20000;
/* 86 */ while (deltypeList.size() > 1) {
/* 87 */ int nextTime = ((Integer)deltypeList.elementAt(1)).intValue();
/* 88 */ if (nextTime > eraseTime)
/* */ break;
/* 90 */ int type = ((Integer)deltypeList.elementAt(0)).intValue();
/* 91 */ deltype(type);
/* 92 */ deltypeList.removeElementAt(0);
/* 93 */ deltypeList.removeElementAt(0);
/* */ }
/* */ }
/* */
/* */
/* */
/* */
/* */ public DroneAnimator()
/* */ {
/* 102 */ this._rep = CreateRep();
/* */ }
/* */
/* */ public void finalize() throws Throwable {
/* 106 */ DestroyRep(this._rep);
/* 107 */ super.finalize();
/* */ }
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* 150 */ protected int _rep = 0;
/* */
/* */ public native void endanimations();
/* */
/* */ public native void moveto(int paramInt1, short paramShort1, short paramShort2, short paramShort3, short paramShort4, int paramInt2);
/* */
/* */ public native void moveby(int paramInt1, short paramShort1, short paramShort2, short paramShort3, int paramInt2);
/* */
/* */ public native void update(WObject paramWObject1, WObject paramWObject2, int paramInt, float paramFloat, boolean paramBoolean);
/* */
/* */ public native float animate(int paramInt1, String paramString, int paramInt2);
/* */
/* */ public native float getAnimationTime(int paramInt, String paramString);
/* */
/* */ public static synchronized native Vector<String> getActionList(int paramInt);
/* */
/* */ protected static native int CreateRep();
/* */
/* */ protected static native void DestroyRep(int paramInt);
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\DroneAnimator.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|