Max Weber
6b278d48a5
Add API to create new widgets
2018-07-17 18:19:01 -06:00
Adam
99c7848294
Remove item layer changed event
2018-07-16 17:53:30 -04:00
Adam
1bac71f840
Add item spawn events
2018-07-16 17:42:17 -04:00
Max Weber
d7473bdb07
Rename Region to Scene
2018-07-16 03:45:20 -06:00
Adam
2aa08231a2
Add getVarpValue and setVarpValue to RSClientMixin and Client
2018-07-09 08:54:50 -04:00
Adam
25c58fb69b
Change Widget::parentId behavior to work again if the widget hasn't been drawn yet
...
Some events/plugins require this behavior
2018-07-01 16:52:35 -04:00
Max Weber
a96d13b6c9
mixins: Don't show siblings in dynamic widget's child lists
...
dynamic widgets can't have non-dynamic children because the load code can't refer to them because they can't be fully qualified by id.
2018-06-28 16:00:39 -04:00
Adam
799f8b1266
Calculate and store widget parent id and position when the interfaces are rendered
...
This removes the need to calculate widget bounds and parent on demand by
traversing up the widget tree.
2018-06-28 16:00:38 -04:00
Adam
8247163fee
animation smoothing: don't interpolate hellhound defence animation
2018-06-25 17:20:00 -04:00
Adam
714a533735
Revert "animation smoothing: do not interpolate to angle 0"
...
This reverts commit 68639d8932 .
2018-06-25 17:20:00 -04:00
Tomas Slusny
f68dea3df7
Merge pull request #3830 from deathbeam/center-stretched-fixed
...
Center stretched fixed mode horizontally
2018-06-25 16:40:21 +02:00
Adam
68639d8932
animation smoothing: do not interpolate to angle 0
...
This fixes most of the issue with hellhounds (npc 104, anim 6566)
2018-06-24 21:24:25 -04:00
DESKTOP-G1DDN84\Denni
62dec90d42
animation smoothing: fix angle bounds for rotation
2018-06-24 21:24:24 -04:00
Adam
d239a47d98
Add interacting changed event
2018-06-24 11:19:01 -04:00
Adam
00a5845c7e
actor mixin: fix getInteracting when index is 65535
...
There are short times where it is this before being set to -1
2018-06-24 11:19:01 -04:00
Tomas Slusny
af7e76502b
Add new toBufferedOutline method to SpritePixels
...
Add method that returns item image with outline to SpritePixels.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-06-23 14:20:11 -04:00
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
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
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
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
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
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
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
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