mixins: replace drawScene
This is in preparation for extending draw distance.
This commit is contained in:
@@ -558,6 +558,12 @@ public interface RSClient extends RSGameEngine, Client
|
||||
@Import("pitchCos")
|
||||
void setPitchCos(int v);
|
||||
|
||||
@Import("yawSin")
|
||||
void setYawSin(int v);
|
||||
|
||||
@Import("yawCos")
|
||||
void setYawCos(int v);
|
||||
|
||||
@Import("Rasterizer3D_zoom")
|
||||
int get3dZoom();
|
||||
|
||||
@@ -685,4 +691,52 @@ public interface RSClient extends RSGameEngine, Client
|
||||
|
||||
@Import("occupiedTilesTick")
|
||||
int[][] getOccupiedTilesTick();
|
||||
|
||||
@Import("cycle")
|
||||
int getCycle();
|
||||
|
||||
@Import("cycle")
|
||||
void setCycle(int cycle);
|
||||
|
||||
@Import("visibilityMaps")
|
||||
boolean[][][][] getVisibilityMaps();
|
||||
|
||||
@Import("renderArea")
|
||||
void setRenderArea(boolean[][] renderArea);
|
||||
|
||||
@Import("cameraX2")
|
||||
void setCameraX2(int cameraX2);
|
||||
|
||||
@Import("cameraY2")
|
||||
void setCameraY2(int cameraY2);
|
||||
|
||||
@Import("cameraZ2")
|
||||
void setCameraZ2(int cameraZ2);
|
||||
|
||||
@Import("screenCenterX")
|
||||
void setScreenCenterX(int screenCenterX);
|
||||
|
||||
@Import("screenCenterZ")
|
||||
void setScreenCenterZ(int screenCenterZ);
|
||||
|
||||
@Import("Scene_plane")
|
||||
void setScenePlane(int scenePlane);
|
||||
|
||||
@Import("minTileX")
|
||||
void setMinTileX(int i);
|
||||
|
||||
@Import("minTileZ")
|
||||
void setMinTileZ(int i);
|
||||
|
||||
@Import("maxTileX")
|
||||
void setMaxTileX(int i);
|
||||
|
||||
@Import("maxTileZ")
|
||||
void setMaxTileZ(int i);
|
||||
|
||||
@Import("tileUpdateCount")
|
||||
int getTileUpdateCount();
|
||||
|
||||
@Import("tileUpdateCount")
|
||||
void setTileUpdateCount(int tileUpdateCount);
|
||||
}
|
||||
|
||||
@@ -35,8 +35,26 @@ public interface RSScene extends Scene
|
||||
|
||||
@Import("tiles")
|
||||
@Override
|
||||
Tile[][][] getTiles();
|
||||
RSTile[][][] getTiles();
|
||||
|
||||
@Import("draw")
|
||||
void draw(Tile tile, boolean var2);
|
||||
|
||||
@Import("drawTile")
|
||||
void drawTile(int[] pixels, int pixelOffset, int width, int z, int x, int y);
|
||||
|
||||
@Import("updateOccluders")
|
||||
void updateOccluders();
|
||||
|
||||
@Import("maxX")
|
||||
int getMaxX();
|
||||
|
||||
@Import("maxY")
|
||||
int getMaxY();
|
||||
|
||||
@Import("maxZ")
|
||||
int getMaxZ();
|
||||
|
||||
@Import("minLevel")
|
||||
int getMinLevel();
|
||||
}
|
||||
|
||||
@@ -73,4 +73,28 @@ public interface RSTile extends Tile
|
||||
@Import("plane")
|
||||
@Override
|
||||
int getPlane();
|
||||
|
||||
@Import("physicalLevel")
|
||||
int getPhysicalLevel();
|
||||
|
||||
@Import("draw")
|
||||
boolean isDraw();
|
||||
|
||||
@Import("draw")
|
||||
void setDraw(boolean draw);
|
||||
|
||||
@Import("visible")
|
||||
boolean isVisible();
|
||||
|
||||
@Import("visible")
|
||||
void setVisible(boolean visible);
|
||||
|
||||
@Import("drawEntities")
|
||||
boolean isDrawEntities();
|
||||
|
||||
@Import("drawEntities")
|
||||
void setDrawEntities(boolean drawEntities);
|
||||
|
||||
@Import("wallCullDirection")
|
||||
void setWallCullDirection(int wallCullDirection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user