📄 b.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
package kof;
import I.I;
import com.nokia.mid.ui.FullCanvas;
import java.io.PrintStream;
import javax.microedition.lcdui.*;
// Referenced classes of package kof:
// Kof, C
public class B extends FullCanvas
implements Runnable
{
Image append;
Image createImage;
String currentTimeMillis;
int destroyApp[];
public static byte I = -1;
static byte drawImage = -1;
Image fillRect;
Thread gc;
boolean getGameAction;
boolean getGraphics;
boolean getHeight;
int getWidth;
int length;
boolean out;
int printStackTrace;
int println;
int repaint;
int serviceRepaints;
int setClip;
int setColor;
int sleep;
int start;
int toLowerCase;
int toString;
int Z;
int C;
Graphics B;
int D;
boolean F;
int J;
private int S[] = {
0, getWidth(), getWidth(), 0
};
private int A[] = {
0, 0, getHeight(), getHeight()
};
short E[];
int G;
int H;
int K;
boolean L;
boolean M;
int N;
int O;
int P;
static byte Q = 0;
int R;
int T;
Graphics U;
int V[][] = {
{
2, 4
}, {
2, 4
}, {
2, 4
}, {
2, 4
}
};
int W;
int X;
int Y;
int i;
boolean z;
public boolean c;
boolean b;
boolean d;
boolean f;
int j;
B()
{
append = null;
createImage = null;
currentTimeMillis = null;
destroyApp = null;
fillRect = Image.createImage(getWidth(), getHeight());
gc = null;
getGameAction = false;
getGraphics = false;
getHeight = false;
getWidth = 0;
length = 0;
out = false;
printStackTrace = 0;
println = 0;
repaint = 0;
serviceRepaints = 0;
setClip = -1;
setColor = 20;
sleep = 40;
start = 60;
toLowerCase = 80;
toString = 100;
Z = 120;
C = 140;
B = null;
D = 0;
F = false;
J = 190;
E = null;
G = 0;
H = 0;
K = 0;
L = false;
M = false;
N = 255;
O = 0;
P = 110;
R = 0;
T = 0;
U = null;
W = 0;
X = 0;
Y = 0;
i = 0;
z = false;
c = false;
b = true;
d = true;
f = true;
j = 0;
try
{
createImage = Image.createImage("/BulletPoint.png");
U = fillRect.getGraphics();
}
catch(Exception exception)
{
System.out.println("Cursor " + exception);
}
}
public final void run()
{
if(!getGameAction)
try
{
d = true;
append();
repaint();
try
{
Thread.sleep(3000L);
}
catch(Exception exception) { }
append = Image.createImage(getWidth(), getHeight());
B = append.getGraphics();
B.setColor(0xffffff);
repaint();
System.gc();
createImage();
repaint();
try
{
Thread.sleep(3000L);
}
catch(Exception exception1)
{
System.out.println("Exception e: " + exception1);
}
currentTimeMillis();
repaint();
try
{
Thread.sleep(3000L);
}
catch(Exception exception2)
{
System.out.println("Exception e: " + exception2);
}
L = true;
M = true;
if(!L)
{
append = Image.createImage("/splash2.png");
repaint();
} else
{
d = false;
F = true;
repaint();
serviceRepaints();
}
}
catch(Throwable throwable)
{
System.out.println("Exception e: " + throwable);
}
else
while(getGameAction)
{
X++;
if(X > V[Y].length - 1)
X = 0;
W = V[Y][X];
repaint();
try
{
Thread.sleep(2000L);
}
catch(Exception exception3)
{
System.out.println("Exception e: " + exception3);
}
}
}
public final void append()
{
try
{
if(append != null)
{
B.setColor(255, 255, 255);
B.fillRect(0, 0, getWidth(), getHeight());
}
append = Image.createImage("/dbi_colour.png");
z = true;
}
catch(Exception exception)
{
System.out.println("Exception e: " + exception);
}
}
public final void createImage()
{
try
{
append = Image.createImage("/snk_logo.png");
}
catch(Exception exception)
{
System.out.println("Exception e: " + exception);
}
}
public final void currentTimeMillis()
{
try
{
append = Image.createImage("/splash.png");
}
catch(Exception exception)
{
System.out.println("Exception e: " + exception);
}
}
public final void destroyApp(Graphics g)
{
int k = sleep - setColor;
int l = setColor + Q * k;
g.setClip(0, 0, getWidth(), getHeight());
g.drawImage(createImage, 25, l + 7, 3);
g.drawImage(createImage, 156, l + 7, 3);
}
public final void drawImage(Graphics g)
{
try
{
I = 0;
drawImage = -1;
Kof.C.I(g, "Elige juego", (getWidth() - "Elige juego".length() * Kof.C.I) / 2, setColor, 20);
Kof.C.I(g, "Modo normal", (getWidth() - "Modo normal".length() * Kof.C.I) / 2, start, 20);
R = 1;
if(Kof.S >= 1)
{
R = 2;
Kof.C.I(g, "Modo doble", (getWidth() - "Modo doble".length() * Kof.C.I) / 2, toLowerCase, 20);
} else
{
Kof.C.I(g, "???", (getWidth() - "???".length() * Kof.C.I) / 2, toLowerCase, 20);
}
setColor(g, true, true);
T = 2;
destroyApp(g);
}
catch(Throwable throwable) { }
}
public final void fillRect(Graphics g)
{
Kof.C.I(g, "ELIGE H\311ROE", (getWidth() - "ELIGE H\311ROE".length() * Kof.C.I) / 2, setColor, 20);
if(setClip == 0)
Kof.C.I(g, "Elegido", (getWidth() - "Elegido".length() * Kof.C.I) / 2, start, 20);
else
Kof.C.I(g, "Kyo", (getWidth() - "Kyo".length() * Kof.C.I) / 2, start, 20);
if(setClip == 1)
Kof.C.I(g, "Elegido", (getWidth() - "Elegido".length() * Kof.C.I) / 2, toLowerCase, 20);
else
Kof.C.I(g, "Athena", (getWidth() - "Athena".length() * Kof.C.I) / 2, toLowerCase, 20);
if(setClip == 2)
Kof.C.I(g, "Elegido", (getWidth() - "Elegido".length() * Kof.C.I) / 2, toString, 20);
else
Kof.C.I(g, "Mai", (getWidth() - "Mai".length() * Kof.C.I) / 2, toString, 20);
if(setClip == 3)
Kof.C.I(g, "Elegido", (getWidth() - "Elegido".length() * Kof.C.I) / 2, Z, 20);
else
Kof.C.I(g, "Terry", (getWidth() - "Terry".length() * Kof.C.I) / 2, Z, 20);
T = 2;
R = 4;
byte byte0 = 0;
switch(Q)
{
case 2: // '\002'
byte0 = 0;
break;
case 3: // '\003'
byte0 = 1;
break;
case 4: // '\004'
byte0 = 2;
break;
case 5: // '\005'
byte0 = 3;
break;
}
getGameAction(g, byte0);
destroyApp(g);
setColor(g, true, true);
}
public final void gc(Graphics g)
{
Kof.C.I(g, "ELIGE H\311ROE", (getWidth() - "ELIGE H\311ROE".length() * Kof.C.I) / 2, setColor, 20);
Kof.C.I(g, "Kyo", (getWidth() - "Kyo".length() * Kof.C.I) / 2, start, 20);
Kof.C.I(g, "Athena", (getWidth() - "Athena".length() * Kof.C.I) / 2, toLowerCase, 20);
R = 2;
if(Kof.A >= 1 && Kof.J >= 1)
{
Kof.C.I(g, "Mai", (getWidth() - "Mai".length() * Kof.C.I) / 2, toString, 20);
R = 3;
} else
{
Kof.C.I(g, "???", (getWidth() - "???".length() * Kof.C.I) / 2, toString, 20);
}
if(Kof.F >= 1)
{
Kof.C.I(g, "Terry", (getWidth() - "Terry".length() * Kof.C.I) / 2, Z, 20);
R = 4;
} else
{
Kof.C.I(g, "???", (getWidth() - "???".length() * Kof.C.I) / 2, Z, 20);
}
T = 2;
byte byte0 = 0;
switch(Q)
{
case 2: // '\002'
byte0 = 0;
break;
case 3: // '\003'
byte0 = 1;
break;
case 4: // '\004'
byte0 = 2;
break;
case 5: // '\005'
byte0 = 3;
break;
}
getGameAction(g, byte0);
destroyApp(g);
setColor(g, true, true);
}
private final void getGameAction(Graphics g, int k)
{
try
{
Y = k;
String s = "/KOF_" + Kof.N.D[k].toLowerCase() + "_50x50.png";
C.N[k][0] = kof.C.I(s);
kof.C.I(g, C.N[k][0], 50, 50, (6 - W % 7) * 50, (W / 7) * 50, getWidth() / 2 - 25, getHeight() - 20 - 50, 0);
}
catch(Exception exception)
{
System.out.println("Exception e: " + exception);
}
}
public final void getGraphics(Graphics g)
{
try
{
getWidth = 0;
length = 0;
j = 0;
getGraphics = false;
if(!c)
{
kof.Kof.I(C.h, 1);
c = true;
}
I = -1;
Kof.C.I(g, "Jugar", (getWidth() - "Jugar".length() * Kof.C.I) / 2, setColor, 20);
Kof.C.I(g, "Config.", (getWidth() - "Config.".length() * Kof.C.I) / 2, sleep, 20);
Kof.C.I(g, "Records", (getWidth() - "Records".length() * Kof.C.I) / 2, start, 20);
Kof.C.I(g, "Ayuda", (getWidth() - "Ayuda".length() * Kof.C.I) / 2, toLowerCase, 20);
Kof.C.I(g, "CR\311DITOS", (getWidth() - "CR\311DITOS".length() * Kof.C.I) / 2, toString, 20);
Kof.C.I(g, "Acerca de", (getWidth() - "Acerca de".length() * Kof.C.I) / 2, Z, 20);
Kof.C.I(g, "Salir", (getWidth() - "Salir".length() * Kof.C.I) / 2, C, 20);
R = 7;
T = 0;
destroyApp(g);
setColor(g, true, false);
}
catch(Throwable throwable) { }
}
public final void getHeight(Graphics g)
{
try
{
Kof.C.I(g, "Mai " + Kof.F, (getWidth() - ("Mai " + Kof.F).length() * Kof.C.I) / 2, setColor, 20);
Kof.C.I(g, "Athena " + Kof.J, (getWidth() - ("Athena " + Kof.J).length() * Kof.C.I) / 2, sleep, 20);
Kof.C.I(g, "Terry " + Kof.S, (getWidth() - ("Terry " + Kof.S).length() * Kof.C.I) / 2, start, 20);
Kof.C.I(g, "Kyo " + Kof.A, (getWidth() - ("Kyo " + Kof.A).length() * Kof.C.I) / 2, toLowerCase, 20);
Kof.C.I(g, "Rest.", (getWidth() - "Rest.".length() * Kof.C.I) / 2, C, 20);
Q = 6;
destroyApp(g);
setColor(g, true, true);
}
catch(Throwable throwable) { }
}
public final void getWidth(Graphics g)
{
try
{
Kof.C.I(g, "\277Elim. record?", (getWidth() - "\277Elim. record?".length() * Kof.C.I) / 2, start, 20);
sleep(g, "NO", "S\315", true, true);
}
catch(Throwable throwable) { }
}
public final void length(Graphics g)
{
try
{
Kof.C.I(g, "\277SALIR?", (getWidth() - "\277SALIR?".length() * Kof.C.I) / 2, start, 20);
sleep(g, "NO", "S\315", true, true);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -