Commit Graph

16734 Commits

Author SHA1 Message Date
Owain van Brakel
6f61e6f89c project(rs-api): Fix virtual level up widgets 2021-10-05 02:41:58 +02:00
Owain van Brakel
eeb463715a Merge remote-tracking branch 'runelite/master' 2021-10-04 05:21:28 +02:00
Adam
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
Owain van Brakel
a8d5aed856 Merge remote-tracking branch 'runelite/master' 2021-10-02 22:12:27 +02:00
Owain van Brakel
82a946d259 Merge remote-tracking branch 'runelite/master' 2021-10-02 05:33:13 +02: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
Owain van Brakel
6faf4f295c Merge remote-tracking branch 'runelite/master' 2021-10-01 15:59:52 +02:00
Max Weber
0c79f847c1 rl-client/RSProfileType: add Shattered Relics profile type 2021-10-01 04:35:44 -06:00
Owain van Brakel
51e984df20 mixins: get clan channel / clan setting by id 2021-10-01 11:21:14 +02:00
Owain van Brakel
3e3ba784ea Merge remote-tracking branch 'runelite/master' 2021-10-01 10:42:22 +02:00
Owain van Brakel
beabb18428 Merge remote-tracking branch 'origin/master' 2021-10-01 10:38:13 +02:00
Owain van Brakel
b0cad55c48 client: Set toggle button size 2021-10-01 10:38:04 +02: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
OP
6890dddf39 add getModulus() to match setModulus used in the private server plugin. (#3043) 2021-09-27 17:15:41 +01:00
Owain van Brakel
4938b84123 feat: biem boem bam 2021-09-26 21:58:11 +02:00
Owain van Brakel
8ab73ae307 Merge remote-tracking branch 'runelite/master' 2021-09-25 03:01:56 +02:00
Owain van Brakel
d6579901c6 api(mixins): More object methods exposed 2021-09-25 03:01:43 +02:00
Owain van Brakel
910ff6c082 Merge remote-tracking branch 'origin/master' into HEAD 2021-09-24 04:20:33 +02:00
Owain van Brakel
f51d7aee6c Merge pull request #3041 from Sundar-Gandu/master 2021-09-24 01:23:59 +02:00
Owain van Brakel
62b58f5e5a Merge remote-tracking branch 'runelite/master' into HEAD 2021-09-24 01:22:12 +02:00
pwatts6060
c08c6d80e8 api: Add contains methods to WorldPoint and WorldArea 2021-09-24 01:18:31 +02:00
Patrick Watts
3a64e1063e screenshot: Add clan member death screenshotting (#14052) 2021-09-24 01:18:31 +02:00
superiorser9
0d0e75b825 screenshot: Capture collection log popup notifications 2021-09-24 01:18:30 +02:00
Owain van Brakel
6df0372290 project: Java 17 support, update deps, rework some stupid logic 2021-09-24 01:18:09 +02: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
Owain van Brakel
7644d5e2d1 Merge remote-tracking branch 'runelite/master' 2021-09-21 04:41:13 +02:00