Commit Graph

10078 Commits

Author SHA1 Message Date
dekvall
a26a56fda1 sponsors: add patreon link 2020-12-30 23:45:34 -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
fd9626495b client: bind runelite.properties to guice 2020-12-30 16:32:23 -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
5c5e71681a gpu: correctly set model height on non-model renderables
This was incorrect before, but I think is only used for determining if a renderable is occluded, and doesn't change any behaviors I can see
2020-12-29 18:21:25 -05:00
Adam
14ada669f5 gpu: move calculateExtreme() after visibility check
It is only used in the clickbox code and isn't required for isVisible()
2020-12-29 18:06:29 -05:00
Adam
68f4174b21 comp_unordered.glsl: don't orient vertices
While nothing passed to comp_unordered uses orientation, the uniform
block is not bound in this shader, and rotate() accesses sinCosTable. So
I'm not sure why this has ever worked.
2020-12-28 21:26:09 -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
Morgan Lewis
d4e91c60cd Add farming tick offset to time tracking plugin 2020-12-27 16:56:08 -07:00
Morgan Lewis
519968f568 Add Health Check data to PatchImplementation.java 2020-12-27 13:58:45 -07:00
Morgan Lewis
0381abddcb Add additional areas to FarmingRegions 2020-12-27 13:58:45 -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
e3b75c8b7a ge: submit buy limit reset time 2020-12-25 19:58:22 -05:00
Adam
9a322c70d0 ge: add trade seq number
Occasionally the trades are delivered out of order, this allows us to reassemble them in the correct order
2020-12-25 19:19:41 -05:00
Adam
2c8984e380 ge: add user agent to trade message 2020-12-25 19:19:40 -05:00
Adam
ffebb9cf0c ge plugin: better handle trades updating on login
After login there are two sets of offer updates, I suspect the first is
from the server and the second is from the ge server - this also flags
ge server trade updates as on login. To do this we assume it always
happens in the first few ticks after the login burst.
2020-12-25 19:19:39 -05: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
Mrnice98
0c2f93d11c timers: use chat message for sire stun timer
This makes the timer work more reliably when stuns are stacked
2020-12-24 00:54:30 -05:00
Broooklyn
a9987a21d2 item identification: add Jungle Potion herbs 2020-12-23 09:52:28 +01:00
Malfuryent
a0dec6a632 statusbarplugin: Recolor health bar when infected by a parasite (#12874) 2020-12-23 09:44:16 +01:00
Max Weber
74a881d3a9 music: fix channel mute op name 2020-12-22 04:09:23 -07:00
Adam
175f436f48 ping: place IcmpCloseHandle in finally
If toIntExact() throws then this would leak the handle
2020-12-20 12:54:22 -05:00
pilino1234
ab4cf1afe9 Add alpha channel to color config options where applicable 2020-12-20 00:01:32 -05:00
Adam
b1ebf7814b menu entry swapper: refactor configure shift click menu code to use menu types and ids
This fixes an issue where if the action at the configured shift click action
index was null, which can happen due to item variations, the option.equals()
check would npe, and prevent configuring shift click on the item.
2020-12-19 14:11:27 -05:00
Adam
c05d29424f menu entry swapper: replace some client.getItemDefinition calls with itemManager.getItemComposition 2020-12-19 14:11:16 -05: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
eafaaec07d timers: use pvp varbit to clear teleblock timer 2020-12-18 17:19:47 -05:00
Adam
1d5df7b475 wiki: use script post fired event for hiding wiki banner 2020-12-18 16:40:46 -05:00
Max Weber
ecbcd1b9cc config/PluginHubPanel: show uninstall ui feedback when in safe mode
This normally relies on ExternalPluginsChanged being emitted to rebuild
the ui, but that doesn't happen in safe mode
2020-12-16 11:59:14 -05:00
Fjara - Choppe
9d3a10f7d6 agilityshortcut: fix Neitiznot Bridge agility level requirements
Only the northeast (to the center island mine) requires 40 agility
2020-12-16 11:49:18 -05:00
Koanga
cb82923196 item prices: fix evalulating large platinum token stack prices 2020-12-16 11:44:24 -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
a43a344aca Rename various itemWidget to widgetItem to match class name 2020-12-15 14:30:48 -05:00
Adam
61a36f106f overlay renderer: use viewport bounds for snap corner offsets
The rendered x/y position of the viewport layer is the same as the viewport offsets. This also no longer assumes the x/y offets are the same, even though in practice they always are.
2020-12-15 14:30:47 -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
Adam
78e0cf5392 ci: use mvn verify phase instead of install
Installing the artifacts is not necessary, and
currently we have to remove them from the build
cache to prevent that from growing too large
2020-12-13 11:22:11 -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
Adam
70a2e41db0 Allow overlay renderer to restrict overlay parent bounds
This removes the hack of double setting the widget position in
WidgetOverlay, which was required to override the overlay renderers
clamping code in both overlay drag and in overlay rendering.
2020-12-12 23:46:37 -05:00
Adam
59bccf2c6f overlay renderer: set currentManagedOverlay also when clicking
Requiring the mouse to be moved first causes dead clicks when the mouse is
pressed immediately after entering overlay management mode. Also since
resetOverlayManagementMode() clears the managed overlay, after dragging
an overlay it again requires the mouse to be moved to pick up a click on it
if dragging again or trying to reset the overlay.
2020-12-12 21:04:18 -05:00
Adam
0bf7f33ee0 devtools: assign unique names to debug infoboxes 2020-12-12 21:03:06 -05:00
Adam
eaa16429e5 widget overlay: use the in-game configured position for the xptracker widget 2020-12-12 21:01:43 -05:00
Hydrox6
fa0c5066d3 WidgetOverlay: Make Multicombat Indicator moveable 2020-12-12 16:05:51 -05:00
Paveldin
f9594e5295 fishing: Add crystal and trailblazer harpoon to fishing tool list (#12829) 2020-12-12 19:52:17 +01:00
Broooklyn
aa81261e5d discord: add a few missing regions 2020-12-12 19:49:15 +01:00
Adam
c2d5165709 twitch: fix npe closing client if no socket has been created
If the client is closed prior to the socket being created, or if socket creation fails, this will repeatedly throw out of close() in connect() and is never able to reestablish a connection
2020-12-09 20:13:02 -05:00
Adam
807a22172f barrows: fix reward potential color overlay
The reward text color is meant to show what is the optimal reward percent
for money, assuming that blood runes are best, and death runes are
second best. The percentage thresholds however were incorrect.
2020-12-09 20:00:29 -05:00
Runelite auto updater
096f457d9f Bump for 1.6.36-SNAPSHOT 2020-12-09 12:22:49 +00:00
Runelite auto updater
3ac711ebf7 Release 1.6.35 2020-12-09 12:22:39 +00:00