Commit Graph

4826 Commits

Author SHA1 Message Date
Adam
2b0e286063 Merge pull request #4635 from Abextm/camera-pitch-fix
mixins: Fix camera pitch relaxer not fully relaxing after a screen shake
2018-08-05 09:57:29 -04:00
Tomas Slusny
b07f470930 Merge pull request #4673 from deathbeam/remove-headers
Remove unnecessary headers from plugin panels
2018-08-05 12:15:27 +02:00
Tomas Slusny
2c410dea07 Merge pull request #4683 from deathbeam/add-tourney-world-type
Add Tournament world type
2018-08-05 12:06:29 +02:00
Tomas Slusny
6f77fe28ee Merge pull request #4709 from deathbeam/fix-canvas-focus
Add null-check for game canvas
2018-08-05 12:06:09 +02:00
Tomas Slusny
9b4dd209c2 Merge pull request #4703 from JaimySmets/4645-werewolf-agility-course
Add obstacles to Werewolf court
2018-08-05 11:55:34 +02:00
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
Tomas Slusny
7effa9ee50 Add null-check for game canvas
If frame is opened too fast and game did not managed to create the
canvas yet, frame will crash during startup on NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-04 19:48:25 +02: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
Jaimy Smets
06fed05f76 Add obstacles to Werewolf court
Resolves #4645

Signed-off-by: Jaimy Smets <smets.jaimy@hotmail.com>
2018-08-04 16:53:58 +02:00
Tomas Slusny
73645c0f2b Remove unnecessary headers from plugin panels
Now all plugin panels have tooltips so the headers are not necessary and
most of plugins do not have them already.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-04 13:00:11 +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
Tomas Slusny
027c3ce843 Add Tournament world type
Fixes #4682

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 22:26:34 +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