runescape-client: export more
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user