Exposed getScenePlane

This commit is contained in:
RuneMod
2022-04-02 23:33:33 +01:00
parent 104115b900
commit 1cce4bd286
2 changed files with 14 additions and 1 deletions

View File

@@ -393,6 +393,16 @@ public interface Client extends GameEngine
*/
int getPlane();
/**
* Gets the max plane the client can render.
* <p>
* Unlike the plane, the ScenePlane is affected the current status of roof visibility.
* <p>
*
* @return the plane
*/
int getScenePlane();
/**
* Gets the current scene
*/
@@ -1143,7 +1153,7 @@ public interface Client extends GameEngine
* @return the new projectile
*/
Projectile createProjectile(int id, int plane, int startX, int startY, int startZ, int startCycle, int endCycle,
int slope, int startHeight, int endHeight, @Nullable Actor target, int targetX, int targetY);
int slope, int startHeight, int endHeight, @Nullable Actor target, int targetX, int targetY);
/**
* Gets a list of all projectiles currently spawned.

View File

@@ -960,6 +960,9 @@ public interface RSClient extends RSGameEngine, Client
@Import("Scene_plane")
void setScenePlane(int scenePlane);
@Import("Scene_plane")
int getScenePlane();
@Import("Scene_cameraXTileMin")
void setMinTileX(int i);