Commit Graph

2914 Commits

Author SHA1 Message Date
Adam
46d66d7823 Change MenuEntry type to int
We don't have all of the types in MenuAction and it causes them to get mapped to UNKNOWN when translated back and forth with the API
2018-04-02 08:24:16 -04:00
Adam
5a74798833 Merge pull request #1104 from sethtroll/addshiftclicktag
npc indicator: add shift right click to add tag option
2018-04-01 21:04:33 -04:00
Adam
953effd615 Merge pull request #1197 from DevDennis/clip-ground-items-overlay
Clip overlays on the above scene layer to the viewport
2018-04-01 20:53:14 -04:00
Adam
16444487f7 Merge pull request #1173 from Abextm/rs-input-widget
Add ChatboxInputManager to provide a RuneScape styled input box
2018-04-01 16:32:13 -04:00
Max Weber
44c740f21e Add ChatboxInputManager to provide a RuneScape styled input box 2018-04-01 16:16:27 -04:00
Max Weber
aa02da45c0 Allow assembly and loading of new scripts 2018-04-01 16:16:27 -04:00
Max Weber
38f59146d5 Mixins: Give scripts a log.debug callback 2018-04-01 16:16:26 -04:00
Max Weber
103c3b87de cache: Allow scripts to start with comments 2018-04-01 16:16:26 -04:00
Max Weber
6e80cff926 Expose methods to execute scripts 2018-04-01 16:16:25 -04:00
Max Weber
0c04804d1a ScriptEvent > ScriptCallbackEvent 2018-04-01 16:16:25 -04:00
Seth
4a90ff549e npc indicator: add shift right click to add tag option
currently, npc tagging causes some npc's to have the tag option as left click which can cause missclicks. This adds the ability to add the "tag" option only when shift is being pressed
2018-04-01 15:52:19 -04:00
Adam
c68e0c6064 Merge pull request #1225 from MESLewis/clue-small-fix
Fix challenge answer for Nurse Wooned clue
2018-04-01 15:31:58 -04:00
Adam
bbb0492ccc Merge pull request #1226 from Adam-/playerindicators2
Refactor playerindicators
2018-04-01 15:31:04 -04:00
Adam
fac507c7e8 player indicators plugin: change color of menus 2018-04-01 15:06:59 -04:00
Adam
c0bec73e5c player indicator overlay: render clan rank next to names 2018-04-01 15:06:59 -04:00
Adam
74fd91d887 clanmanager: expose way to get bufferedimages for clan icons 2018-04-01 15:06:58 -04:00
Adam
2b64f1b569 Move clanmember icon logic to clanmanager 2018-04-01 15:06:55 -04:00
Adam
c916b9cb34 Add clan member manager to cache clanmember ranks, use in clanchat plugin 2018-04-01 15:06:32 -04:00
Tomas Slusny
2455b4f639 Add support for drawing player team's names
Add support for drawing player names and indicators for players in same
team as actual player.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 14:27:20 -04:00
Tomas Slusny
185aa3f45b Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 14:27:19 -04:00
Adam
65e3629f34 clanchat plugin: change cache to expire after write 2018-04-01 14:21:00 -04:00
Adam
34f18f5656 Revert "Merge pull request #1154 from deathbeam/team-member-names"
This reverts commit f0293087ce0a2e2dc515cfb57ef926c185d25cb5, reversing
changes made to 309c1fde25d32086cfd242f988c8f45df903d66c.
2018-04-01 14:20:27 -04:00
Morgan Lewis
da523258ac Fix challenge answer for Nurse Wooned clue 2018-04-01 11:46:37 -06:00
Adam
7ced52e004 Merge pull request #1146 from deathbeam/move-buttons-to-sidebar
Move title toolbar buttons to sidebar in native
2018-04-01 12:20:45 -04:00
Adam
425177ab94 Merge pull request #1134 from MESLewis/mouse-tooltip-tweaks
Mouse Tooltip Options
2018-04-01 11:23:21 -04:00
Adam
45597133f7 perspective: use viewport offset in get2DGeometry 2018-04-01 11:16:10 -04:00
Adam
96b75e088b overlay renderer: clip above scene and under widgets to viewport on fixed
The minimap on fixed is drawn before above scene and under widgets
2018-04-01 11:16:10 -04:00
Adam
4265a1cf15 overlay renderer: use copyonwritelist for overlays
The map can be rebuilt during rendering
2018-04-01 10:52:48 -04:00
Adam
71da137034 Merge pull request #1196 from Adam-/minimap2
cache: rewrite map image dumper with logic from client
2018-04-01 10:41:30 -04:00
Morgan Lewis
9a4a80dd88 Add options to disable mouse tooltip on interfaces and chatbox 2018-04-01 10:38:13 -04:00
Adam
efc3ac44ec Merge pull request #1136 from MESLewis/widget-inspector-improvement
Widget inspector improvement
2018-04-01 10:29:17 -04:00
Morgan Lewis
5c46cc2159 Add names from widgetInfo to the Widget Inspector 2018-04-01 10:01:58 -04:00
Adam
6992b4ee39 Merge pull request #1154 from deathbeam/team-member-names
Enhance player indicators plugin
2018-04-01 09:52:12 -04:00
Tomas Slusny
d98fe4cf2d Properly invalidate clan ranks and names
- Invalidate clan ranks when player changes his clan
- Invalidate player names when game state changes

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny
d268f9a75c Add clan changed hook
Add hook that will fire when user changed his clan.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny
01f2532b1c Add DMM name drawing opcodes to cache
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:54 -04:00
Tomas Slusny
52129598e5 Always remove tags from player.getName()
- Move removal of tags to RSPlayerMixin
- Remove tags from players names where needed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:53 -04:00
Tomas Slusny
59ad536fa9 Merge clan chat and player indicators plugin
As the only purpose of clan chat was to add clan chat icons for players
in CC, this functionality can be done too from Player Indicators plugin.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:52 -04:00
Tomas Slusny
5044e40bdd Use built-in name rendering in player indicators
- Change player indicators to use built-in player name rendering
- Add support for drawing clan member rank icons thanks to built-in
player name rendering

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:13:50 -04:00
Tomas Slusny
7c233a096c Add mappings and api for DMM player names
- Add mappings for DMM player names and methods using them
- Create class with DMM player name rendering masks
- Create mapping for cleanName from player
- Create mapping for setting name to player

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:12 -04:00
Tomas Slusny
24e6b24200 Add support for drawing player team's names
Add support for drawing player names and indicators for players in same
team as actual player.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 09:11:11 -04:00
Tomas Slusny
a24b7b427e Merge pull request #1211 from deathbeam/fix-item-manager-init
Use provider for client in item manager
2018-04-01 07:14:51 +02:00
Tomas Slusny
a730ae0d22 Use provider for client in item manager
To prevent ItemManager initializing with null client change reference to
the client to Provider<Client>.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-04-01 04:18:08 +02:00
Adam
197c42eafd Merge pull request #1198 from sethtroll/addregiontoagility
agility plugin: Add region check to lap counter
2018-03-31 21:31:14 -04:00
Seth
543476cf54 agility plugin: Add region check to lap counter
Some courses have obstacles that have XP equal to another courses last obstacle making it trigger a new course. This adds a region check to make sure you are in the correct region for the course
2018-03-31 21:00:13 -04:00
Adam
331b634f49 Merge pull request #1209 from sethtroll/fiximplingoverlay
impling plugin: Move minimap overlay into it's own overlay
2018-03-31 20:56:41 -04:00
Adam
68b38d106f Merge pull request #1207 from deathbeam/fix-ground-item-recache
Invalidate ground items and item composition cache
2018-03-31 20:50:46 -04:00
Adam
942f396c21 Merge pull request #1210 from MESLewis/ground-item-user-input
Add configuration options for ground item plugin
2018-03-31 20:49:08 -04:00
Seth
3d5e0b82b0 impling plugin: Move minimap overlay into it's own overlay
to render above minimap on resizable, the overlay must be rendered above widgets
2018-03-31 18:58:52 -05:00
Tomas Slusny
7164d4cc8c Merge pull request #1202 from rune3132/master
Added the turquoise slayer helmet to the slayer plugin
2018-04-01 01:57:36 +02:00