Commit Graph

4806 Commits

Author SHA1 Message Date
Jordan Atwood
c8ba452c84 screenshot plugin: Use Sprite ID for overlay image 2018-08-04 01:10:59 -07:00
Jordan Atwood
24bc03bb1d raids plugin: Use Sprite ID for raids timer 2018-08-04 01:10:58 -07:00
Jordan Atwood
470966d0d6 puzzle solver plugin: Use Sprite ID for overlay image 2018-08-04 01:10:56 -07:00
Jordan Atwood
39ac378f4d kingdom plugin: Use Item ID for overlay image 2018-08-04 01:10:55 -07:00
Jordan Atwood
ef4ce9708e hiscores plugin: Remove duplicate skill icon images 2018-08-04 01:10:54 -07:00
Jordan Atwood
2ccb2c7f5b fight caves plugin: Use Sprite IDs for overlay images 2018-08-04 01:10:52 -07:00
Jordan Atwood
99e2d766d6 death indicator plugin: Use Item IDs for overlays 2018-08-04 01:10:51 -07:00
Jordan Atwood
ecea2e28ca clue scroll plugin: Use Item IDs for overlays 2018-08-04 01:10:49 -07:00
Jordan Atwood
bcaa92905f agility plugin: Use Item ID for arena timer 2018-08-04 01:10:48 -07:00
Jordan Atwood
ff31ffef01 plugins: Use shared clue arrow and reset images
These images are used throughout multiple plugins, thus are moved to a
new utility directory.
2018-08-04 01:10:46 -07:00
Jordan Atwood
d6e465877e clan manager: Use Sprite IDs for rank badges
This commit adds `ImageUtil::resizeCanvas`, `ImageUtil::outlineImage`,
and `ImageUtil::fillImage`, and applies these functions to the clan
manager to replace the clan rank images with calls to `SpriteManager`.
2018-08-04 01:10:45 -07:00
Jordan Atwood
8fb36d3ea4 resources: Remove derivative images
This commit adds `ImageUtil::bufferedImageFromImage`,
`ImageUtil::alphaOffset`, `ImageUtil::grayscaleImage`, and
`ImageUtil::flipImage` functions and applies them to client and plugin
code to remove unneeded derivative images from the resources directory.
2018-08-04 01:10:44 -07:00
Jordan Atwood
06cd5cd7d0 Add image utility class 2018-08-04 01:10:42 -07:00
Jordan Atwood
f0799ffe79 SwingUtil: Fix grayscaleOffset to not modify alpha
With previous code, grayscaleOffset was modifying all image components
(including alpha), instead of only the color components. This commit
fixes that by using a `RescaleOp` instead, which allows for distinct
modifiers per component.
2018-08-04 01:10:40 -07:00
Jordan Atwood
3963785de9 resources: Remove unused images
This removes the now-unused images left over from the removed special
attack orb plugin and plugin rework for new title toolbar.
2018-08-04 01:10:23 -07:00
Tomas Slusny
a535a809e6 Merge pull request #4655 from Nightfirecat/update-chat-commands-to-check-for-space-after-command
chat commands plugin: Use consistent message check
2018-08-04 10:02:59 +02:00
Tomas Slusny
3bcf87b327 Merge pull request #4627 from Kamielvf/itemstats-fix
item stats: fix tooltip not appearing when hovering over item
2018-08-04 09:55:38 +02:00
Adam
dce0ad5631 Merge pull request #4592 from deathbeam/fix-session-load-order
Fix order of loading session settings
2018-08-03 16:26:10 -04:00
Adam
8cc4059525 Fix applying default config to session settings
cda98f moved the plugin manager to not be registered on the eventbus until
after the session was opened. The session config was relying on the plugin
manager applying the default config based on the session open event.

This moves session loading to be prior to applying the default config, so newly
added config options get properly set at startup.

Fixes config panel breaking which expects the config to always have non-null
values for config items with defaults.

