Commit Graph

2733 Commits

Author SHA1 Message Date
Adam
c25520e8a2 Merge pull request #959 from deathbeam/tooltip-right
Move tooltip to the right of the mouse
2018-03-23 15:13:06 -04:00
Adam
6e5751b71a Merge pull request #1006 from Infinitay/kingdom-of-miscellania
Added Kingdom of Miscellania plugin
2018-03-23 13:44:22 -04:00
Tomas Slusny
f15c550d83 Move tooltip to the right-bottom of the mouse
- Move tooltip default position to right-bottom of mouse cursor
- Automatically adjust cursor position based on space around the tooltip
- Remove the ability from Tooltip manager to have other tooltips other
than mouse tooltips (for custom-positioned tooltips use tooltip
component directly)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 18:28:10 +01:00
Infinitay
ab7dbf4fa6 Added Kingdom of Miscellania plugin 2018-03-23 13:26:01 -04:00
Adam
0f19d53dcc Merge pull request #1077 from deathbeam/instance-map-fixed
Instance map improvements + moving
2018-03-23 13:22:26 -04:00
Adam
6f959e3f1f Merge pull request #1071 from deathbeam/movable-overlays-improvements
Movable overlays improvements
2018-03-23 13:21:44 -04:00
Tomas Slusny
f2e1ab5bfe Remove not needed parent point and minimap orb
- Remove not needed parent point parameter in RenderableEntity, it's
usage has been replaced with getBounds().getLocation()
- Remove unused class minimap orb

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:50:43 +01:00
Tomas Slusny
a05650cd31 Disable overlay dragging mode on focus lost
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:36:42 +01:00
Tomas Slusny
adf4c5bc80 Make unsetConfiguration non-blocking
Send saving of the unsetConfiguration call to client to different thread
using ExecutorService to not block when it is called.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 17:17:51 +01:00
Adam
25e9eb8256 Merge pull request #1064 from Abextm/configsync
configmanager: Synchronize disk access
2018-03-23 12:03:54 -04:00
Tomas Slusny
1554fe01e7 Instance map improvements + moving
- Change instance map to resize on "fixed" layer so it can be layouted
- Scroll minimap only when mouse is in the minimap bounds

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 15:45:48 +01:00
Tomas Slusny
143762f4a6 Change multiple overlay lists to map
Change multiple overlay list definitions to use synchronized map with
layers and list of overlays to simplify the implementation a bit.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 15:19:08 +01:00
Tomas Slusny
c3eddf02a8 Improve caching of game-related variables
- Add caching for chatbox bounds
- Use cache variables when calculating OverlayBounds
- Cache everything at once when needed in the caching method without
early returns

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 13:32:09 +01:00
Tomas Slusny
4a8af3d049 Create translated copy of OverlayBounds
- Add new method to OverlayBounds for translating them that will return
translated copy of the bounds
- Use this new method in OverlayRenderer to prevent mutations of
OverlayBounds, what are not desired
- Use stored overlay bounds in mouse events and translate them by making
new copy

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 12:06:46 +01:00
Tomas Slusny
553fee70c4 Calculate overlay bounds also for dynamic overlays
In order to use their's bounds later, calculate the bounds for dynamic
and tooltip overlays too.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-23 11:59:01 +01:00
Max Weber
b0435f11c3 configmanager: synchronize disk access 2018-03-23 01:39:48 -06:00
Adam
3d15de294b Merge pull request #989 from deathbeam/movable-overlays
Add support for movable overlays
2018-03-22 21:22:18 -04:00
Adam
add6db5d7e Add movable overlay support
This overhauls most of the overlay renderer to do so. There are 4 (or 5) "snap corners" that let overlays change their position, or you can set a custom location which is at a set x/y.

