- Instead of writing rotation and inverse rotation methods twice, simply
pass inversed rotation to rotate method
- Do not create canvasTilePoly 2 times
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
After changes to artifacts names, fix shading of runelite-client to make
it keep everything that is required.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
The in game overlay is positioned top-left in resizable mode, which covers up everything positioned there. This will create an overlay similiar to the in-game one that can be moved/positioned anywhere
To force requirement of having location for every object ID, make object
clue scrolls always extend location clue scrolls.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Instead of using object world locations and using query to find
objects, if object clue also has location, just find all objects on tile
on that clue's location and check if ID is matching
- Fix varrock west bank cryptic clue (what was used also during testing)
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- When there is 0 deposits left/sack is completely full color the entire
panel red for strong visual indicator to stop mining immediately
- When there is 1 deposit left, color the line with deposit red to
indicate that you are close to sack being full and after this inventory
you should bank
Closes#1702
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
The MouseEvent constructor says in its documentation to pass the extended modifiers. This contains alt, ctrl, meta, etc. Doing this also requires passing down the button pressed in the constructor.
Fixes#1618
The default sort of fishing spots ends up drawing further things on top
of closer things, as it has no relation to the camera.
To solve this, convert the camera point to a `LocalPoint` and then
sort by comparing local points from the NPC to the camera's point.
However, the sort is inverted by `-1 *` so that further things are drawn
first, and closer things are drawn last--this way closer things are
always on top.
Fixes#1737