runescape-client: export more

This commit is contained in:
Adam
2017-06-14 19:36:07 -04:00
parent c874240306
commit 7393b9715e
3 changed files with 10 additions and 10 deletions

View File

@@ -148,14 +148,14 @@ public class Client
return client.getCameraYaw(); return client.getCameraYaw();
} }
public int getCamera2() public int getViewportHeight()
{ {
return client.getCamera2(); return client.getViewportHeight();
} }
public int getCamera3() public int getViewportWidth()
{ {
return client.getCamera3(); return client.getViewportWidth();
} }
public int getScale() public int getScale()

View File

@@ -102,8 +102,8 @@ public class Perspective
if (y >= 50) if (y >= 50)
{ {
int pointX = client.getCamera2() / 2 + x * client.getScale() / y; int pointX = client.getViewportHeight() / 2 + x * client.getScale() / y;
int pointY = var8 * client.getScale() / y + client.getCamera3() / 2; int pointY = var8 * client.getScale() / y + client.getViewportWidth() / 2;
return new Point(pointX, pointY); return new Point(pointX, pointY);
} }
} }

View File

@@ -172,11 +172,11 @@ public interface Client extends GameEngine
@Import("scale") @Import("scale")
int getScale(); int getScale();
@Import("camera2") @Import("viewportHeight")
int getCamera2(); int getViewportHeight();
@Import("camera3") @Import("viewportWidth")
int getCamera3(); int getViewportWidth();
@Import("validInterfaces") @Import("validInterfaces")
boolean[] getValidInterfaces(); boolean[] getValidInterfaces();