Commit Graph

689 Commits

Author SHA1 Message Date
Adam
f0da475370 Add interface representing all callbacks the client does, and convert mixins to use it
This allows creating and injecting Hooks via guice
2018-06-23 09:20:12 -04:00
Adam
ab936a6cdb Add logback-parent to dependency management and use a consistent slf4j version everywhere 2018-06-22 22:43:41 -04:00
Tomas Slusny
ffbc89a801 Move menuActionHook to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:36 -04:00
Tomas Slusny
486c8c985a Move clientMainLoop to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:35 -04:00
Tomas Slusny
7437da1237 Move drawRegion call to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:35 -04:00
Tomas Slusny
d948dc05ed Move drawAboveOverheads call to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:34 -04:00
Tomas Slusny
bac06e5b3a Move graphicsObjectCreated to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:34 -04:00
Tomas Slusny
517c4c4796 Move addChatMessage to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:33 -04:00
Tomas Slusny
4d6386d846 Move projectileMoved to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:32 -04:00
Tomas Slusny
3835f005f6 Move setMessage to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:32 -04:00
Tomas Slusny
4241e4384f Move postItemComposition to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:31 -04:00
Tomas Slusny
eea63dd171 Move focusLost to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:29 -04:00
Tomas Slusny
384bdb1179 Move focusGained to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 19:53:28 -04:00
Tomas Slusny
2944e5b334 Move updateNpcs call to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-23 00:04:44 +02:00
Tomas Slusny
8fb285f928 Move menuOpened to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 23:59:59 +02:00
Tomas Slusny
d6e26410c8 Move onActorHitsplat to mixins
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-22 23:59:59 +02:00
Runelite auto updater
d60b395d5c [maven-release-plugin] prepare for next development iteration 2018-06-21 11:02:31 +00:00
Runelite auto updater
c3229abf84 [maven-release-plugin] prepare release runelite-parent-1.4.4 2018-06-21 11:02:24 +00:00
Tomas Slusny
b0127283d1 Center stretched fixed mode horizontally
To fit with fixed mode with stretched fixed disabled, center stretched
fixed mode horizontally.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-16 00:56:32 +02:00
Runelite auto updater
b4150a47f4 [maven-release-plugin] prepare for next development iteration 2018-06-14 10:53:27 +00:00
Runelite auto updater
0824f42af6 [maven-release-plugin] prepare release runelite-parent-1.4.3 2018-06-14 10:53:21 +00:00
Adam
634fd91b9f runelite-api: add setVar for setting varclientstr 2018-06-12 18:39:35 -04:00
Adam
cbec088a6b Remove map region changed event 2018-06-07 18:09:10 -04:00
Runelite auto updater
e9a26538b3 [maven-release-plugin] prepare for next development iteration 2018-06-07 11:03:23 +00:00
Runelite auto updater
bbe240003b [maven-release-plugin] prepare release runelite-parent-1.4.2 2018-06-07 11:03:17 +00:00
Adam
1915647c9b runelite-mixins: once again reset menu on widget close 2018-05-31 19:41:43 -04:00
Adam
8a6fc94239 Flag npc as dead when their health ratio hits 0
Sometimes npcs despawn without their HP var visible after death
2018-05-31 18:18:29 -04:00
Adam
fd3a27f8b6 hooks: move combat info callback to actor mixin 2018-05-31 18:13:50 -04:00
Runelite auto updater
3ca51259fc [maven-release-plugin] prepare for next development iteration 2018-05-31 11:02:13 +00:00
Runelite auto updater
2090b97d34 [maven-release-plugin] prepare release runelite-parent-1.4.1 2018-05-31 11:02:05 +00:00
BeefaloKing
d2871d925c Stretched Fixed Mode Plugin: Add Integer Scaling option (#2863)
Forces integer scale factor by rounding stretched dimensions towards zero.
2018-05-25 08:21:37 +02:00
Runelite auto updater
765bed1657 [maven-release-plugin] prepare for next development iteration 2018-05-24 11:16:37 +00:00
Runelite auto updater
f3cb3beb4a [maven-release-plugin] prepare release runelite-parent-1.4.0 2018-05-24 11:16:31 +00:00
Adam
9c5078a75e Merge pull request #3075 from Abextm/var-inspector
Var inspector
2018-05-21 19:49:21 -04:00
WooxSolo
0b63291bbf Add RSTileMixin.getGroundItems and RSNPCMixin.getTransformedComposition 2018-05-21 17:19:35 -04:00
Max Weber
572d92378a Allow get/setVarbitValue to operate on arbitrary varp sets 2018-05-21 12:20:33 -06:00
Max Weber
66ccd9c0d6 Add VarC events 2018-05-21 12:20:32 -06:00
Adam
0fe49ec2df runelite-api: expand hint arrow api 2018-05-21 08:20:48 -04:00
Adam
2c5284d597 runelite-mixins: fix hasHintArrow 2018-05-21 08:20:08 -04:00
Adam
fbca624ffd runelite-api: add widget positioned event 2018-05-19 20:40:53 -04:00
Adam
444e3a5152 runelite-api: add sprite override api 2018-05-19 19:15:35 -04:00
Adam
e3e8bf7c5d Bump to 1.4.0-SNAPSHOT 2018-05-19 18:53:25 -04:00
Runelite auto updater
509c9e61dc [maven-release-plugin] prepare for next development iteration 2018-05-18 23:31:11 +00:00
Runelite auto updater
7c389bb712 [maven-release-plugin] prepare release runelite-parent-1.3.9 2018-05-18 23:31:04 +00:00
Adam
06aa5cd680 Merge pull request #2684 from Adam-/npc-despawn
fire npc despawn event before composition is nulled
2018-05-15 11:20:25 -04:00
Max Weber
669b0a0ab9 Revert #2530 "Make VarbitChanged only fire once..."
This broke the speccounter plugin, and is moderately incorrect because client scripts can update varbits before a tick has happened, and the event should reflect that.
2018-05-15 03:36:16 -06:00
Morgan Lewis
c8d7779248 Fix world map overlay to draw pixel perfect on the World Map 2018-05-14 20:34:10 -04:00
Adam
0acde2bd06 runelite-mixins: wrap drawTileUnderlay in try/catch
The rasterizer crashes on certain tiles ingame with specific camera angles.

java.lang.ArrayIndexOutOfBoundsException: -1
    at Graphics3D.rasterGouraudLine(Graphics3D.java:797)
    at Graphics3D.rasterGouraud(Graphics3D.java:680)
    at Region.drawTileUnderlay(Region.java:1853)
    at Region.draw(Region.java:1376)
    at Region.drawRegion(Region.java:1187)
    at class35.method682(class35.java:808)
    at WorldMapType3.gameDraw(WorldMapType3.java:448)
    at class218.method4359(class218.java:1069)
    at Client.method1268(Client.java:3922)
    at Client.methodDraw(Client.java:2239)
    at GameEngine.method914(GameEngine.java:605)
    at GameEngine.run(GameEngine.java:1027)
    at java.lang.Thread.run(Thread.java:748)
2018-05-14 18:22:23 -04:00
Adam
e915070b4b runelite-mixins: fire npc despawn event before composition is nulled 2018-05-13 15:45:39 -04:00
Adam
484d664a3c injector: support field hooks prior to field being changed 2018-05-13 15:45:16 -04:00