Commit Graph

3506 Commits

Author SHA1 Message Date
Michael
42542ddad9 Add support for parsing first slayer task (#6677)
Fixes #5945
2018-11-25 13:08:24 +00:00
Tomas Slusny
654a7f76f1 Merge pull request #6647 from deathbeam/properly-close-gl-context
Properly close GL context and lock surface
2018-11-25 10:36:25 +00:00
Tomas Slusny
17e4254c51 Merge pull request #6650 from deathbeam/do-not-use-static-import
Do not use static imports for GL constants
2018-11-25 00:15:52 +00:00
Sam Beresford
eb0de00b05 Add Ivandis Flail (+5) to prayer plugin (#6664)
Closes #6610
2018-11-25 00:02:33 +00:00
Adam
d12a6cedc8 Merge pull request #6591 from MagicfTail/zoom-outer-limit
camera plugin: add expand outer zoom limit option
2018-11-24 10:30:37 -05:00
Magic fTail
7c7128de1d camera plugin: add expand outer zoom limit option 2018-11-24 09:55:17 -05:00
Adam
e52772665a Merge pull request #6602 from trimbe/worldmap-optimize
World Map Plugin: optimize clipping for world map points
2018-11-24 09:19:27 -05:00
trimbe
3e35fa33fa world map plugin: optimize clipping of world map points
Change the world map overlay to only clip the graphics if it's necessary.
setClip is fairly expensive and re-setting the clip for every map point
almost halves FPS when the world map is open.
2018-11-24 09:08:14 -05:00
Omar Abdellatif
df35c1efa5 Truncate username and password string before pasting if necessary 2018-11-24 08:48:19 -05:00
Davis Cook
57711cc9ff Fix incorrect slayer kill remaining count in xp tracker (#6615)
Properly check for combat skill when trying to update NPC experience

Fixes #6614
2018-11-23 21:23:41 +00:00
Adam
f0bb1666fd gpu: add toggle for color banding
Co-authored-by: Toocanzs <dupanzszs@gmail.com>
2018-11-23 16:07:21 -05:00
Adam
e530f2e7ff gpu: move hslToRgb to its own file
Co-authored-by: Toocanzs <dupanzszs@gmail.com>
2018-11-23 15:49:48 -05:00
Adam
52d962cb07 Merge pull request #6635 from DevDennis/fix-alpha-textured-faces
GPU: Fix Textured Faces With Alpha
2018-11-23 15:35:09 -05:00
Dennis
3bbf188130 gpu: fix untextured faces 2018-11-23 14:50:04 -05:00
Adam
fd6b67fae2 gpu: split camera position from model position 2018-11-23 13:22:14 -05:00
Adam
67f0672799 gpu: add shader for tiles
This has a measurable performance improvement on weaker GPUs since there
are generally many tiles and they have few faces
2018-11-23 13:22:13 -05:00
Tomas Slusny
6fb58e36bb Do not use static imports for GL constants
This ensures that we do not accidentally use constant from wrong GL
version than we are using atm.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-23 14:47:19 +00:00
Tomas Slusny
ce6bd7e3f4 Properly close GL context and lock surface
- Context can be created without GL being assigned (e.g in case version
is not supported)
- We need to lock jawtWindow if it is not locked always in case it is
not null, and not only when GL is set

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-23 13:35:29 +00:00
Alexsuperfly
ef567e364f MLM Plugin: Add toggle for rocks highlighting (#6181)
Splits the showRocks config into showVeins and showRocks so that the user can decide to show only Veins without the visual clutter of the RockFalls forced highlighting.
2018-11-23 12:23:57 +00:00
Davis Cook
c395b2b81f Fix action and time estimates only appearing after 2 actions (#6624)
Fixes #6623
2018-11-23 12:18:16 +00:00
TheStonedTurtle
3c533c6136 Properly update MLM sack values on login/logout (#6627)
- Prevent unnecessary code execution while logged out
- Fix inventory size on initial login
- Refresh sack values on initial login
2018-11-23 12:14:17 +00:00
l2-
6c1169c776 gpu: suppress debug messages for generic warnings with severity unknown 2018-11-22 19:28:45 -05:00
Max Weber
50f701c8e2 runelite-client: update to use client patch 2018-11-22 19:08:30 -05:00
Dennis
da3a6ea49d gpu: fix textured faces with alpha 2018-11-22 19:46:54 +01:00
Adam
9222413d1d Merge pull request #6597 from devLotto/gpu-stretchedmode
gpu: add stretched mode support
2018-11-21 09:38:10 -05:00
Tomas Slusny
be092b5c20 Merge pull request #6606 from Abextm/draggable-skotizo
runelite-client: Make Skotizo widget layoutable
2018-11-21 09:53:40 +01:00
Jordan Atwood
32942fd645 attack styles: Fix style hiding after autocast selection
In side stones view, going through the spell autocast selection process
will cause the combat widget to become unloaded and reloaded, rather
than triggering the previous code path where the widget would change
hidden state. This commit adds a second subscriber to handle this path
as well.

Fixes runelite/runelite#6557
2018-11-20 17:34:28 -08:00
Lotto
5858eeff45 gpu: add stretched mode support 2018-11-21 02:07:34 +01:00
Lotto
6d0a8a4975 gpu: add frame and render buffer utils 2018-11-21 02:06:11 +01:00
Max Weber
f6f54f059a runelite-client: Make Skotizo widget layoutable 2018-11-20 03:59:00 -07:00
Tomas Slusny
7014eca369 Merge pull request #6485 from deathbeam/gpu-null-check
Null-check GL and window on plugin shutdown
2018-11-20 10:36:43 +01:00
Brett
8452409937 Add tooltip to show levels required for next combat level (#5764)
* Add new final int under `Experience.java` for maximum combat level
* Add overlay that will calculate which skills and how many levels are necessary to increase combat
* Add new configuration page for the combat level plugin
* Create tests to ensure calculations are accurate

![image](https://user-images.githubusercontent.com/21368969/46361707-ec9acd80-c633-11e8-8467-90edab14f744.png)

![image](https://user-images.githubusercontent.com/21368969/46361749-03d9bb00-c634-11e8-9012-a0dd586ff4cb.png)
The tooltip will leave out anything you are unable to gain a combat level through training.

Closes #448
2018-11-20 10:26:38 +01:00
Tomas Slusny
59abc86ed2 Null-check GL and window on plugin shutdown
If GL is not even created due to missing library error or unsupported
 version, this throws a lot of unnecessary exceptions to log and fails
 on shutDown resulting in possibly improperly feed objects and displays.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-20 10:10:30 +01:00
Adam
2a80df7c3b Merge pull request #6586 from deathbeam/properly-null-check-chat-perf
Properly null-check chat performance widgets
2018-11-19 21:06:33 -05:00
Adam
8459781e85 Merge pull request #6579 from deathbeam/properly-destroy
Properly destroy JAWT window on plugin shutdown
2018-11-19 20:49:06 -05:00
Adam
bfe46bf9c6 Merge pull request #6580 from deathbeam/lock-only-on-linux
Unlock surface only with X11JAWTWindow
2018-11-19 20:35:03 -05:00
Adam
dcbcae21d1 Merge pull request #6572 from Abextm/fix-carrot
Fix carrots in ChatboxTextInput
2018-11-19 17:48:15 -05:00
Tomas Slusny
caa1eadc3d Properly null-check chat performance widgets
Closes #6575

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 16:51:21 +01:00
Adam
3329dfbbee gpu: don't compute scene if the scene buffer isn't filled yet 2018-11-19 09:59:49 -05:00
Tomas Slusny
addda86e39 Merge pull request #6581 from deathbeam/fix-sidebar-icon-open
Make sidebar icon consistent without custom chrome
2018-11-19 14:18:55 +01:00
MaxBartlett
dd9f39300d Fix distance check for maniacal monkey boulders (#6399)
Closes #6269
2018-11-19 13:29:25 +01:00
Tomas Slusny
b382b92eea Make sidebar icon consistent without custom chrome
Use same icon alignment that is used for opening/closing sidebar with
custom chrome.

Closes #6435

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 13:26:28 +01:00
Tomas Slusny
d52ece3896 Unlock surface only with X11JAWTWindow
Unlocking it on Windows with some iGPUs apparently causes problems and
this is relevant only for X11, so unlock only there.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 13:08:28 +01:00
Tomas Slusny
b100a9c16c Properly destroy JAWT window on plugin shutdown
This is necessary in order to properly free all resources on e.g Linux
(happens less often on Windows). Without
NewtFactoryAWT.destroyNativeWindow, the JAWT window created display
stays open after disabling the plugin and is freed only on application
close.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 12:54:19 +01:00
Tomas Slusny
67fd4a812b Merge pull request #6504 from deathbeam/fix-jogl-logging
Fix JOGL context debug logging flag
2018-11-19 10:44:19 +01:00
Tomas Slusny
0d5e3d942f Fix JOGL context debug logging flag
The flag needs to be set before context is made current and GL is
obtained.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-19 10:18:40 +01:00
Max Weber
366b328ed0 ChatboxTextInput: Properly escape carrots 2018-11-18 17:54:13 -07:00
Adam
b1dd15722d Merge pull request #2827 from deathbeam/paste-password
Add support for Ctrl-V pasting to Login Screen
2018-11-18 19:19:37 -05:00
Tomas Slusny
3722013aa6 Add support for Ctrl-V pasting on login screen
Based on what field is currently selected, add support for pasting to
that field with standard Ctrl-V keybinding (disabled by default).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-18 19:19:12 -05:00
Dennis
9c791f5b09 gpu: add sin/cos table to UBO 2018-11-18 14:19:48 -05:00