Commit Graph

4157 Commits

Author SHA1 Message Date
Tomas Slusny
8cbe9dc449 Disable camera zoom by default
Instead of having the plugin enabled and everything inside disabled just
disable it and by default enable 1 option.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-13 17:21:18 +02:00
Max Weber
e8f6a13d13 runelite-client: Allow new screenmarkers to be created
Previously they would get their positions nulled during OverlayManager:add because it loads them from the config
2018-06-13 03:13:30 -06:00
Max Weber
233629f221 runelite-client: Use an ArrayList to store overlays
The TreeSet was removing most overlays (except the ones I tested with) because they
were equal to the comparator.
2018-06-13 03:13:30 -06:00
Max Weber
e0d70ab382 runelite-client: Make OverlayManager thread safe
There was something happening where rebuildOverlayLayers would race itself almost 100% of the time, preventing overlays from being removed.
2018-06-12 21:26:20 -06:00
Adam
e94beb922b Merge pull request #3761 from Adam-/master+clearchat
chat commands: alow clearing words and chat with ctrl w/backspace
2018-06-12 20:05:15 -04:00
Adam
6a4a51988c Merge pull request #3294 from deathbeam/infobox-smaller
Add support for configurable infobox sizes
2018-06-12 20:04:10 -04:00
Adam
9d26d30d5c chat commands: alow clearing words and chat with ctrl w/backspace 2018-06-12 19:57:17 -04:00
Adam
430719cb87 item controller: expose bulk item prices 2018-06-12 19:16:09 -04:00
Tomas Slusny
a672c1694a Add support for configurable infobox size
Add new configuration option to RuneLite settings for setting infobox
size.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-13 01:04:26 +02:00
Adam
634fd91b9f runelite-api: add setVar for setting varclientstr 2018-06-12 18:39:35 -04:00
Tomas Slusny
274b0f235c Change the default size of infoboxes to be smaller
- To follow Konduit style a bit more, change the default size of infoboxes
to be somewhat around 24x24 instead of 36x36.
- Change the margin between infoboxes to 1px

