Merge pull request #3156 from RuneMod/master

This commit is contained in:
Owain van Brakel
2022-04-06 23:30:11 +02:00
committed by GitHub
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

@@ -963,6 +963,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);