Commit Graph

1442 Commits

Author SHA1 Message Date
JZomerlei
3a1784c236 Update Quest Enum to latest cache (#12999) 2021-01-12 19:01:39 +00:00
Max Weber
58d53d1a62 runelite-api: add Preferences::getHideUsername() 2021-01-11 10:00:14 -05:00
Chad J. Lewis
b27bb9fab3 WidgetInfo: Remove unused SHOP_ITEMS_CONTAINER definition (#13011) 2021-01-06 18:34:16 +00:00
RuneLite Cache-Code Autoupdater
ff8c1e4c7f Update NPC IDs to 2021-01-06-rev193 2021-01-06 05:34:39 -07:00
RuneLite Cache-Code Autoupdater
b584d710c8 Update Object IDs to 2021-01-06-rev193 2021-01-06 05:34:38 -07:00
RuneLite Cache-Code Autoupdater
9b70d64960 Update Item IDs to 2021-01-06-rev193 2021-01-06 05:34:38 -07:00
Adam
c5a52754e0 Fix Zalcano damage overlay to only show during Zalcano
This varp is for the hp hud, and applies to more content than just
Zalcano, so verify that the hp hud is for Zalcano
2021-01-05 15:26:08 -05:00
Adam
fdd84f929d perspective: ignore invisible tris in clickbox calculation 2020-12-31 18:13:36 -05:00
Adam
0fc1a94088 gpu: dispatch compute after scene draw
This moves the compute shaders to run immediately after scene draw,
instead of in the draw() callback, which happens much later. All models
in the scene have been queued by the time, but since it is so early in
the ui drawing, it gives a few more ms for the compute to run before the
result needs to be used to draw the next frame.
2020-12-30 16:41:28 -05:00
Adam
246b0f8a86 gpu: draw full screen widgets on gpu
This adjusts the draw callbacks api to take in the color of the full
screen overlay the client would have rendered. This is primarily used in
godwars, underwater, darkmeyer, etc. Having them rasterized on the cpu
is slow, especially with gpu on since we additionally have to compute
the alpha per-pixel.
2020-12-29 20:06:41 -05:00
Adam
5822e489f7 Allow mouse tooltips on the welcome screen and full screen world map
Adjust the mouse highlight overlay to run at the same layers as the
tooltip overlay. It always runs first due to having a lower position.
I think previously tooltips from ui ops were 1 frame behind due to this
being UNDER_WIDGETS.

Additionally change the tooltip overlay to draw after the fullscreen tli
instead of the world map interface. Having it render after the world map
caused tooltips to render after the floating world map too, which is too
early. The fullscreen tli is the root of both the fullscreen world map
and of the welcome screen.
2020-12-28 20:41:09 -05:00
Abex
d314c0ecee Merge pull request #12947 from MESLewis/farming-tick-offset
Add farming tick offsets to time tracking plugin
2020-12-27 19:28:34 -07:00
Max Weber
27ea3fbab6 runelite-api: add WidgetNode::modalMode 2020-12-27 13:58:45 -07:00
Max Weber
7898c46630 runelite-api: add WidgetClosed event 2020-12-27 13:58:45 -07:00
Adam
85a953e76b api: remove WidgetHiddenChanged
This has been superseded by script hooks on the scripts which hide the widgets
2020-12-24 15:40:00 -05:00
Malfuryent
a0dec6a632 statusbarplugin: Recolor health bar when infected by a parasite (#12874) 2020-12-23 09:44:16 +01:00
Adam
5dc5adc01f Remove ITEM_DROP menu action
It is identical to ITEM_FIFTH_OPTION and of() was returning only ITEM_DROP,
which made ITEM_FIFTH_OPTION useless
2020-12-19 14:11:07 -05:00
Adam
1d5df7b475 wiki: use script post fired event for hiding wiki banner 2020-12-18 16:40:46 -05:00
Adam
34e37dcc57 Add interface and layer draw hooks for overlays
This allows overlays to request draw after any interface or layer. This
allows removal of the ABOVE_MAP layer which can now just be replaced
with requesting draw after the map interface. This also fixes item
overlays from drawing over top of the map by now drawing the item
overlay immediately after the interface and/or layer the item is on is
drawn.

For backwards compatability, ABOVE_WIDGETS is kept as a layer, but
internally just requests draw after the 3 TLIs.

Due to overlays defaulting to the UNDER_WIDGETS layer, a new layer
MANUAL has been added, which is intended for use when requesting draw
after specific interfaces or layers, so that the overlay is otherwise
not drawn a second time due to being UNDER_WIDGETS.
2020-12-15 14:30:49 -05:00
Adam
38b3d3a904 api: remove getViewportWidget()
The returned widget isn't actually the viewport widget, but is a layer within the viewport, and only needs to be used within the overlay renderer to position the snapcorners
2020-12-15 14:30:46 -05:00
dekvall
e6169ab79b zalcano: add damage counter
Adds a panel which tracks damage dealt to Zalcano's health and shield
to make it easier prioritising what to focus on at a low level.

Co-authored-by: Adam <Adam@sigterm.info>
2020-12-13 11:21:52 -05:00
Hydrox6
fa0c5066d3 WidgetOverlay: Make Multicombat Indicator moveable 2020-12-12 16:05:51 -05:00
Adam
dc84f6b649 api: move sound effect volumes to preferences 2020-12-09 04:44:57 -07:00
RuneLite Cache-Code Autoupdater
6aa085fc3e Update Widget IDs to 2020-12-9 2020-12-09 04:44:57 -07:00
RuneLite Cache-Code Autoupdater
ff0d8fcbce Update NPC IDs to 2020-12-9 2020-12-09 04:44:56 -07:00
RuneLite Cache-Code Autoupdater
b68acebb52 Update Object IDs to 2020-12-9 2020-12-09 04:44:56 -07:00
RuneLite Cache-Code Autoupdater
8822294c42 Update Script arguments to 2020-12-9 2020-12-09 04:44:55 -07:00
RuneLite Cache-Code Autoupdater
96372dbdb2 Update Item IDs to 2020-12-9 2020-12-09 04:44:55 -07:00
Max Weber
5c75762f83 camera: add slider tooltip to main settings window
this replaces the overlay with onMouseRepeatListeners
2020-12-08 16:16:29 -05:00
Max Weber
1076272d8d music: re-add slider granularity
removed in e60c25be99
2020-12-07 03:23:04 -07:00
Max Weber
b5b9da1a41 runelite-api: rename Options group to SettingsSide 2020-12-07 03:23:03 -07:00
Max Weber
07819bd9a4 rl-api, rl-client: add Client::getWidget(I) 2020-12-07 03:23:03 -07:00
Max Weber
54f953dc42 runelite-api: allow running scripts with a widget source 2020-12-07 03:23:02 -07:00
Max Weber
6056b92faf runelite-api: add various widget accessors 2020-12-07 03:23:02 -07:00
Max Weber
e47a79db13 runelite-api: add param accessors 2020-12-07 03:23:01 -07:00
Max Weber
e56ae31b2b Update WidgetID to 2020-12-2 2020-12-02 04:54:56 -07:00
Max Weber
e60c25be99 music: remove volume slider granularity
this interface was entirely rewritten
2020-12-02 04:54:56 -07:00
RuneLite Cache-Code Autoupdater
2c9b8a8933 Update NPC IDs to 2020-12-2 2020-12-01 18:08:48 -07:00
RuneLite Cache-Code Autoupdater
e652016f2f Update Object IDs to 2020-12-2 2020-12-01 18:08:48 -07:00
RuneLite Cache-Code Autoupdater
747ff74b81 Update Item IDs to 2020-12-2 2020-12-01 17:25:21 -07:00
Adam
38c9e084ed Use raw varp array for get/set value in devtools
It was decided the current indirection isn't necessary
2020-11-30 21:19:57 -05:00
Adam
82f937ec5d api: add queueChangedVarp 2020-11-30 21:19:55 -05:00
Adam
912847c1fd worldmap: add Getting Ahead quest start location
Co-authored-by: jsambon <jean-francois.sambon@student.uclouvain.be>
2020-11-30 19:19:47 -05:00
logarithm
ba25de4bd1 skybox: add custom sky color options
Co-authored-by: Adam <Adam@sigterm.info>
2020-11-27 15:32:15 -05:00
Adam
f6a5463a57 Merge pull request #12834 from abextm/rsprofile-external
Per RuneScape-Profile configuration
2020-11-27 00:00:54 -05:00
Ron Young
e3ff5dd487 runelite-api: import SpritePixels methods 2020-11-26 11:21:19 -05:00
Max Weber
2ac456696b runelite-api: add PlayerChanged event 2020-11-23 14:12:15 -07:00
Max Weber
3bc7bff4ae runelite-api: add WorldChanged event 2020-11-23 14:12:14 -07:00
Adam
e5b5292267 objectindicators: fix not marking objects when loaded on other planes
fromLocalInstance() was returning a world point using the clients plane,
however the object may not be on that, causing the plane check in
checkObjectPoints() to fail.
2020-11-22 18:35:05 -05:00
trimbe
87f5e98a08 bank plugin: add ctrl+f hotkey to initiate bank search
Co-authored-by: melkypie <5113962+melkypie@users.noreply.github.com>
Co-authored-by: Adam <Adam@sigterm.info>
2020-11-22 12:31:32 -05:00