Max Weber
b559a6b1af
Add thread assertions to Widget
2018-10-02 01:04:22 -06:00
Tomas Slusny
ac5ef045b7
Make sprite and widget sprite overrides more flexible
...
- Expose NodeCache interface in RuneLite
- Expose Client.getWidgetSpriteCache and reset method on it
- Change setters for sprite and widget overrides to be getters
This allows for more than 1 plugin to use the widget/sprite override API
in future.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-09-28 20:47:57 +02:00
Tomas Slusny
01628545df
Add mappings for checkClick, mouseCanvasHoverX/Y
...
- Add mappings to use checkClick, mouseCanvasHover X and Y from
runescape-client
- Add methods to set them to runelite-api
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-09-28 11:31:36 +02:00
Tomas Slusny
73dbea874a
Properly name Perspective methods, remove unused
...
- Properly rename world->local Perspective methods and force them to
accept LocalPoint to prevent confusion
- Remove unused params from Perspective methods
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-09-28 11:06:45 +02:00
Adam
2b27e2163c
runelite-api: add queueChangedSkill for queueing a skill change event
2018-09-19 18:42:14 -04:00
Tomas Slusny
396f24e39d
Merge pull request #5445 from devLotto/issue-1979
...
entityhider: make hidden entities not occupy the tile they're on
2018-09-18 13:35:02 +02:00
Jordan Atwood
ea284f9ca0
Centralize item (de)spawn log messages
...
Fixes runelite/runelite#5452
2018-09-14 14:33:06 -07:00
Lotto
18851f1094
entityhider: make hidden entities not occupy the tile they're on
2018-09-13 00:00:31 +02:00
Max Weber
a03b34a2c3
runelite-mixins: Add setter for varcint
2018-09-11 22:10:57 -06:00
Max Weber
d159bc63b3
runelite-api: Update widget field names
2018-09-09 11:02:14 -06:00
Adam
2b81d30228
Add Ignore API
2018-08-24 21:13:34 -04:00
Adam
962d5d7827
runelite-api: add method for getting number of friends
2018-08-24 21:13:26 -04:00
Adam
3bfcae3c77
mixins: fix friend manager mixin to implement friend manager
2018-08-16 20:07:55 -04:00
Adam
41634c96ab
Change world load event to fire at the end of world loading
2018-08-15 15:36:18 -04:00
Adam
f25eaff16e
Add world load event
2018-08-14 10:13:25 -04:00
Lotto
12da232985
runelite-client: add world hopper plugin
...
Co-authored-by: Adam <Adam@anope.org >
Co-authored-by: psikoi <ruben.amendoeira@gmail.com >
Co-authored-by: Tomas Slusny <slusnucky@gmail.com >
2018-08-12 09:15:04 -04:00
Lotto
189d54122c
runelite-api: add total level api
2018-08-12 08:51:02 -04:00
Lotto
e93ee86a21
mixins: add world hopping mixin
2018-08-12 08:51:00 -04:00
Adam
bb87983ed5
mixins: simplify acquiring client thread reference
2018-08-09 21:36:24 -04:00
Tomas Slusny
94e5596d22
Merge pull request #4667 from deathbeam/move-index-to-db
...
Move isOverlayOutdated to IndexDatabase
2018-08-06 09:31:38 +02:00
Adam
2b0e286063
Merge pull request #4635 from Abextm/camera-pitch-fix
...
mixins: Fix camera pitch relaxer not fully relaxing after a screen shake
2018-08-05 09:57:29 -04:00
Tomas Slusny
5a152f0514
Move isOverlayOutdated to IndexDatabase
...
Instead of creating new callback and then simply setting boolean on
RuneLite to dump it somewhere, expose this boolean from IndexDatabase
and remove injection of RuneLite.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-08-03 11:09:54 +02:00
Adam
ca7ca3a7a0
Disable zoom extender when a cache overlay fails to load
...
The zoom extender relies on multiple scripts to be up to date. If only one is changed, its functionality breaks badly.
2018-08-02 18:52:30 -04:00
Max Weber
dcd775cea4
mixins: Fix camera pitch relaxer not fully relaxing after a screen shake
2018-08-01 20:12:36 -06:00
Tomas Slusny
676b2cf5d2
Account for plane in TileObject canvas location
...
Fixes #4571
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-07-30 16:36:58 +02:00
Adam
6c7ea1f834
runelite-mixins: correct worldToCanvas arguments
...
The 'plane' is no longer actually a z offset
2018-07-27 18:26:38 -04:00
Max Weber
87bf71c1ff
mixins: Prevent runScript from being called recursively
...
Due to the extensive use of globals in the ScriptVM it is not reentrant
2018-07-24 18:25:40 -06:00
Adam
0297f7684c
mixins: optimize widget isHidden and getParent
2018-07-22 12:13:09 -04:00
Adam
630a3947da
mixins: only update render parent of nested widget if widget would have been rendererd
2018-07-22 12:13:09 -04:00
Max Weber
f1907fc7b1
mixins: Don't post mouse events that have already been posted
2018-07-19 06:32:38 -06:00
Tomas Slusny
f99b1416b7
Remove unused import from RSTileMixin
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-07-18 20:04:45 +02:00
Adam
bdc9008c1d
Add item despawn events when ground items is nulled
...
When you walk into view of a chunk, all tiles get cleared followed by item spawns
2018-07-18 13:00:21 -04:00
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