Commit Graph

3558 Commits

Author SHA1 Message Date
Adam
9222413d1d Merge pull request #6597 from devLotto/gpu-stretchedmode
gpu: add stretched mode support
2018-11-21 09:38:10 -05:00
forsco
22a3f93598 Fix indentation of npc_health json (#6616) 2018-11-21 10:24:12 +01:00
Tomas Slusny
a6bf1c7691 Merge pull request #6611 from MagicfTail/resp-system
Add abyssal sire resp systems to npc_health
2018-11-21 09:54:48 +01: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
Magic fTail
d28a255ae7 Add abyssal sire resp systems to npc_health 2018-11-21 00:54:56 +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
3286594d6b gpu: correct uniform block name in geometry shader 2018-11-19 09:59:49 -05: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
DevinMadsen
d2d3235554 Fix smoke rune level requirement in skill calc (#6565)
Sources:
https://imgur.com/a/zyOxNsN
http://oldschoolrunescape.wikia.com/wiki/Smoke_rune
https://oldschool.runescape.wiki/w/Smoke_rune
2018-11-18 21:00:21 +01:00
Dennis
9c791f5b09 gpu: add sin/cos table to UBO 2018-11-18 14:19:48 -05:00
Adam
1e83a36c42 Merge pull request #6534 from deathbeam/switch-to-core-gpu
Switch to core profile in GPU plugin
2018-11-18 12:30:42 -05:00
Whitehooder
a696b498aa Fix GPU rendering on Linux
- Unlock surface after making context current
- Lock surface on shutdown
2018-11-18 11:07:58 -05:00
Adam
1c7113ab7c gpu: destroy glcontext on shutdown 2018-11-18 10:27:07 -05:00
Tomas Slusny
53f3691488 Merge pull request #6106 from devLotto/issue-5325
puzzlesolver: wait a duration before recomputing the solution
2018-11-18 14:05:08 +01:00
Slevender
e86aa9ec10 Remove non-existant fairy ring location BJQ (#6518) 2018-11-18 14:01:53 +01:00
Hydrox6
f803e58479 wasdplugin: Show Ironman Icons when chat is locked (#6347) 2018-11-18 14:00:48 +01:00
Jack Sheehan
eb45ab09ef Add new POH teleport icons to minimap (#6502)
Closes #6477
2018-11-18 13:57:10 +01:00
Tomas Slusny
6f3de589ed Merge pull request #6496 from drivfe/bugfix/skillcalc/smithing
Fix some xp values in skill_smithing.json
2018-11-18 13:55:50 +01:00
Steffen Hauge
dd873c7c02 Add support for kills left in xp orbs 2018-11-18 13:42:29 +01:00
Tomas Slusny
44d09b8601 Switch to core profile in GPU plugin
This makes GPU plugin available to more people and workarounds bug in
JOGL on Linux where it is not detecting compatible profile on some
systems.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-17 14:03:22 +01:00
drivfe
3b2eb5d44f Fix some xp values in skill_smithing.json 2018-11-15 22:28:12 -04:00
Adam
3f5e273349 Add GPU renderer 2018-11-15 09:37:36 -05:00
Adam
3c84d98638 draw manager: lazily fetch screenshot image
Also no longer pass images to every frame listener. With GPU rendering
it is expensive to get Images each frame.
2018-11-15 09:31:04 -05:00
WooxSolo
e603a2a157 Optimize transparent chatbox alphaing 2018-11-15 09:31:04 -05:00
Max Weber
41e009f26a poh: Add new portal nexus ids 2018-11-15 05:05:32 -07:00
RuneLite Cache-Code Autoupdater
655c3b8b8d Update Scripts to 2018-11-15-rev176 2018-11-15 04:58:18 -07:00
Tomas Slusny
ec5abfc9a2 Change hardcoded minimap dot radius to constant
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-15 10:36:32 +01:00
Tomas Slusny
6eec63e29f Fix size of RuneLite minimap dots
The dots are supposed to be size of 4 and not 5.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-15 10:35:12 +01:00
15987632
8ca777398f Do not swap entries on NPCs with hint arrows (#6437)
before: https://i.imgur.com/kvXHHWd.png
after: https://i.imgur.com/anFnVkt.png
2018-11-14 14:40:27 +01:00