Calculate which layer overlays are on up front and build separate lists for each layer. The fixed-point under-widget overlays are moved to above-widget so that they work when moved above the interfaces.
2018-03-22 21:10:35 -04:00
Adam
91c3925867 config manager: add get and set configuration methods for objects 2018-03-22 21:06:13 -04:00
Tomas Slusny
10629bfa4a Add support for getting real canvas dimensions
In stretched mode the canvas dimensions are the stretched dimensions, so
add method that will return normal game dimensions in case stretched
mode is enabled and we are not in resizeable mode.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 21:03:45 -04:00
Tomas Slusny
0c5cde0894 Add support for points to ConfigManager
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 21:02:21 -04:00
Adam
81553b61c4 config manager: check for invalid keynames in loadFromFile
Copy properties before advertising config changed events to prevent ConcurrentModificationException
2018-03-22 12:54:44 -04:00
Adam
d049ad7bfb Merge pull request #1044 from SoyChai/master
Expand list of skill abbreviations for the !Lvl command
2018-03-22 10:14:25 -04:00
SoyChai
2ca2ac0b30 Expand list of skill abbreviations for the !Lvl command 2018-03-22 09:59:20 -04:00
Adam
5bbea1fdc9 Merge pull request #1036 from Joshua-F/refactor/rename-vars
Rename widgetSettings and settings
2018-03-22 08:49:16 -04:00
Adam
1b219266c4 Merge pull request #1035 from ShaunDreclin/menuentryswapper-silver-sickle
Add Silver sickle(b) to menu entry swapper plugin.
2018-03-22 08:46:04 -04:00
Adam
989aa89413 Merge pull request #1026 from Abextm/holy-wrench
itemstats: Support holy wrench effect
2018-03-22 08:43:57 -04:00
Runelite auto updater
6ad6edd7cc [maven-release-plugin] prepare for next development iteration 2018-03-22 12:06:36 +00:00
Runelite auto updater
0e2e5235df [maven-release-plugin] prepare release runelite-parent-1.3.1 2018-03-22 12:06:32 +00:00
Joshua Filby
aaed0c98ad refactor: rename get/set settings to get/set varp 2018-03-21 17:55:20 -05:00
Adam
ce2fdca64a Merge pull request #1043 from deathbeam/plugin-naming
Consistent plugin naming
2018-03-21 18:49:06 -04:00
Joshua Filby
70ddd2d4a3 fix: hook clientVarps instead of settings 2018-03-21 17:39:37 -05:00
Joshua Filby
8ee3de283c refactor: remove unnecessary Client#getSettings(), use Client#getVarps()
These two methods would return the same values for a majority (if not all) of the time. The backing
arrays for both of these are synchronized when the server sends the packet to set a varp value.
2018-03-21 17:36:31 -05:00
Joshua Filby
8c7beffb46 refactor: rename settings to serverVarps 2018-03-21 17:32:20 -05:00
Joshua Filby
abb1996c4e refactor: rename widgetSettings to clientVarps 2018-03-21 17:29:28 -05:00
Tomas Slusny
ca2034f94c Set description to Agility plugin
Remove "Placeholder" description and replace it with real description.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 16:27:36 +01:00
Tomas Slusny
03aebec1a9 Rename NPC Highlightign to NPC indicators
For consistent plugin naming this plugin should be named NPC Indicators
to follow the naming of Tile Indicators and Player Indicators.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 16:27:35 +01:00
Tomas Slusny
9dcbe47b5d Title-case chat commands plugin name
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-21 10:35:47 +01:00
ShaunDreclin
7d074855e5 Add Silver sickle(b) to menu entry swapper plugin. 2018-03-21 03:19:06 -04:00
Max Weber
0a4dc4b3fc itemstats: Support holy wrench effect 2018-03-20 21:26:43 -06:00
Cas
d12a6878ad Agility plugin: Agility configuration with Select Color 2018-03-20 20:51:13 -04:00
XrioBtw
125a527e37 Fix net and harpoon swap for all fishing spots 2018-03-20 20:41:25 -04:00
Adam
0041927689 Merge pull request #1021 from ChaoticConundrum/alt-tab-fix
Fix Groud Items plugin Alt+Tab bug
2018-03-20 20:26:03 -04:00
Charlie Waters
2316453ebc Fix Groud Items plugin Alt+Tab bug by hooking FocusChanged event 2018-03-20 20:02:43 -04:00
Charlie Waters
20fbd5f5a0 Add FocusChanged event from runescape client 2018-03-20 20:02:43 -04:00
Adam
da0f86f165 Merge pull request #939 from McSwindler/npc-plugin-branch
NPC Highlight Plugin
2018-03-20 18:41:57 -04:00
Adam
1923671bb1 runelite-client: add npc highlight plugin 2018-03-20 18:19:49 -04:00
Adam
93638de6b8 utils: add wildcard matcher from grounditems 2018-03-20 18:19:49 -04:00
Adam
6fe87ae386 devtools: remove double npc transform call 2018-03-20 18:19:48 -04:00
Adam
257822aea0 Add npc menu options to MenuManager 2018-03-20 18:19:48 -04:00