Commit Graph

3729 Commits

Author SHA1 Message Date
Lotto
f672ef9014 stretchedfixedmode: use volatile image instead of buffered image
This takes advantage of your GPU to improve the stretched fixed mode performance significantly.
2018-05-20 03:12:24 +02:00
Lotto
1dfcfd3468 client: use Image instead of BufferedImage 2018-05-20 01:53:59 +02:00
Adam
e3e8bf7c5d Bump to 1.4.0-SNAPSHOT 2018-05-19 18:53:25 -04:00
Lotto
76fae157e4 Merge pull request #2971 from piksu/master
Fixed typo in a cryptic clue solution
2018-05-19 22:18:17 +02:00
Jouni Pikkarainen
294966152f Fixed typo in a cryptic clue solution
Solves issue #2969
2018-05-19 23:08:23 +03:00
Tomas Slusny
95d55608c1 Merge pull request #2959 from devLotto/entityhider-no-hide-npcs
entityhider: don't hide npcs by default
2018-05-19 20:21:54 +02:00
Ruben
53f7deae85 Restore Plugin Toolbar Button Tooltips (#2833)
* Always set button tooltips
* Completely remove name property and replace it with tooltips
* Make tooltips final
2018-05-19 19:59:01 +02:00
SoyChai
cea85de384 Friend notes plugin: Add documentation and increase code readability (#2714)
* Add javadocs to methods
* Rename 2 methods for clarity, and add Nullable tag
* Rename local vars for consistency / correctness
* Simplify setHoveredFriend to allow clearer variable names
* Finalize local vars and add KEY_PREFIX constant
* Tweak 2 log messages for clarity and crash-proofing
* Inline the comments added to generic callbacks
* Skip the tag removal on MenuEntryAdded targets
2018-05-19 19:44:21 +02:00
Magic fTail
45c98b83b3 Fix edgeville monastery emote clue scroll (#2909) 2018-05-19 18:57:47 +02:00
Lotto
c16051d7f1 entityhider: don't hide npcs by default 2018-05-19 18:30:57 +02:00
Tomas Slusny
3c150c1aea Merge pull request #2956 from wa1id/teak-garden-bench-calc
Add teak garden bench to construction calculator.
2018-05-19 18:21:10 +02:00
wa1id
f337175380 Add teak garden bench to construction calculator.
https://i.imgur.com/6LlXIig.png
2018-05-19 18:08:44 +02:00
Tomas Slusny
f533dbf966 Merge pull request #1419 from psikoi/color-scheme-orange-dark
"RuneLite Obsidian" Client Redesign
2018-05-19 16:02:33 +02:00
Ruben Amendoeira
23395b6d48 Skilling Calculators Plugin design tweak
Prepared it for release, still to be redesigned.

Changes:
- Changed the background color on some panels to match the new ui
- Re-ordered the plugin to a lower position on the side bar
2018-05-19 14:30:06 +01:00
Adam
ae617f019d Update substance to 8.0.02 2018-05-19 15:13:22 +02:00
Max Weber
64610ae08c Cleanup FarmingTracker panels 2018-05-19 15:13:22 +02:00
Ruben Amendoeira
3526b258bb Plugin side toolbar design tweak
- Added new parameter to navigation buttons: priority.
- Ordered the navigation buttons by their priority and name in PluginToolbar.
- Added a maximum size to the navigation buttons to keep all their sizes
the same.
- Added new icons for the following plugins:
   - Account (login/logout)
   - Grand Exchange
   - Feed
   - Info
   - Kourend Library
   - Notes
   - Screenshot
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
6d331ae5a1 Farming plugin panel redesign
Farming Plugin:
- Redid the layout, coloring and positioning on the FarmingTrackerPanel
to include my new MaterialTabs.
- Added section divider labels in the special and tree tabs.
- Hid the patch type indicator for some patches (explained in docs).
- Added patch names for all instances of FarmingPatch (previously only
a portion of them were written for a hack that is no longer necessary).
- Created getName() method in PatchImplementation that returns the patch
type's name in a formatted style (SPIRIT_TREE -> Spirit Tree).
- Created a new tab for bushes.

MaterialTabs:
- Added onSelectEvent runnable to MaterialTab.
- Added horizontal gap to the tabs.
- Added getTab() method that returns a tab on a given index.

CustomScrollBarUI:
- Added functionality to allow the ui colors to be changed from an
external call. (setters)

ColorScheme:
- Created color constants in the ColorScheme file for the progresss bar
backgrounds and used them in the CropState enum.
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
497d421737 Info panel redesign
Restyled the whole exp trackers plugin panel to follow my proposed
design style on issue #1342

- Added two new entries to the runelite properties file (github and
patreon link). And addes respective getter methods in the
RuneLiteProperties.java file.
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
9a72dd5969 Exp trackers plugin redesign
Restyled the whole exp trackers plugin panel to follow my proposed
design on issue #1342

- Restyled and recolored the exp tracker
- Removed the contracted state, trackers are now always expanded as they
are now thinner than before
- Progress bars are now color matched to the skill using a new enum
SkillColor
- Added new progresss bar custom component
- Added error panel for "no exp gained" that disappears once the player
earns experience
- Restyled the overall exp panel
- Hid the overall exp panel until the player earns experience
- Added "Reset" right click menu to individual skill trackers
- Added "Reset All" right click menu to the overall skill tracker
2018-05-19 15:13:22 +02:00
Ruben Amendoeira
6ec0d60ec4 Configs slight design tweak
- Updated the search bar to the new icon text field component.
- Added new on/off icons based on the material design style.
- Recoloured the background.
- Recoloured the plugin name labels.
- Replaced the config/toggle buttons for icon labels.
- Hid config button if no config was found, instead of disabling it.
- Left aligned the header title.
- Added new ComboBoxListRenderer to prevent substance's ugly coloring.
- Changed the panel title to "Configuration"
- Used deathbeam's new layout manager DynamicGridLayout
2018-05-19 15:13:10 +02:00
Ruben Amendoeira
dcd241e3bf Notes Plugin slight design tweak
- Increased the padding on the overall panel and the title.
- Recolored the background and text editor.
- Wrapped the text editor in a panel to prevent substance's hover
effects.
- Added 10px padding to the text editor
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
1d388fa98f News Feed Plugin slight design tweak
- Added a header section, containing a title and a refresh icon button.
- Increased the overall border from 5 to 10 pixels.
- Changed the background color to a darker gray.
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
4679bdad77 Kourend Library Plugin slight design tweak
- Spaced out the item panels vertically and slightly horizontally.
- Added a new header with the plugin's name, as it can be hard to know
what this plugin does/is.
- Restyled the reset button, it previously was a "Reset" text button, I
switched it to an icon with a darker version that activates
when clicked.
- Added the icon images to the resource folder.
- Added new method to SwingUtil that returns a darker version of an
image
- Used the image darkening method to give the refresh button a click
feedback effect
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
d0f708e26a Hiscore Plugin redesign
Overall:
- Applied new colors, positions and sizes, following issue #1342.

Search:
- Applied the new IconTextField, with search, error and loading
indicator (and respective image files).
- Blocked tabs witching while results are loading.

Endpoints:
- Moved the endpoints to right below the search bar (this follows
a more logical sequence of usage).
- Changed the endpoint presentation style and size. The selected
endpoint now displays a orange underline.
- Edited the endpoint icons to better fit the visual context.
- Changed the way currently selected endpoint is stored.

Stats:
- Changed the sizing of the labels/panels.
- Changed the font to a smaller version.

Total/Combat:
- Switched the order of the combat and total indicator
- Changed the font to a smaller version.

Clues/Minigames:
- Changed the font to a smaller version.

Details Panel:
- Completely removed the details panel, instead went for a more
in-line with the game approach, tooltips!
- Rewrote the way skills and labels are matched
- Added html progress bar to the next level
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
ab7e969320 Grand Exchange Plugin redesign
General:
- Applied the design I proposed in issue #1342
- Applied custom component: MaterialTabs
- Removed default scrolling behaviour from parent PluginPanel
- Added error panels for empty searches and empty offer slots
- Added new formatter to the StackFormatter that displays integers
as rs stacks with decimals (21700 into 21.7k)
- Changed the Locale on the stack formatter and respective unit testing
to UK, this makes sure all tests are consistent with Travis (ex: i ran
the unit testing in europe, travis ran in the us, so it passed my tests,
failed his)

Offers:
- Refactored the GE offers into it's own seperate file:
GrandExchangeOffersPanel
- Redesigned the ge offers items
- Included the custom component ThinProgressBar on the bottom of each
ge item panel
- Added secondary information panel, toggled by clicking on the primary
panel
- Added a game state check that resets all ge offers on logout

Search:
- Recoloured and resized the search bar
- Added new icons to the search bar (incluing a loading wheel gif)
- Removed focus on the search bar when results are displayed
- Added custom scrolling behaviour
- Blocked input when search is in progress
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
e56e559ecd Added custom components + moved/rewrote some
To organize the project a bit, decided to add a new folder inside the
ui folder, to hold all custom components. ui/components/

Rewrote IconTextField

I wasn't happy with its functionality, so I rewrote it to
include the following:

- Left aligned centered icons
- Animated gif support (ex: loading wheels)
- Custom hover effects (color change)
- Input blocking

All changes:

- Created new folder ui/components/
- Moved JShadowLabel and JShadowLabelUI to components folder
- Moved IconTextField to components folder
- Rewrote IconTextField
- Created new components: MaterialTab & MaterialTabGroup
- Created new components: CustomScrollBarUI
- Created new components: PluginErrorPanel
- Created new components: ThinProgressBar
- Applied the new scroll bar ui to the UI defaults (UIManager)
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
327c7b9c3b Restyled the client frame
- Created new substance theme "Obsidian"
- Created new ColorScheme file to hold all globally used colors
- Darkened the client frame using the substance color scheme file
- Changed substance's colorization factor to 1
- Tweaked the coloring on the dev plugin panel
- Set the UI default foreground color on Buttons and MenuItems to White.
2018-05-19 12:16:25 +01:00
Runelite auto updater
509c9e61dc [maven-release-plugin] prepare for next development iteration 2018-05-18 23:31:11 +00:00
Runelite auto updater
7c389bb712 [maven-release-plugin] prepare release runelite-parent-1.3.9 2018-05-18 23:31:04 +00:00
Adam
37ec6d0ac9 Remove distribution management 2018-05-17 19:54:50 -04:00
Adam
75674cfd55 Update pom and README to reflect changes to project structure 2018-05-16 14:14:08 -04:00
Adam
06aa5cd680 Merge pull request #2684 from Adam-/npc-despawn
fire npc despawn event before composition is nulled
2018-05-15 11:20:25 -04:00
Adam
ce46256a44 speccounter plugin: fix kalphite queen spelling 2018-05-15 10:24:15 -04:00
Adam
8136597e72 Merge pull request #2753 from runelite/revert-2681-raids-pointbox-fix
Revert "fix: Hide vanilla raid points box when inside chambers of xeric"
2018-05-15 10:07:38 -04:00
Adam
8ecd130d3a Revert "fix: Hide vanilla raid points box when inside chambers of xeric" 2018-05-15 10:07:24 -04:00
Adam
a72d010794 Merge pull request #2747 from Abextm/revert-varbit-event-defer
Revert #2530 "Make VarbitChanged only fire once..."
2018-05-15 10:07:10 -04:00
Adam
01fc179664 Merge pull request #2735 from Abextm/rename-varc
Rename varc fields
2018-05-15 08:45:04 -04:00
Sebastiaan Holthuis
3a1e7ed0d2 Add " fps" after the number of FPS 2018-05-15 08:42:31 -04:00
Max Weber
669b0a0ab9 Revert #2530 "Make VarbitChanged only fire once..."
This broke the speccounter plugin, and is moderately incorrect because client scripts can update varbits before a tick has happened, and the event should reflect that.
2018-05-15 03:36:16 -06:00
Max Weber
bc1f3530aa Rename varcstrings > varCStrings 2018-05-14 18:58:04 -06:00
Max Weber
97a5031c1b Rename varcs > varCInts 2018-05-14 18:57:59 -06:00
Adam
b61b77a44c Merge pull request #2729 from trimbe/fix-hot-cold
Fix hot cold location south of gnome stronghold
2018-05-14 20:50:51 -04:00
Adam
8fc7e58f60 Merge pull request #2451 from MESLewis/world-map-fairy-ring-tooltip
Add tooltip and custom icon to World Map fairy ring destinations
2018-05-14 20:48:09 -04:00
Morgan Lewis
78e0a654cc Add tooltip and custom icon to World Map fairy ring destinations 2018-05-14 20:34:11 -04:00
Morgan Lewis
c8d7779248 Fix world map overlay to draw pixel perfect on the World Map 2018-05-14 20:34:10 -04:00
Adam
604fb2c400 Merge pull request #947 from Kruithne/skill-calculator
Plug-in: Skilling Calculator
2018-05-14 20:02:53 -04:00
Kruithne
b923335ed1 Implement Skill Calculator plug-in 2018-05-14 19:46:20 -04:00
Adam
0acde2bd06 runelite-mixins: wrap drawTileUnderlay in try/catch
The rasterizer crashes on certain tiles ingame with specific camera angles.

java.lang.ArrayIndexOutOfBoundsException: -1
    at Graphics3D.rasterGouraudLine(Graphics3D.java:797)
    at Graphics3D.rasterGouraud(Graphics3D.java:680)
    at Region.drawTileUnderlay(Region.java:1853)
    at Region.draw(Region.java:1376)
    at Region.drawRegion(Region.java:1187)
    at class35.method682(class35.java:808)
    at WorldMapType3.gameDraw(WorldMapType3.java:448)
    at class218.method4359(class218.java:1069)
    at Client.method1268(Client.java:3922)
    at Client.methodDraw(Client.java:2239)
    at GameEngine.method914(GameEngine.java:605)
    at GameEngine.run(GameEngine.java:1027)
    at java.lang.Thread.run(Thread.java:748)
2018-05-14 18:22:23 -04:00
trimbe
19e87bac36 Fix hot cold location south of gnome stronghold 2018-05-14 17:57:44 -04:00