Commit Graph
11063 Commits
Author SHA1 Message Date
Adam c16172e508 api: add widget classes to runtime exclusions 2021-10-05 12:55:38 -04:00
38f1d2e71f ui: recompute minimum size after frame restore
Without this, the minimum size will be the same size as was prior to
maximizing the frame. If the side bar or panel is opened or closed when
maximized this can cause the minimum size to be incorrect after a
restore.

Co-authored-by: Mark Koester <mark.koester1@gmail.com>
Co-authored-by: Jeremy Plsek <jeremyplsek@gmail.com>
2021-10-04 12:51:18 -04:00
Jordan Atwood 1efdf4a6fd cluescrolls: Add X Marks The Spot quest solutions 2021-10-04 12:26:32 -04:00
Arnaud Peralta 185681fd2f roof removal: Add Weiss override (#14177) 2021-10-04 15:22:42 +00:00
Brett 8649a197be slayer: Add duck as alternative for bird task (#14224) 2021-10-04 15:14:23 +00:00
AdamandJason Barr 5fc784f082 item charges: fix rof tracking with varrock platebody
When the varrock armour effect triggers it will smelt two bars at once,
using two charges, unless there is only one ore remaining where it will
use only one charge.

Co-authored-by: Jason Barr <58792686+JBarr2710@users.noreply.github.com>
2021-10-03 22:49:42 -04:00
Adam 4ca3db6358 Fix ground marker minimap overlay position
The ground marker minimap overlay gets a local point for the tile to mark from fromWorld()
and passes it to localToMinimap() - but because the adjustment of -1, when the player position
is subtracted from it to compute the minimap location it causes the computed position to be off
by a full tile.

Additionally, drawRect() width and height is inclusive so the width/height must be subtracted by 1
2021-10-01 19:09:03 -04:00
Max Weber e98c3da758 rl-client: use vanilla ItemComposition cache 2021-10-01 16:59:36 -04:00
Jordan Atwood bb7cd404a7 chat colors: Add engine message recoloring 2021-10-01 11:24:29 -07:00
Max Weber 0c79f847c1 rl-client/RSProfileType: add Shattered Relics profile type 2021-10-01 04:35:44 -06:00
Adam e60ce99081 spec counter: add Dinh's bulwark 2021-09-30 17:47:09 -04:00
Adam 8d537cabf1 api: add clan ids and accessors 2021-09-30 16:37:35 -04:00
Hydrox6 c1f442e36e gpu: display device and driver being used during plugin startup 2021-09-29 18:38:31 -04:00
Adam b6316b4772 api: move Favour to achievementdiary plugin 2021-09-29 10:23:36 -04:00
evaan 9209de31e2 skill calculator: Add bonecrusher prayer bonus 2021-09-28 20:03:51 -07:00
dekvall 1294984dce skill calculator: Add common thieving chests 2021-09-28 19:51:53 -07:00
neatclient12345 546cd6daf8 skill calculator: Fix grammar 0-action selections (#13995) 2021-09-29 02:43:31 +00:00
Jordan Atwood ac8f778307 skill calculator: Add ItemSkillAction interface
This interface allows for drastically simplified skill actions, allowing
us to eschew their name entries in favor of looking up the item name
using the items' compositions (fetched from their IDs) at runtime.
2021-09-28 22:05:00 -04:00
Jordan Atwood 7b678b2afb skill calculator: Define actions and bonuses in Java
As the number of bonus types increases, the existing system of allowing
only a single type of bonus to be applied, and only allowing actions to
entirely opt out of having bonuses applied rather than more fine-grained
control, is showing its age. This commit redefines all bonus and action
entries in Java enums so that such systems can be better-defined.
Additionally, it comes with the benefit of easier change validation via
testing and enabling item and sprite ID referencing via runelite-api.
2021-09-28 22:05:00 -04:00
Jordan Atwood 6428a7af4f skill calculator: Code cleanup 2021-09-28 22:05:00 -04:00
LlemonDuck b496f9e4e8 chatcommands: cg shorthand for corrupted gauntlet 2021-09-28 21:59:38 -04:00
Adam 87dda2d54e api: mark runtime classes as final 2021-09-28 20:19:01 -04:00
Adam 31007d3437 api: add runtime jar
This jar excludes classes we know can never be referenced at runtime, which currently takes the resulting jar from 1.1MB to .3MB
2021-09-28 20:18:40 -04:00
geheur 6f4da3fd34 menu swapper: add extra op swapping for deposit box 2021-09-27 22:51:48 -04:00
Adam 8c2d7bd2f4 perspective: refactor localToCanvas
Use variable namings from modelToCanvas
2021-09-22 15:07:41 -04:00
Adam 3d79ab60a2 perspective: add gpu projection for modelToCanvas
GPU uses an alternative projection to avoid vertex snapping. Usually
this doesn't matter much, and in the worst case causes the discrepancy
to be only a few pixels, but with the model outline feature it causes
the outlines to be noticibly off when GPU is enabled.

This adds a second model-to-canvas method using the alternative
projection and uses it when GPU is enabled.
2021-09-22 15:01:41 -04:00
Adam 4cab29cf2f api: remove cachedModels2 and nodecache setters
This is being moved internally since it benefits areas like the farming guild even with gpu off
2021-09-21 11:09:51 -04:00
Adam 642677d6e2 http-service: assign name to scheduler thread 2021-09-21 11:02:15 -04:00
Adam 1505f34ace Update okhttp to 3.14.9 2021-09-21 10:58:56 -04:00
Jordan ba9af40a1e Merge pull request #13211 from pwatts6060/location-util3
Add new utility methods for checking if world points are inside world areas
2021-09-21 08:07:15 +00:00
pwatts6060 9c7fade732 api: Add contains methods to WorldPoint and WorldArea 2021-09-21 01:01:37 -07:00
Patrick Watts 86cda7de0b screenshot: Add clan member death screenshotting (#14052) 2021-09-21 07:41:54 +00:00
Jordan 1b49afa56b Merge pull request #14019 from superiorser9/notification-screenshot
ScreenshotPlugin: support collection log popup
2021-09-21 07:34:24 +00:00
superiorser9 8345f6c7bd screenshot: Capture collection log popup notifications 2021-09-21 00:28:13 -07:00
Christian Bullandchristianbull-maxx c5d4c757f1 agility shortcut: include grapple rocks in observatory shortcut
Co-authored-by: christianbull-maxx <christian.bull@maxxpotential.com>
2021-09-19 16:44:08 -04:00
Adam fc183c13af xp tracker overlay: treat counter=off progressbar=off as hidden
If the xptracker is shown, but both counter and progress bar set to off, the xp tracker layer is not actually hidden but only has hidden children. This causes the overlay renderer to layout things around the invisible xptracker. Avoid this by checking the vars for the xptracker to see if it is hidden or not.
2021-09-19 15:44:49 -04:00
Jordan Atwood 763db213a2 skybox: Show surface color while in Prifddinas 2021-09-19 15:10:12 -04:00
Jordan Atwood d27f5f9a76 api: Add getMirrorPoint to WorldPoint API 2021-09-19 15:10:12 -04:00
Jordan Atwood 847c44c44c status bars: Clean up rendering code 2021-09-16 15:35:49 -07:00
Jordan Atwood 3c009c8f54 status bars: Fix left bar Y offset
Due to an apparent typo, the wrong value was being referenced for the
left bar's Y offset specifically for the resizable viewport with bottom
line interfaces. This commit fixes this reference and the associated
value.
2021-09-16 15:35:49 -07:00
Adam df231d1ff9 xtea: skip unknown map regions
The client will include keys 0,0,0,0 for unknown map regions, which should just be skipped over instead of failing the entire request
2021-09-16 17:12:49 -04:00
Jordan b7e1496bff Merge pull request #14115 from Hydrox6/cannon-not-mine
cannon: update cannon location when interacting with the player's cannon
2021-09-15 05:27:44 +00:00
Jordan 3505106319 Merge pull request #12511 from Nightfirecat/support-treasure-chest-inventory-overlays 2021-09-15 04:40:38 +00:00
Jordan Atwood b1d5fa32a4 client: Support POH treasure chest inventory overlays 2021-09-14 21:34:35 -07:00
Jordan Atwood 006fd8c864 widgets: Add POH treasure chest widget IDs 2021-09-14 21:34:29 -07:00
Hydrox6 4f7d840754 cannon: update cannon location when interacting with the player's cannon
When interacting with another player's cannon, a completely different
message is returned. Using this, if we ever get a normal cannon message
after clicking on a cannon, we can be 100% certain that it is ours.
2021-09-15 01:06:37 +01:00
Jordan 59c3dcd291 Merge pull request #14125 from TalSk/jormungand-cannon-spot 2021-09-14 21:26:08 +00:00
Tal Skverer d8c451a55d cannon: Increase max distance for cannon overlays 2021-09-14 14:20:56 -07:00
Tal Skverer d056a02508 cannon: Add Dagganoth spots in Jormungand prison 2021-09-14 14:20:06 -07:00
Adam 4e0211b490 ground markers: add fill opacity config 2021-09-14 11:40:57 -04:00