Commit Graph

18008 Commits

Author SHA1 Message Date
Owain van Brakel
b93f151efe project(npcmanager): Fix adapter 2022-05-20 10:23:46 +02:00
Adam
9ceabc5e47 prayer: don't return dimension for dynamic overlays
The returned dimension is only used for layoutable or movable overlays
2022-05-19 21:50:24 -04:00
Adam
bea1c6cb83 overlay: prevent moving non-movable overlays 2022-05-19 17:53:18 -04:00
Adam
004d321c15 widget overlay: use setForcedPosition
The inventory can be moved pre-interface tick by the tli subchange
listener, as well as post-our client tick event from script events
running.

This makes it difficult to correctly and generically move the interface,
since it would have to be moved pre-interface tick and also pre-frame.

Currently the code moves the interface pre-frame, which looks okay, but
since it is ticking the interface when it is a different position,
clicks on it do not work correctly.

We do not have events for pre-interface tick, so use forced position to
reliably set the position
2022-05-19 13:43:10 -04:00
Adam
cbf00f6c41 api: add setForcedPosition widget method 2022-05-19 13:42:51 -04:00
Adam
b9da0435d2 gpu: initialize scene uploader scene id with nanotime
Multiple gpu plugins initializing the scene id to the current time can cause conflicts. This makes that less likely.
2022-05-19 13:23:35 -04:00
Owain van Brakel
2673964874 Merge pull request #3203 from open-osrs/upstream-1905 2022-05-19 15:08:14 +02:00
Owain van Brakel
d803eef8c3 Merge pull request #3202 from open-osrs/scraper-update 2022-05-19 15:08:05 +02:00
Owain van Brakel
f070db3871 Merge remote-tracking branch 'runelite/master' 2022-05-19 15:02:45 +02:00
Owain van Brakel
d85365a77b projec(scraper)t: Fix scraper and add some new fields 2022-05-19 15:02:04 +02:00
Adam
ebd8483a37 overlay manager: remove spurious position reset logs 2022-05-18 21:02:05 -04:00
Owain van Brakel
b15e5d6d1f Merge remote-tracking branch 'Owain/scrapy' 2022-05-18 23:45:18 +02:00
Owain van Brakel
7968eebfb6 Merge pull request #3201 from open-osrs/upstream-1805 2022-05-18 17:28:29 +02:00
Owain van Brakel
ff2cf1365a project(checkstyle): Checkstyle 2022-05-18 17:21:46 +02:00
Owain van Brakel
9f653af681 project(version): Bump OpenOSRS version 2022-05-18 17:09:44 +02:00
Owain van Brakel
f4190e23ec project(version): Bump RL version 2022-05-18 17:09:27 +02:00
Owain van Brakel
9935d449d3 Merge remote-tracking branch 'runelite/master' 2022-05-18 17:08:39 +02:00
Owain van Brakel
15d334cc4e Merge remote-tracking branch 'runelite/master' 2022-05-18 17:08:07 +02:00
RuneLite updater
f201c6f63b Bump for 1.8.21-SNAPSHOT
[ci skip]
2022-05-18 11:22:51 +00:00
RuneLite updater
55147bfd37 Release 1.8.20 2022-05-18 11:22:47 +00:00
Max Weber
23bd23a064 fairyring: add isle of souls ring 2022-05-18 05:11:32 -06:00
RuneLite Cache-Code Autoupdater
78bab629fe Update NPC IDs to 2022-5-18 2022-05-17 12:17:46 -06:00
RuneLite Cache-Code Autoupdater
4d43876e85 Update Object IDs to 2022-5-18 2022-05-17 12:17:46 -06:00
RuneLite Cache-Code Autoupdater
6f887464d8 Update Item variations to 2022-5-18 2022-05-17 12:17:46 -06:00
RuneLite Cache-Code Autoupdater
f24519d40c Update Scripts to 2022-5-18 2022-05-17 12:17:46 -06:00
RuneLite Cache-Code Autoupdater
69cd60df03 Update Item IDs to 2022-5-18 2022-05-17 12:17:46 -06:00
Adam
09949d344e overlay: use hovered overlay for picking managed overlay
Hovered overlay already accounts for render order, with the exception of
the vanilla WidgetOverlays which are drawn prior to any of our overlays
being drawn. Instead we order them in render-order, which works for the
dynamic-layer ones.

