runescape-client: export more
This commit is contained in:
@@ -148,14 +148,14 @@ public class Client
|
||||
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()
|
||||
|
||||
@@ -102,8 +102,8 @@ public class Perspective
|
||||
|
||||
if (y >= 50)
|
||||
{
|
||||
int pointX = client.getCamera2() / 2 + x * client.getScale() / y;
|
||||
int pointY = var8 * client.getScale() / y + client.getCamera3() / 2;
|
||||
int pointX = client.getViewportHeight() / 2 + x * client.getScale() / y;
|
||||
int pointY = var8 * client.getScale() / y + client.getViewportWidth() / 2;
|
||||
return new Point(pointX, pointY);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,11 +172,11 @@ public interface Client extends GameEngine
|
||||
@Import("scale")
|
||||
int getScale();
|
||||
|
||||
@Import("camera2")
|
||||
int getCamera2();
|
||||
@Import("viewportHeight")
|
||||
int getViewportHeight();
|
||||
|
||||
@Import("camera3")
|
||||
int getCamera3();
|
||||
@Import("viewportWidth")
|
||||
int getViewportWidth();
|
||||
|
||||
@Import("validInterfaces")
|
||||
boolean[] getValidInterfaces();
|
||||
|
||||
Reference in New Issue
Block a user