Co-authored-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 16:09:08 -04:00
Adam
38ab0c329e Merge pull request #4630 from deathbeam/fix-logger-tooltip
Account for linked item id, format tooltip
2018-08-03 15:40:01 -04:00
Tomas Slusny
eed9c447c6 Merge pull request #4631 from Kamielvf/menu-swapper-fairy-ring-fix
menu entry swapper: fix fairy ring swaps not working for zanaris ring, arceuus ring and PoH tree-ring combo
2018-08-03 19:49:44 +02:00
Tomas Slusny
14b654c9a5 Account for linked item id, format tooltip
- Account for linked item id when getting item price
- Format item price tooltip
- Create new data structure for loot tracker and precompute it
to avoid calling methods that are unsafe outside of client thread

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 11:22:04 +02:00
Tomas Slusny
9964d5f327 Merge pull request #4640 from deathbeam/fix-screen-marker-name
Use correct marker name when cancelling edit
2018-08-03 08:33:38 +02:00
Tomas Slusny
7f291fb95d Merge pull request #4664 from MagicfTail/Pharao-scepter
Add pharaoh's sceptres, tome of fire, and toxic staff of the dead item mappings
2018-08-03 08:31:10 +02:00
Magic fTail
58701aa3d1 Add pharaoh's sceptres, Toxic staff of the dead, tome of fire item maps 2018-08-03 08:15:25 +02:00
Tomas Slusny
be993f5d1c Merge pull request #4626 from Kamielvf/fix-clear-public
chat history: clear public chat when menu option is clicked
2018-08-03 08:10:00 +02:00
Tomas Slusny
9791d9271f Merge pull request #4654 from Nightfirecat/fix-kandarin-achievement-diary-mining-requirement
achievement diary plugin: Fix coal mining req
2018-08-03 08:03:29 +02:00
Kamiel
46ecd431c4 player indicators: draw tile highlight on ABOVE_SCENE layer (#4629)
Fixes #1564
2018-08-03 08:03:14 +02:00
Adam
ca7ca3a7a0 Disable zoom extender when a cache overlay fails to load
The zoom extender relies on multiple scripts to be up to date. If only one is changed, its functionality breaks badly.
2018-08-02 18:52:30 -04:00
Jordan Atwood
3159a02edf chat commands plugin: Use consistent message check
All chat messages are either checked for equality to command strings
which are not followed by spaces or are checked to start with command
strings followed by a space, and use the constants' length (plus one,
for the space) to get the command argument.
2018-08-02 11:59:27 -07:00
Jordan Atwood
bb2c800875 achievement diary plugin: Fix coal mining req
Fixes runelite/runelite#4646
2018-08-02 11:38:14 -07:00
Runelite auto updater
1b2eb7eeaf [maven-release-plugin] prepare for next development iteration 2018-08-02 13:29:49 +00:00
Runelite auto updater
70e4294b33 [maven-release-plugin] prepare release runelite-parent-1.4.10 2018-08-02 13:29:42 +00:00
Adam
537a97e145 runelite-client: update options panel rebuilder script for game update 2018-08-02 09:00:26 -04:00
Adam
1e6fef960f widgetid: update world map menu widget id 2018-08-02 08:50:16 -04:00
Tomas Slusny
bf459c290b Merge pull request #4641 from deathbeam/remove-wizard-special-case
Remove special cased wizard death from loot manage
2018-08-02 13:01:22 +02:00
Tomas Slusny
64c71385a9 Remove special cased wizard death from loot manage
Remove special cased wizard death animations from loot manager as as of
latest OSRS update this now works normally:

The Elemental Wizards south of Falador now give loot at the end of their
death animation rather than the beginning.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-02 12:43:19 +02:00
Tomas Slusny
4ce0f31846 Merge pull request #4625 from Kamielvf/fix-shiftmodifier-focus-lost
fix menu entry swapper shiftModifier getting stuck on focus lost
2018-08-02 10:33:44 +02:00
Tomas Slusny
30ecd21120 Merge pull request #4638 from deathbeam/fix-clientui-sidebar
Reverse ClientUI sidebar condition
2018-08-02 10:25:01 +02:00
Tomas Slusny
08f96d2e38 Use correct marker name when cancelling edit
Instead of using marker overlay name use marker name, as marker overlay
name contains date.

Fixes #4634

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-02 08:30:14 +02:00
Tomas Slusny
b3d9de7a41 Reverse ClientUI sidebar condition
- Reverse ClientUI sidebar condition as when opening sidebar is always
open so current master will effectively shrink window instead of
restoring to correct size
- Apply this condition also to KEEP_WINDOW_SIZE

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-02 07:57:44 +02:00
Tomas Slusny
d11f78090b Merge pull request #4632 from Kamielvf/instance-map-fix
instance map: properly remove mouse listener on shutdown
2018-08-02 07:30:56 +02:00
Kamiel
a4f35255be instance map: properly remove mouse listener on shutdown
Fixes #3473
2018-08-02 01:41:05 +02:00
Kamiel
dd852dbd89 menu entry swapper: fix zanaris swap not working for PoH tree-ring combo 2018-08-02 01:05:21 +02:00
Kamiel
00e9d1cd1f menu entry swapper: fix zanaris fairy ring not being recognized
Fixes #1639
2018-08-02 00:55:24 +02:00
Kamiel
d000b60b5c menu entry swapper: fix last destination on arceuus fairy ring
Fixes #2590
2018-08-02 00:44:31 +02:00
Kamiel
24749adca7 item stats: fix tooltip not appearing when hovering over item
Fixes #1505
2018-08-02 00:11:09 +02:00
Kamiel
b05d17f6e0 chat history: clear public chat when menu option is clicked
Fixes  #1292
2018-08-01 23:50:34 +02:00
Kamiel
dc38c15558 fix menu entry swapper shiftModifier getting stuck on focus lost
fixes #3289
2018-08-01 23:16:59 +02:00
Tomas Slusny
e7ba351928 Merge pull request #4615 from deathbeam/fix-zulrah-worldloc
Fix LootManager zulrah location
2018-08-01 22:45:01 +02:00