Depends on #2874
Closes #1771 and closes #1016

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-13 00:20:30 +02:00
Tomas Slusny
bd487d4bbf Change InfoBoxOverlay to use PanelComponent
Instead of doing layouting by itself, use PanelComponent and newly added
support for component wrapping and disabling of background.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-13 00:20:30 +02:00
Tomas Slusny
3130e0f254 Add support for preferred location to Panel
- Add support for storing preferredLocation in PanelComponent and
translate children based on it.
- Offset children in PanelComponent by metrics.getHeight by default
- Add null check for background in PanelComponent to support panels
without background

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-13 00:20:28 +02:00
Tomas Slusny
c8d6691d18 Add support for wrapping to PanelComponent
Add support for wrapping at x elements to PanelComponent, depends on
panel component orientation.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-13 00:17:58 +02:00
Adam
73422b2e50 Merge pull request #3140 from deathbeam/split-overlay-renderer-and-manager
Split overlay renderer and manager
2018-06-12 18:03:16 -04:00
Tomas Slusny
013cc54ba2 Merge pull request #3126 from drivfe/bugfix/combinedactionslot
Skill Calc - Fix combined action slot not updating when an input field was changed
2018-06-12 23:51:16 +02:00
Tim Granata
bde2d94770 Add Isafdar dense forest agility boxes north of Tyras Camp (#3731) 2018-06-12 15:47:08 +02:00
Tomas Slusny
41e0b27a99 Make plugins work with new OverlayManager
- Remove the usage of getOverlay and getOverlays
- Replace the overlay addition/removal with correct calls to
overlayManager.add and overlayManager.remove
- Update tests

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 14:40:06 +02:00
Tomas Slusny
921bfb2fdd Split OverlayRenderer logic to OverlayManager
-  Split logic related to populating overlays to OverlayManager and
OverlayRenderer.
- Remove overlay-related logic from plugin, this is going to be handled
via OverlayManager.
- Inject core overlays to OverlayManager via new methods

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 14:29:48 +02:00
Adam
4792e61997 overlay renderer: bound overlays position to viewport at render time instead of at config load time
Fixes overlays being reset when temporarly off screen during loading. Fixes #3571
2018-06-11 21:27:37 -04:00
Adam
2d3766ea3e Merge pull request #2876 from deathbeam/improve-ground-items
Improve ground items
2018-06-11 19:04:52 -04:00
Tomas Slusny
70cbf061ec Add highlight > value, merge hide < ge and ha
- Add highlight > value setting
- Merge hide < GE and hide < HA value and always check for both
- Change the color getting logic to use simple methods instead of checks
spread around the code

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 00:50:39 +02:00
Tomas Slusny
9e41f47fa8 Add full item name clickboxes
- Expand the clickbox for highlighting/hiding item to it's entire name
- Left click on name highlights item, right click hides item
- Highlight background when in highlighting mode of the background item
that is hovered
- In order to help in cluttered environment, bring ground item that is
hovered to front.

These changes makes easy to see what item are you trying to
highlight/hide in cluttered areas.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 00:49:41 +02:00
Tomas Slusny
b24a996263 Remove 4th invalid state from ground boxes
Remove the possibility of having the item both highlighted and hidden
when using the highlight/hidden boxes.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 00:49:41 +02:00
Tomas Slusny
7a3ee8d1c0 Add option to always draw untradeable items
Instead of checking for GE price being above 0, use isTradeable boolean
to determine if the price checks should apply or not and add
configuration value to disable this behaviour.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 00:49:39 +02:00
Tomas Slusny
a1ea91a0c2 Add mappings for isTradeable to ItemComposition
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 00:48:43 +02:00
Tomas Slusny
3a773746dc Show GE and HA only when showing both prices
- Change the price displaying to dropdown menu
- Show (GE:, (HA: only when showing both prices at once, otherwise do
not add label at all

Depends on: #2149

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-06-12 00:48:40 +02:00
Adam
1b84f97b0b Fix genie cryptic clue to display proper requirements 2018-06-11 18:39:23 -04:00
Adam
6377766e26 Merge pull request #3489 from SieBrum/crystal-math-labs-plugin
add CrystalMathLabs plugin.
2018-06-11 15:29:52 -04:00
SieBrum
3cfaacf752 Add CrystalMathLabs plugin 2018-06-11 15:21:56 -04:00
Hydrox6
3996c67ab0 runelite-client: add chat notifications plugin 2018-06-11 10:13:01 -04:00
Adam
b5176d223a Merge pull request #3677 from bmiddle/dev
[Chat Color] Add ability to change public chat friend name color in config
2018-06-10 19:14:36 -04:00
Adam
a8cef262e6 Merge pull request #3701 from Mitchell-Kovacs/ItemOverlay
Change the Jewellery Count plugin to Item Charges and added more options.
2018-06-10 19:08:39 -04:00
Adam
8f3577a368 Merge pull request #3685 from Rman887/boost-notification
Add notification when skill boosts get low
2018-06-10 18:54:19 -04:00
Mitchell Kovacs
e786ef2478 Add counter for fungicide spray #3727 2018-06-10 18:50:11 -04:00
Arman
c6c19e316b Adds notification when boost gets low
Adds a counter in the boost information plugin, which specifies a threshold value for when a boosted skill gets low. When the amount of levels boosted reaches this value, a notification is sent. A value of 0 will disable notification. Solves issue #3449.
2018-06-10 18:45:39 -04:00
Hydrox6
0285c65381 Fix NMZ points overlay appearing in the KBD instance lair 2018-06-10 18:32:43 -04:00
Chris Jimenez
4e6710d6ec Small contributing.md clarification
Update rebase instructions and reference developer guide

[ci skip]
2018-06-10 18:20:27 -04:00
Mitchell Kovacs
00624a8e13 Moved the watering can overlay from tithe farming plugin to item charge plugin. 2018-06-10 17:39:50 -04:00
Mitchell Kovacs
525a0d8577 item charges: add charge warning threshold color configuration 2018-06-10 17:39:50 -04:00
Mitchell Kovacs
912007368c Reworked Jewellery Charge to item charge. 2018-06-10 17:39:49 -04:00
Adam
1fa41c297b Merge pull request #3729 from Timmy-Jim/isafdar-fishing-spots
Add Isafdar fishing spots
2018-06-10 17:17:12 -04:00
Timmy-Jim
1962982337 Add Isafdar fishing spots 2018-06-10 12:19:01 -04:00
Timmy-Jim
12ae1c8fd6 Move BAKED_POTATO to 4 HP healing food (#3724) 2018-06-10 08:56:17 +02:00
Adam
ab1aa4a9a7 Add public chat friend name color in chat color config 2018-06-09 22:41:58 -04:00
Adam
cf9305b1e5 Merge pull request #3706 from Hydrox6/chat-color-pmod
[chat-color] Add support for Public Chat from Mods
2018-06-09 21:38:17 -04:00
Hydrox6
9abb99f81b Fix JColorChooser text not updating properly 2018-06-09 21:35:41 -04:00
Adam
187b757dd5 Merge pull request #1079 from Unmoon/blast-mine-plugin
Add Blast Mine plugin
2018-06-09 19:20:20 -04:00
Unmoon
7d8d67f9f1 Add blast mine plugin 2018-06-09 18:44:55 -04:00
Adam
d3d4f9a95b travis: remove old discord notification [ci skip] 2018-06-09 11:11:33 -04:00