project: add missing api changes from #3105

This commit is contained in:
JumpIfZero
2022-01-05 17:23:48 +02:00
parent 1eb83c4eb2
commit 9da28cd644
5 changed files with 14 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ public abstract class RSGameObjectMixin implements RSGameObject
public Angle getOrientation()
{
int orientation = getModelOrientation();
int rotation = (getFlags() >> 6) & 3;
int rotation = (getConfig() >> 6) & 3;
return new Angle(rotation * 512 + orientation);
}

View File

@@ -19,5 +19,9 @@ public interface RSFloorDecoration extends GroundObject
@Override
RSRenderable getRenderable();
@Import("flags")
@Override
int getConfig();
void setPlane(int plane);
}

View File

@@ -39,7 +39,8 @@ public interface RSGameObject extends GameObject
long getHash();
@Import("flags")
int getFlags();
@Override
int getConfig();
int getPlane();

View File

@@ -55,6 +55,9 @@ public interface RSScriptEvent extends ScriptEvent
@Import("mouseX")
int getMouseX();
@Import("mouseY")
int getMouseY();
@Import("keyTyped")
// shit name
int getTypedKeyCode();

View File

@@ -32,5 +32,9 @@ public interface RSWallDecoration extends DecorativeObject
@Override
RSRenderable getRenderable2();
@Import("flags")
@Override
int getConfig();
void setPlane(int plane);
}