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(); 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 * Gets the current scene
*/ */

View File

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