Make updatemappings parameter renamer work, add importmappings parameter renamer, more refactoring
This commit is contained in:
@@ -66,7 +66,7 @@ public abstract class CameraMixin implements RSClient
|
||||
}
|
||||
}
|
||||
|
||||
@FieldHook("cameraPitchTarget")
|
||||
@FieldHook("camAngleX")
|
||||
@Inject
|
||||
static void onCameraPitchTargetChanged(int idx)
|
||||
{
|
||||
|
||||
@@ -1335,7 +1335,7 @@ public abstract class RSClientMixin implements RSClient
|
||||
}
|
||||
|
||||
@Inject
|
||||
@MethodHook(value = "addChatMessage", end = true)
|
||||
@MethodHook(value = "addMessage", end = true)
|
||||
public static void onAddChatMessage(int type, String name, String message, String sender)
|
||||
{
|
||||
Logger logger = client.getLogger();
|
||||
@@ -1355,13 +1355,13 @@ public abstract class RSClientMixin implements RSClient
|
||||
}
|
||||
|
||||
@Inject
|
||||
@MethodHook("methodDraw")
|
||||
public void methodDraw(boolean var1)
|
||||
@MethodHook("draw")
|
||||
public void draw(boolean var1)
|
||||
{
|
||||
callbacks.clientMainLoop();
|
||||
}
|
||||
|
||||
@MethodHook("drawWidgetGroup")
|
||||
@MethodHook("drawInterface")
|
||||
@Inject
|
||||
public static void renderWidgetLayer(Widget[] widgets, int parentId, int minX, int minY, int maxX, int maxY, int x, int y, int var8)
|
||||
{
|
||||
|
||||
@@ -44,10 +44,10 @@ public abstract class RSTextureMixin implements RSTexture
|
||||
@Inject
|
||||
private float rl$v;
|
||||
|
||||
@Copy("Texture_animate")
|
||||
@Copy("animate")
|
||||
public abstract void rs$animate(int diff);
|
||||
|
||||
@Replace("Texture_animate")
|
||||
@Replace("animate")
|
||||
public void rl$animate(int diff)
|
||||
{
|
||||
// The client animates textures by cycling the backing pixels of the texture each fram
|
||||
|
||||
Reference in New Issue
Block a user