Skip to content

Commit

Permalink
runescape-client: export addBoundary
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed May 10, 2018
1 parent c408a49 commit ae16d9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions runescape-client/src/main/java/PacketBuffer.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static final void addObject(int var0, int var1, int var2, int var3, int var4, in
var22 = new DynamicObject(var3, 0, var4, var0, var1, var2, var8.animationId, true, (Renderable)null);
}

var6.method2909(var0, var1, var2, var16, (Renderable)var22, (Renderable)null, class50.field454[var4], 0, var19, var21);
var6.addBoundary(var0, var1, var2, var16, (Renderable)var22, (Renderable)null, class50.field454[var4], 0, var19, var21);
if(var4 == 0) {
if(var8.clipped) {
class50.field449[var0][var1][var2] = 50;
Expand Down Expand Up @@ -303,7 +303,7 @@ static final void addObject(int var0, int var1, int var2, int var3, int var4, in
var22 = new DynamicObject(var3, 1, var4, var0, var1, var2, var8.animationId, true, (Renderable)null);
}

var6.method2909(var0, var1, var2, var16, (Renderable)var22, (Renderable)null, class50.field453[var4], 0, var19, var21);
var6.addBoundary(var0, var1, var2, var16, (Renderable)var22, (Renderable)null, class50.field453[var4], 0, var19, var21);
if(var8.clipped) {
if(var4 == 0) {
class50.field449[var0][var1][var2 + 1] = 50;
Expand Down Expand Up @@ -334,7 +334,7 @@ static final void addObject(int var0, int var1, int var2, int var3, int var4, in
var30 = new DynamicObject(var3, 2, var28, var0, var1, var2, var8.animationId, true, (Renderable)null);
}

var6.method2909(var0, var1, var2, var16, (Renderable)var29, (Renderable)var30, class50.field454[var4], class50.field454[var28], var19, var21);
var6.addBoundary(var0, var1, var2, var16, (Renderable)var29, (Renderable)var30, class50.field454[var4], class50.field454[var28], var19, var21);
if(var8.modelClipped) {
if(var4 == 0) {
MouseRecorder.field534[var0][var1][var2] |= 585;
Expand Down Expand Up @@ -366,7 +366,7 @@ static final void addObject(int var0, int var1, int var2, int var3, int var4, in
var22 = new DynamicObject(var3, 3, var4, var0, var1, var2, var8.animationId, true, (Renderable)null);
}

var6.method2909(var0, var1, var2, var16, (Renderable)var22, (Renderable)null, class50.field453[var4], 0, var19, var21);
var6.addBoundary(var0, var1, var2, var16, (Renderable)var22, (Renderable)null, class50.field453[var4], 0, var19, var21);
if(var8.clipped) {
if(var4 == 0) {
class50.field449[var0][var1][var2 + 1] = 50;
Expand Down
3 changes: 2 additions & 1 deletion runescape-client/src/main/java/Region.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ public void addItemPile(int var1, int var2, int var3, int var4, Renderable var5,
@ObfuscatedSignature(
signature = "(IIIILdz;Ldz;IIJI)V"
)
public void method2909(int var1, int var2, int var3, int var4, Renderable var5, Renderable var6, int var7, int var8, long var9, int var11) {
@Export("addBoundary")
public void addBoundary(int var1, int var2, int var3, int var4, Renderable var5, Renderable var6, int var7, int var8, long var9, int var11) {
if(var5 != null || var6 != null) {
WallObject var12 = new WallObject();
var12.hash = var9;
Expand Down
8 changes: 4 additions & 4 deletions runescape-client/src/main/java/class24.java
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ static final void method459(int var0, int var1, int var2, int var3, int var4, in
var29 = new DynamicObject(var4, 0, var5, var12, var2, var3, var15.animationId, true, (Renderable)null);
}

var42.method2909(var0, var2, var3, var23, (Renderable)var29, (Renderable)null, class50.field454[var5], 0, var26, var28);
var42.addBoundary(var0, var2, var3, var23, (Renderable)var29, (Renderable)null, class50.field454[var5], 0, var26, var28);
if(var15.clipType != 0) {
var14.removeWall(var2, var3, var6, var5, var15.blocksProjectile);
}
Expand All @@ -709,7 +709,7 @@ static final void method459(int var0, int var1, int var2, int var3, int var4, in
var29 = new DynamicObject(var4, 1, var5, var12, var2, var3, var15.animationId, true, (Renderable)null);
}

var42.method2909(var0, var2, var3, var23, (Renderable)var29, (Renderable)null, class50.field453[var5], 0, var26, var28);
var42.addBoundary(var0, var2, var3, var23, (Renderable)var29, (Renderable)null, class50.field453[var5], 0, var26, var28);
if(var15.clipType != 0) {
var14.removeWall(var2, var3, var6, var5, var15.blocksProjectile);
}
Expand All @@ -727,7 +727,7 @@ static final void method459(int var0, int var1, int var2, int var3, int var4, in
var31 = new DynamicObject(var4, 2, var35, var12, var2, var3, var15.animationId, true, (Renderable)null);
}

var42.method2909(var0, var2, var3, var23, (Renderable)var30, (Renderable)var31, class50.field454[var5], class50.field454[var35], var26, var28);
var42.addBoundary(var0, var2, var3, var23, (Renderable)var30, (Renderable)var31, class50.field454[var5], class50.field454[var35], var26, var28);
if(var15.clipType != 0) {
var14.removeWall(var2, var3, var6, var5, var15.blocksProjectile);
}
Expand All @@ -738,7 +738,7 @@ static final void method459(int var0, int var1, int var2, int var3, int var4, in
var29 = new DynamicObject(var4, 3, var5, var12, var2, var3, var15.animationId, true, (Renderable)null);
}

var42.method2909(var0, var2, var3, var23, (Renderable)var29, (Renderable)null, class50.field453[var5], 0, var26, var28);
var42.addBoundary(var0, var2, var3, var23, (Renderable)var29, (Renderable)null, class50.field453[var5], 0, var26, var28);
if(var15.clipType != 0) {
var14.removeWall(var2, var3, var6, var5, var15.blocksProjectile);
}
Expand Down

0 comments on commit ae16d9b

Please sign in to comment.