Commit Graph

4816 Commits

Author SHA1 Message Date
Tomas Slusny
cbff6293ba Merge pull request #4706 from JaimySmets/4694-idle-notifier-make-tabs
Add tablet creation animation to idle notifier
2018-08-05 11:54:12 +02:00
Brady
5738b3a99f Add missing shortcuts to trollheim (#4711)
Fixes #4701 

Added two agility shortcuts that were not added in trollheim.

![selection_002](https://user-images.githubusercontent.com/21043852/43680660-122fc28a-980d-11e8-8bea-8e9fa9eed0ea.png)
2018-08-05 11:53:44 +02:00
Adam
19cf1fd344 ge plugin: fix accessing item composition from executor thread 2018-08-04 17:03:55 -04:00
Adam
b72bda1c75 item manager: assert item composition access is done from client thread 2018-08-04 17:03:24 -04:00
Adam
7e7fb16693 modelviewer: fix zfighting of models
This uses the stencil buffer to hold face priorities and prevents drawing fragments of a lower priority overtop those of higher on the same model
2018-08-04 16:19:25 -04:00
Adam
90c962accf modelviewer: fix some incorrect gl usage, add error logging 2018-08-04 16:16:24 -04:00
Jaimy Smets
8f85733883 Add tablet creation animation to idle notifier
Resolves #4694

Signed-off-by: Jaimy Smets <smets.jaimy@hotmail.com>
2018-08-04 17:37:42 +02:00
Tomas Slusny
46c2745374 Merge pull request #4604 from Nightfirecat/exterminate-game-image-files
Remove item and sprite images from runelite-client resources directory
2018-08-04 12:59:02 +02:00
Jordan Atwood
5c219c7ea5 ImageUtil: Add getResourceStreamFromClass method
This replaces invocations of `Class.getResourceAsStream(path)` in order
to relieve plugin/client code from managing synchronization and handling
exceptions.
2018-08-04 01:11:51 -07:00
Jordan Atwood
37092ce423 xp tracker plugin: Use shared image for icon 2018-08-04 01:11:00 -07:00
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