The minimap must be top_right so that our overlays layout around it
correctly, which currently causes it to be picked up first over dynamic
overlays due to the way overlay sorting is done.
2022-05-17 11:41:48 -04:00
Adam
573a66abf1 devtools: allow pgup/down to cycle through previous commands
Co-authored-by: Max Weber <mii7303@gmail.com>
2022-05-17 11:41:47 -04:00
Jordan Atwood
cbb0730a38 chat commands: Update clear word and clear line defaults
Ctrl + backspace is an overwhelmingly common keybind for clearing the
word before the cursor. Meanwhile, clearing the current line is not as
common a keybind, so having an unset default is more sensible here for
users to decide for themselves what keybind they would prefer.
2022-05-16 12:04:44 -04:00
Max Weber
1ed37f561d overlay: do not move snap points backwards
because WidgetOverlays in their default position render in the vanilla
position it can cause other overlays to occlude previous overlays when
they should not
2022-05-16 11:39:46 -04:00
Adam
6b81e0c7d1 overlay: worldmap: prefer rect2d as g2d clip shape 2022-05-16 11:39:46 -04:00
Adam
b90d793eb7 overlay: set g2d clip per layer 2022-05-16 11:39:46 -04:00
Adam
30fb555809 overlay: disallow transformPosition with dynamic/tooltip 2022-05-16 11:39:46 -04:00
Adam
11ce994b72 overlay: add movable and snappable overlay flags
This merges DETACHED and DYNAMIC into one position, DYNAMIC. And, allows
detached/dynamic overlays to be snappable.
2022-05-16 11:39:46 -04:00
Adam
5732e3f6bd widget overlay: change minimap position back to top_right
Otherwise layouted overlays don't get layouted around the minimap
2022-05-16 11:39:46 -04:00
Stefan Zopfi
c7c1b70a30 itemcharges: add imbued ring of wealth 2022-05-16 09:19:11 -04:00
Owain van Brakel
2d32c887de Merge pull request #3198 from open-osrs/upstream-1505 2022-05-15 23:15:52 +02:00
Owain van Brakel
35e90829a8 Merge remote-tracking branch 'runelite/master' 2022-05-15 23:01:04 +02:00
LlemonDuck
2cc34b9ece clientui: setResizable after setVisible
Prevents an issue with clients being resizable with toolbar-less means in some environments (e.g. double clicking title bar on macos).

Honestly I'm not entirely sure why this is ignored if the window isn't visible, rather than being propagated to the window manager when the window is shown, but I guess Swing isn't that smart (like always).

I originally found the information on [this SO answer](https://stackoverflow.com/a/14884056) and it seemed to resolve the issue.

Closes #14235
2022-05-14 19:38:23 -04:00
Adam
b8188d27e3 menu swapper: removetags npc name on reset swap 2022-05-14 18:32:26 -04:00
Adam
77ccf68739 menu swapper: removetags object/npc names 2022-05-14 16:29:23 -04:00
Adam
570907ea11 overlay: better handle picking up overlapping overlays
findManagedOverlay needs to iterate in roughly the reverse drawing
order. Also adjust the moveable tli layers to be by priority in render
oder.
2022-05-13 13:48:57 -04:00
Max Weber
3fcf4c4217 rl-api, groundmarkers: handle instance plane conversion correctly 2022-05-13 08:14:53 -06:00
Kyle
8ec3d5397a Merge pull request #3197 from JumpIfZero/hotfix/revert-npc-stats
Revert "client: Update NPC stats"
2022-05-13 11:49:10 +01:00
JumpIfZero
7867538c6c Revert "client: Update NPC stats"
This reverts commit c42f32ee59.
2022-05-13 13:45:40 +03:00
Owain van Brakel
e575bca7d6 Merge pull request #3196 from open-osrs/launcher-fuck-up-nice 2022-05-13 03:33:27 +02:00
Owain van Brakel
ee20746022 Merge pull request #3195 from open-osrs/upstream-1305 2022-05-13 03:33:20 +02:00
Owain van Brakel
491e789cb1 Merge pull request #3194 from open-osrs/edging-with-the-injector 2022-05-13 03:33:13 +02:00
Owain van Brakel
148501af81 project(boostrap): Push stable to staging (don't ask please...) 2022-05-13 03:28:06 +02:00
Owain van Brakel
51b816f07a Merge remote-tracking branch 'runelite/master' 2022-05-13 02:27:17 +02:00