Commit Graph

3624 Commits

Author SHA1 Message Date
Sebastiaan Vanspauwen
5cdf9fceec 2005 interface: fix resized offsets 2018-11-29 20:16:31 +01:00
Max Weber
38ff0a9bf5 ClientLoader: Use our classloader, not the system one for loading rs 2018-11-29 07:09:52 -07:00
MaxBartlett
acab3adb09 Fix observatory shortcut highlight (#6723)
Closes #6670
2018-11-28 07:30:39 +00:00
Adam
ca81e1a770 Merge pull request #6714 from deathbeam/fix-tog-npe
Check for canvas location being non null in TOG
2018-11-27 22:09:48 -05:00
Adam
3ad12cf5d9 Merge pull request #6706 from dbolya/GPU_Scaled_Fix_Screenshots
Fix screenshots in GPU mode with Stretched Mode enabled
2018-11-27 21:01:08 -05:00
Tomas Slusny
f41c0cf15b Check for canvas location being non null in TOG
Canvas location can be null if the object is too far from view, so
null-check it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 17:05:07 +00:00
Tomas Slusny
cbcf721342 Merge pull request #6693 from deathbeam/cleanup-dev-tools
Cleanup dev tools plugin
2018-11-27 09:42:23 +00:00
Tomas Slusny
1c0fffd865 Disable inspector buttons on close in dev tools
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:26:45 +00:00
Tomas Slusny
9b1e55de93 Fix access levels in dev tools plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:21:37 +00:00
Tomas Slusny
9db5dc7e77 Move widget and itemIndex to DevToolsOverlay
There is no reason for widget and itemIndex to exist in plugin, so move
it to where it is actually used.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:21:37 +00:00
Tomas Slusny
cd34fa36cf Unify dev tools toggles to 1 button type
- Create custom button type with isActive property
- Query this new property instead of bunch of stored boolans and toggle
methods in dev tools overlays and panels

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 09:21:36 +00:00
Tomas Slusny
6aec578aa9 Change dev tools fonts to constant
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-27 08:57:05 +00:00
Tomas Slusny
0ad54ea5be Merge pull request #6703 from Nightfirecat/fix-moving-freeze-timer
timers: Correctly add freeze timer upon frozen while moving
2018-11-27 07:46:47 +00:00
Lotto
bcf05083df Merge pull request #6315 from devLotto/stretchedmode-reducescalingtime
stretchedmode: reduce wait time after changing scaling percentage
2018-11-27 04:40:39 +01:00
Daniel Bolya
c4a2ac6c81 Fixed screenshots in GPU mode with stretching enabled. 2018-11-26 18:59:54 -08:00
Daniel Bolya
e1b31c40e7 gpu: add UI scaling when using GPU with stretched mode
This changes the previous behavior, which stretched the world view too.
2018-11-26 19:46:07 -05:00
Jordan Atwood
072452625a timers: Correctly add freeze timer upon frozen while moving
When becoming affected by an ice spell, such as Ice Barrage, when moving
prior to the effect's start, the previous code had a subtle bug where
the freeze timer would be applied in the chat message subscriber, but
the `client` would update the player's position before the onGameTick
subscriber was executed, meaning any movement on the same tick the
player became frozen would be registered as "movement", thus removing
that timer.

This fix sidesteps that issue by also ensuring that the client's tick
is different than the freeze tick, since that value appears to remain
unmodified between execution of these two methods.

Fixes runelite/runelite#6658
2018-11-26 15:12:07 -08:00
Sam Beresford
6615ac2827 Auto-hide sidebar close button when not hovered (#6694)
Closes #6440 

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-26 16:24:39 +00:00
Tomas Slusny
2154e5e8b0 Properly parse stat change value in status bars
This prevents all kinds of unsupported formats and number format
exceptions.

Closes #6589

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-26 14:19:04 +00:00
Tomas Slusny
ed69467664 Merge pull request #6697 from deathbeam/agility-distance-check
Remove distance check from agility plugin
2018-11-26 14:10:57 +00:00
Tomas Slusny
d97d90bd60 Remove distance check from agility plugin
This is no longer necessary (as we are using spawn events) and with GPU
plugin not limiting it is better (well, we are still limited by their
spawns obviously).

Closes #1360

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-26 13:48:36 +00:00
Sam Beresford
3548082489 Correct tooltip for notification when focused in RuneLite settings (#6695) 2018-11-26 12:22:12 +00:00
Jochim Van Dijck
1a87f98db2 Enable Command-V login screen pasting on macOS 2018-11-26 02:58:48 +01:00
Lotto
b145fae00f stretchedmode: reduce wait time after changing scaling percentage
It now sets the max width and height right before the canvas is resized,
so the canvas size uses those max bounds immediately, instead of setting
it 500ms after the canvas is resized initially.
2018-11-25 17:56:41 +01:00
Twiglet1022
c4bea02599 Improve responsiveness of fishing idle notification (#6457)
Move fishing idle notification from animation-based to interaction based to enhance the responsiveness of it.
2018-11-25 13:12:40 +00:00
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
Adam
3f98b0ccaa Merge pull request #6634 from DevDennis/fix-untextured-faces
GPU: Fix Untextured Faces
2018-11-23 15:00:48 -05:00
Adam
f31421d8fa gpu: remove duplicate definition of struct modelinfo in comp.glsl 2018-11-23 14:53:31 -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
Adam
c28f53cd4a gpu: move common compute header to its own file 2018-11-23 13:22:13 -05:00
Adam
83c0a52e5b gpu: move priority_map and count_prio_offset to priority_renderer 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