mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 08:39:04 +00:00
Make project setup easier with Maven (#411)
* Remove a bunch of .ideas and class files to see if it makes the setup easier * remove some .idea's and imkls * Remove a ton of .class files * [TASK] Switched to maven instead of gradle * [TASK] Added target to gitignore * Remove ignored files * [TASK] Fixed file_server source * [TASK] Fixed client source * [BUGFIX] Main Class * [BUGFIX] Fixed SLF4J * [TASK] Server Libs cleanup * Update setup guide/debug * Maven cli compile instructions * [TASK] Jar building * Update runServer and runFileServer.sh Co-authored-by: Sandro Coutinho <sandro@farrelltech.org>
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public final class NPC extends Entity {
|
||||
|
||||
private Model method450() {
|
||||
if (super.anim >= 0 && super.anInt1529 == 0) {
|
||||
int k = Animation.anims[super.anim].anIntArray353[super.anInt1527];
|
||||
int i1 = -1;
|
||||
if (super.anInt1517 >= 0 && super.anInt1517 != super.anInt1511) {
|
||||
i1 = Animation.anims[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return desc.method164(i1, k, Animation.anims[super.anim].anIntArray357);
|
||||
}
|
||||
int l = -1;
|
||||
if (super.anInt1517 >= 0) {
|
||||
l = Animation.anims[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return desc.method164(-1, l, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model getRotatedModel() {
|
||||
if (desc == null) {
|
||||
return null;
|
||||
}
|
||||
Model model = method450();
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
super.height = model.modelHeight;
|
||||
if (super.anInt1520 != -1 && super.anInt1521 != -1) {
|
||||
SpotAnim spotAnim = SpotAnim.cache[super.anInt1520];
|
||||
Model model_1 = spotAnim.getModel();
|
||||
if (model_1 != null) {
|
||||
int j = spotAnim.aAnimation_407.anIntArray353[super.anInt1521];
|
||||
Model model_2 = new Model(true, Class36.method532(j), false, model_1);
|
||||
model_2.method475(0, -super.anInt1524, 0);
|
||||
model_2.method469();
|
||||
model_2.method470(j);
|
||||
model_2.anIntArrayArray1658 = null;
|
||||
model_2.anIntArrayArray1657 = null;
|
||||
if (spotAnim.anInt410 != 128 || spotAnim.anInt411 != 128) {
|
||||
model_2.method478(spotAnim.anInt410, spotAnim.anInt410, spotAnim.anInt411);
|
||||
}
|
||||
model_2.method479(64 + spotAnim.anInt413, 850 + spotAnim.anInt414, -30, -50, -30, true);
|
||||
Model aModel[] = {model, model_2};
|
||||
model = new Model(aModel);
|
||||
}
|
||||
}
|
||||
if (desc.aByte68 == 1) {
|
||||
model.aBoolean1659 = true;
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisible() {
|
||||
return desc != null;
|
||||
}
|
||||
|
||||
NPC() {
|
||||
}
|
||||
|
||||
public EntityDef desc;
|
||||
}
|
||||
Reference in New Issue
Block a user