Commit Graph

11739 Commits

Author SHA1 Message Date
Adam
94fc38f05b api: pass menu entry to menu add event and forward accessors 2022-05-23 17:26:45 -04: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
Adam
ebd8483a37 overlay manager: remove spurious position reset logs 2022-05-18 21:02:05 -04: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
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
Matthew C
4eb5f18073 skill calculator: Fix herblore typos (#14324) 2022-05-12 23:48:27 +00:00
Jonathan Forscher
c284bcdf21 item stats: Add some missing beverages (#14412) 2022-05-12 23:46:04 +00:00
ProjectileRage
b2bdb0204b timers: Add Shadow Veil protection detection (#14687) 2022-05-12 22:53:01 +00:00
Ben Puryear
7cce1fc7c3 Add .DS_Store to .gitignore (#14925) 2022-05-12 19:14:42 +00:00
LlemonDuck
674a6d4cbe interfacestyles: 2005-style quest tab headers 2022-05-12 16:49:32 +00:00
LlemonDuck
c22ae453c2 chatcommands: consume "clear single word" keypress
Prevents a binding of "Ctrl+Backspace" from triggering the "clear single word" and also removing the remaining trailing space.

Closes #14941
2022-05-12 04:23:26 +00:00
Adam
4f4c502b17 overlay: make alt drag hotkey configurable 2022-05-11 12:57:05 -04:00
Adam
5c98c47803 compost tracking: fix tracking fertile soil with ash covered tome 2022-05-11 12:10:42 -04:00
RuneLite updater
69a7de850b Bump for 1.8.20-SNAPSHOT
[ci skip]
2022-05-11 10:50:21 +00:00
RuneLite updater
7626d4e7dc Release 1.8.19 2022-05-11 10:50:17 +00:00
RuneLite Cache-Code Autoupdater
ae0a415f54 Update NPC IDs to 2022-5-11 2022-05-11 04:39:29 -06:00
RuneLite Cache-Code Autoupdater
82a6c7e05b Update Object IDs to 2022-5-11 2022-05-11 04:39:29 -06:00
RuneLite Cache-Code Autoupdater
7a81bf4e39 Update Item variations to 2022-5-11 2022-05-11 04:39:29 -06:00
RuneLite Cache-Code Autoupdater
8076c8e0a5 Update Item IDs to 2022-5-11 2022-05-11 04:39:29 -06:00
Adam
901cfa4192 client: remove setupJxAuth 2022-05-11 04:38:26 -06:00
Adam
7d5bc2bd31 api: update Jagex API 2022-05-11 04:38:22 -06:00
Max Weber
bfc7ccd623 cache: add running/crawling anim opcodes from rev 205 2022-05-11 04:38:09 -06:00
RuneLite updater
e0fb164f2c Update 205 2022-05-11 10:36:04 +00:00
Adam
71d0885024 widgetoverlay: add chatbox and inventory layers 2022-05-11 05:56:49 -04:00
Adam
50af007e94 chat commands: fix matching random event rewards as kill messages 2022-05-10 23:49:49 -04:00