Commit Graph
2410 Commits
Author SHA1 Message Date
zeruth ceb8359ca1 add ability to hide npc by index value - andrewterra 2021-01-21 22:55:52 -05:00
TheRealNull 04d31f5e02 api: null arms widget 2021-01-20 12:08:28 -08:00
TheRealNull 0147abf768 project: upstream 2021-01-20 12:04:14 -08:00
Tyler Bochard 402c386060 Merge pull request #2898 from open-osrs/upstream
project: upstream, fix git history, extract some of our api
2021-01-14 15:10:28 -05:00
TheRealNull a2a295a054 Merge remote-tracking branch 'upstream/master' into runelite
Also pulled out a couple of our merged apis into our own classes. Getting much easier to keep up to date with their data

# Conflicts:
#	.github/FUNDING.yml
#	.github/workflows/CI.yml
#	cache-client/pom.xml
#	cache-updater/pom.xml
#	cache/pom.xml
#	cache/src/main/java/net/runelite/cache/fs/jagex/DiskStorage.java
#	ci/build.sh
#	http-api/pom.xml
#	http-service/pom.xml
#	http-service/src/main/java/net/runelite/http/service/chat/ChatController.java
#	http-service/src/main/java/net/runelite/http/service/config/ConfigController.java
#	http-service/src/main/java/net/runelite/http/service/config/ConfigService.java
#	http-service/src/main/java/net/runelite/http/service/ge/GrandExchangeController.java
#	http-service/src/main/java/net/runelite/http/service/ge/Trade.java
#	http-service/src/test/java/net/runelite/http/service/config/ConfigServiceTest.java
#	http-service/src/test/java/net/runelite/http/service/hiscore/HiscoreServiceTest.java
#	pom.xml
#	runelite-api/pom.xml
#	runelite-api/src/main/java/net/runelite/api/Client.java
#	runelite-api/src/main/java/net/runelite/api/ObjectID.java
#	runelite-api/src/main/java/net/runelite/api/ParamHolder.java
#	runelite-api/src/main/java/net/runelite/api/ParamID.java
#	runelite-api/src/main/java/net/runelite/api/Preferences.java
#	runelite-api/src/main/java/net/runelite/api/ScriptEvent.java
#	runelite-api/src/main/java/net/runelite/api/ScriptID.java
#	runelite-api/src/main/java/net/runelite/api/SettingID.java
#	runelite-api/src/main/java/net/runelite/api/StructComposition.java
#	runelite-api/src/main/java/net/runelite/api/StructID.java
#	runelite-api/src/main/java/net/runelite/api/Varbits.java
#	runelite-api/src/main/java/net/runelite/api/events/PlayerChanged.java
#	runelite-api/src/main/java/net/runelite/api/events/PostStructComposition.java
#	runelite-api/src/main/java/net/runelite/api/events/WidgetClosed.java
#	runelite-api/src/main/java/net/runelite/api/events/WidgetHiddenChanged.java
#	runelite-api/src/main/java/net/runelite/api/events/WidgetPositioned.java
#	runelite-api/src/main/java/net/runelite/api/events/WorldChanged.java
#	runelite-api/src/main/java/net/runelite/api/widgets/Widget.java
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetID.java
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetInfo.java
#	runelite-api/src/main/java/net/runelite/api/widgets/WidgetModalMode.java
#	runelite-api/src/test/java/net/runelite/api/plugins/combatlevel/CombatLevelOverlayTest.java
#	runelite-client/pom.xml
#	runelite-client/src/main/java/net/runelite/client/RuneLiteModule.java
#	runelite-client/src/main/java/net/runelite/client/callback/Hooks.java
#	runelite-client/src/main/java/net/runelite/client/plugins/config/PluginToggleButton.java
#	runelite-client/src/main/java/net/runelite/client/plugins/customcursor/CustomCursor.java
#	runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperConfig.java
#	runelite-client/src/main/java/net/runelite/client/plugins/mta/alchemy/AlchemyRoomTimer.java
#	runelite-client/src/main/java/net/runelite/client/plugins/tearsofguthix/TearsOfGuthixOverlay.java
#	runelite-client/src/main/java/net/runelite/client/plugins/tearsofguthix/TearsOfGuthixPlugin.java
#	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableHeader.java
#	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldTableRow.java
#	runelite-client/src/main/java/net/runelite/client/ui/ClientUI.java
#	runelite-client/src/main/resources/net/runelite/client/runelite.properties
#	runelite-client/src/main/scripts/OptionsPanelZoomUpdater.hash
#	runelite-client/src/test/java/net/runelite/client/config/ConfigManagerTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/chatcommands/ChatCommandsPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/chatfilter/ChatFilterPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/chatnotifications/ChatNotificationsPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/discord/DiscordStateTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/grandexchange/GrandExchangePluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/screenshot/ScreenshotPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/specialcounter/SpecialCounterPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/plugins/timers/TimersPluginTest.java
#	runelite-client/src/test/java/net/runelite/client/util/ColorUtilTest.java
#	runelite-script-assembler-plugin/pom.xml
2021-01-14 14:41:17 -05:00
Burak ab46bcabe4 Add DialogProcessed event 2021-01-13 21:14:03 +01:00
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
TheRealNull e440cad52f client: upstream 2021-01-10 12:08:49 -05:00
Chad J. Lewis b27bb9fab3 WidgetInfo: Remove unused SHOP_ITEMS_CONTAINER definition (#13011) 2021-01-06 18:34:16 +00:00
Runelite auto updater f9aa8d7eee Bump for 1.6.37-SNAPSHOT 2021-01-06 14:58:50 +00:00
Runelite auto updater 4b4eb6f3a0 Release 1.6.36 2021-01-06 14:58:41 +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
TheRealNull b5bb349259 project: we are actually up to date now, thanks blue! 2021-01-04 06:58:20 -05:00
TheRealNull 74eb59388e project: music plugin bs staging 2021-01-04 03:04:29 -05:00
TheRealNull 517878046d project: loose ends -blue 2021-01-04 02:13:56 -05:00
TheRealNull d62af89798 project: wrap up loose ends in api, upstream to fix the broken things 2021-01-04 01:52:35 -05:00
TheRealNull 02b856556c project: bringup api - thank you blue! 2021-01-04 01:25:09 -05:00
TheRealNull 1d461f38ff staging 2021-01-03 17:54:32 -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
TheRealNull d57d190ef0 project: upstream to d314c0ecee 2020-12-28 16:09:17 -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
TheRealNull b49b1b90d9 runelite-client: upstream to 85a953e76b 2020-12-24 23:18:21 -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
TheRealNull 7e4976b6af client: remove geometry test (not worth cpu time), handle plugins out of package 2020-12-24 15:18:04 -05:00
Malfuryent a0dec6a632 statusbarplugin: Recolor health bar when infected by a parasite (#12874) 2020-12-23 09:44:16 +01:00
ThatGamerBlue 28d63e6c04 checkstyle: fix 2020-12-22 15:05:54 +00:00
TheRealNull 473fe2fa43 upstream 2020-12-19 17:52:08 -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 1d5df7b475 wiki: use script post fired event for hiding wiki banner 2020-12-18 16:40:46 -05:00
therealunull b6f47eb581 poh, questlist, skybox, wiki, worldhopper, worldmap, zalcano 2020-12-16 16:03:03 -05:00
therealunull 5d7bf6aa54 mes, metronome, npchighlight, npcunaggroarea, objectindicators 2020-12-16 15:28:24 -05:00
therealunull fc1c0799bd banktags, cooking, xpdrop, fishing, friendnotes 2020-12-16 14:49:04 -05:00
therealunull 3be6ba5cc0 slayer 2020-12-16 14:27:14 -05:00
therealunull 665259b5e5 upstream keyboard bankpin, enforce dev mode 2020-12-16 14:12:20 -05:00
therealunull 39d0c2e15a api: add getVarpValue(i) 2020-12-16 08:37:10 -05:00
therealunull da96331491 upstream drawAfterWidgets 2020-12-15 15:24:06 -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
therealunull 211bae7797 fix drawAfterWidgets 2020-12-15 01:14:44 -05:00
therealunull 04041491fc timers 2020-12-14 15:49:52 -05:00
therealunull ce8c0cbb64 camera 2020-12-14 09:16:20 -05:00