Commit Graph

324 Commits

Author SHA1 Message Date
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
Adam
28520dcfe7 Merge pull request #4492 from Abextm/run-script-recursion
mixins: Prevent runScript from being called recursively
2018-07-26 18:56:31 -04:00
Runelite auto updater
6c0250df33 [maven-release-plugin] prepare for next development iteration 2018-07-26 10:57:59 +00:00
Runelite auto updater
9cbc1ad3a0 [maven-release-plugin] prepare release runelite-parent-1.4.9 2018-07-26 10:57:52 +00: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
Runelite auto updater
4ec592b1cd [maven-release-plugin] prepare for next development iteration 2018-07-19 11:13:12 +00:00
Runelite auto updater
f872e08dc3 [maven-release-plugin] prepare release runelite-parent-1.4.8 2018-07-19 11:13:04 +00: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
Runelite auto updater
1c5f6f7abf [maven-release-plugin] prepare for next development iteration 2018-07-12 10:50:35 +00:00
Runelite auto updater
48a6463856 [maven-release-plugin] prepare release runelite-parent-1.4.7 2018-07-12 10:50:29 +00:00
Adam
2aa08231a2 Add getVarpValue and setVarpValue to RSClientMixin and Client 2018-07-09 08:54:50 -04:00
Runelite auto updater
f6d32bb98e [maven-release-plugin] prepare for next development iteration 2018-07-05 11:11:02 +00:00
Runelite auto updater
667053172f [maven-release-plugin] prepare release runelite-parent-1.4.6 2018-07-05 11:10:56 +00: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
Runelite auto updater
e35ac926b4 [maven-release-plugin] prepare for next development iteration 2018-06-28 10:57:35 +00:00
Runelite auto updater
02a2334dd7 [maven-release-plugin] prepare release runelite-parent-1.4.5 2018-06-28 10:57:29 +00: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
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