Commit Graph

4725 Commits

Author SHA1 Message Date
Max Weber
d581f3e55e runelite-client: Make hotkeys run on KeyPressed
Finding when keyUp actually happens is difficult because you have to store state to tell if a key is up on modifier or it's optional non-modifier. The current implementation is good enough for masking events, but not accurate enough for generating them

Fixes #4513
2018-07-31 02:16:12 -06:00
Abex
e86b2f9a48 Merge pull request #4583 from Nightfirecat/fix-achievement-diary-plugin-requirements
Fix achievement diary plugin requirements
2018-07-30 15:42:20 -06:00
Jordan Atwood
85bbbf9d96 achievement diary plugin: Fix waka canoe requirement 2018-07-30 12:25:14 -07:00
Jordan Atwood
af4bc0242f achievement diary plugin: Fix Belladonna farming req 2018-07-30 12:24:52 -07:00
Tomas Slusny
0217d5a6af Merge pull request #4575 from deathbeam/fix-plane-for-tile-objects
Account for plane in TileObject canvas location
2018-07-30 17:14:19 +02:00
Tomas Slusny
676b2cf5d2 Account for plane in TileObject canvas location
Fixes #4571

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-30 16:36:58 +02:00
Tomas Slusny
9c0671affc Merge pull request #4481 from deathbeam/add-time-measurement
Add simple info log with startup time
2018-07-30 11:55:29 +02:00
Tomas Slusny
37be586202 Merge pull request #4558 from deathbeam/fix-null-and-emtpy-names
Fix NPE when trying to draw null names
2018-07-30 10:32:01 +02:00
Tomas Slusny
c777b63357 Merge pull request #4072 from Nightfirecat/improve-player-comparison-text-color
Add color utility class
2018-07-30 08:46:48 +02:00
Mitch Barnett
5c003584d2 Add Meyerditch to agility obstacles (#4538) 2018-07-30 08:38:21 +02:00
Juul Damen
326890cb7a Add missing killcount command config (#4489)
Add missing toggle for enabling !kc command to chat commands config
2018-07-30 08:09:21 +02:00
Tomas Slusny
fb72406100 Merge pull request #4420 from MagicfTail/patch-1
TimerPlugin: Fix prayer enhance length
2018-07-30 08:06:30 +02:00
Tomas Slusny
5adb2d2e37 Add null check for Perspective.getCanvasTextLoc
We have marked it as Nonnull but we were still sending null values
inside because of NPC name sometimes being null. Make the param nullable
and add null and empty check.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-30 00:19:10 +02:00
Tomas Slusny
7faa23e289 Merge pull request #4534 from deathbeam/use-providers
Properly use javax.inject.Provider
2018-07-29 23:48:59 +02:00
Tomas Slusny
1c13a1bde4 Fix NPE when trying to draw null names
Fix null pointer exceptions when trying to draw null names on screen.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-29 23:45:56 +02:00
Tomas Slusny
aa75201fe4 Merge pull request #4479 from deathbeam/remove-revalidate-move-frame
Pack and show frame only after properties update
2018-07-29 14:36:04 +02:00
Adam
1d9b1375a2 Merge pull request #4320 from jkybtw/minnow-plugin
fishing plugin: add minnows overlay
2018-07-28 20:33:26 -04:00
Tomas Slusny
a934cc4667 Pack and show frame only after properties update
- Instead of packing frame first and then resizing and revalidating it,
pack it at the end so there is no overhead of resize and repaint events.
This save another like 200ms from startup time.
- Validate screen bounds after setting them to minimum size
- Update frame config after window custom chrome is set

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-28 17:52:40 +02:00
Tomas Slusny
bb55d9f52a Properly use javax.inject.Provider
Instead of using providers in classes that should not be even used when
the optional dependencies are not present, move all Provider<> injects
to RuneLite (and to other top-level classes in other cases).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-28 16:25:18 +02:00
Tomas Slusny
9ee6989aa3 Merge pull request #4507 from deathbeam/fix-toolbars
Use consistent API and order for title and sides
2018-07-28 16:12:25 +02:00
Adam
f94af03a48 fishing plugin: add position to config 2018-07-27 23:05:23 -04:00
Adam
d9ca9f5060 fishing plugin: add minnows overlay
This shows a progress pie on how much time is left before the minnow
moves

Co-authored-by: Jacky <liangj97@gmail.com>
2018-07-27 23:05:22 -04:00
Kristian Welsh
5fe8033dc1 overlay util: adjust renderMinimapLocation for newer worldToMinimap 2018-07-27 18:30:30 -04:00
Adam
042c99d3d0 perspective: change worldToMinimap location calculation back
This is how the client calculates positions for npcs/players. Originally I had thought it fixed an issue with minimap overlays being off, but it was due to the constants we were using in worldToMinimap being off in order to account for renderMinimapLocation being wrong
2018-07-27 18:26:38 -04:00
Adam
6c7ea1f834 runelite-mixins: correct worldToCanvas arguments
The 'plane' is no longer actually a z offset
2018-07-27 18:26:38 -04:00
Adam
045146b122 perspective: fix checkstyle 2018-07-27 18:26:38 -04:00
Adam
cca977f784 perspective: fix getCanvasTileAreaPoly when getting tile next to a bridge
Pick the plane of the given tile and use it for all height calculations
2018-07-27 16:59:23 -04:00
Adam
0b8857d4de perspective: split tile height logic out of local to world 2018-07-27 16:59:22 -04:00
Adam
bed529d9cd Revert "perspective: fix regression caused by 2599db2"
This reverts commit d6906e735b.
2018-07-27 13:27:56 -04:00
Adam
b6954e0703 perspective: use less magic constants in getTileHeight 2018-07-27 11:31:17 -04:00
Adam
41996c181e Revert "perspective: fix worldToCanvas to convert from local to scene coords correctly"
This reverts commit 4ecf45f19e.
2018-07-27 09:15:15 -04:00
Tomas Slusny
dfcbece66b Add simple info log with startup time
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-27 12:10:08 +02:00
Tomas Slusny
d7b78936de Merge pull request #4519 from devinfrench/kourendlibrary
kourend library plugin: Use correct enum naming convention
2018-07-27 10:13:44 +02:00
Tomas Slusny
96036d17d0 Merge PluginToolbar and TitleToolbar together
Because of new isTab property there is no need to separate the toolbars
anymore as it can be decided which one to add where based on it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-27 10:00:08 +02:00
Tomas Slusny
7864522210 Add isTab property to title buttons
In order to differentiate between title and sidebar buttons in sidebar
add isTab property that will place them after separator.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-27 08:35:22 +02:00
Jacob McElroy
64f00270ea Fix dig location of the West Barbarian Village H/C clue (#4524) 2018-07-27 08:21:53 +02:00
Tomas Slusny
af1e16fa34 Merge pull request #4523 from Nightfirecat/fix-abyssal-demon-task-requirement
achievement diary plugin: Fix Abyssal demon req
2018-07-27 08:05:06 +02:00
Jordan Atwood
b90261f524 achievement diary plugin: Fix Abyssal demon req
Fixes runelite/runelite#4522
2018-07-26 20:09:48 -07:00
Jordan Atwood
1d0702e19d slayer plugin: Use ColorUtil functions 2018-07-26 19:51:32 -07:00
Jordan Atwood
3f67ed04c8 rune pouch plugin: Use ColorUtil functions 2018-07-26 19:51:32 -07:00
Jordan Atwood
0ef1adeaaa puzzle solver plugin: Use ColorUtil functions 2018-07-26 19:51:31 -07:00
Jordan Atwood
a9d29a70f4 player indicators plugin: Use ColorUtil functions 2018-07-26 19:51:30 -07:00
Jordan Atwood
83d3237780 menu entry swapper plugin: Use ColorUtil functions 2018-07-26 19:51:28 -07:00
Jordan Atwood
4d0480ef24 item stats plugin: Use ColorUtil functions 2018-07-26 19:51:27 -07:00
Jordan Atwood
5c2251643c item prices plugin: Use ColorUtil functions 2018-07-26 19:51:26 -07:00
Jordan Atwood
8280654c88 inventory tags plugin: Use ColorUtil functions 2018-07-26 19:51:25 -07:00
Jordan Atwood
f43a2e0162 ground items plugin: Use ColorUtil functions 2018-07-26 19:51:23 -07:00
Jordan Atwood
be91d3ce26 friend notes plugin: Use ColorUtil functions 2018-07-26 19:51:22 -07:00
Jordan Atwood
c898fda923 boosts plugin: Use ColorUtil functions 2018-07-26 19:51:21 -07:00
Jordan Atwood
339ece742c achievement diary plugin: Use ColorUtil functions 2018-07-26 19:51:20 -07:00