Commit Graph

46 Commits

Author SHA1 Message Date
Adam
789221490e runelite-api: add game object and wall object spawn/change/despawn events 2018-01-30 09:52:41 -05:00
Adam
06fc579ef2 Remove even more unused imports 2018-01-29 09:16:20 -05:00
Adam
eebf3eee03 mixins: fix getProjectiles queue iteration logic 2018-01-29 08:16:44 -05:00
Adam
f31bc0d794 Remote projectile target and length tracking
Continuation of 4c293e612cd4b08fc7230a5e6722c8acc74e5a9e
2018-01-29 08:10:46 -05:00
Adam
41f005827c Add runelite vm opcode and event 2018-01-27 13:07:32 -05:00
Adam
c4d838b10c Add ability to overlay cache archives 2018-01-27 13:07:31 -05:00
Adam
e467ebdcf8 Add slf4j to mixins and expose logger in Hooks for them 2018-01-27 13:07:21 -05:00
Seth
1b24d83a00 Add graphic changed event 2018-01-25 19:55:07 -05:00
Adam
b6c00a774d runelite-api: add ItemContainer 2018-01-24 18:01:29 -05:00
Adam
7287102254 Merge pull request #424 from oplosthee/grounditems-height
Incorporate height into the GroundItems overlay
2018-01-24 14:01:15 -05:00
oplosthee
300fa9c8f6 Incorporate height into the GroundItems overlay 2018-01-24 19:29:19 +01:00
Tomas Slusny
68ba5f40b6 Add low memory mode plugin 2018-01-24 12:48:07 -05:00
Adam
3ed0561ff0 Merge pull request #410 from Dreyri/RSWidget
Add more methods to modify widgets
2018-01-22 19:57:19 -05:00
SomeoneWithAnInternetConnection
74ae39258e Expose runescape click/boundingbox display mode 2018-01-22 18:46:47 -05:00
SomeoneWithAnInternetConnection
560b169e68 Implement sound-playing API
There's no playSoundEffect-equivalent method in the actual client code.
Instead, the client just adds some values to the 4 sfx arrays, removes
any old queued sound effects, and then bumps the counter, which is what
I've done as well.
2018-01-22 11:55:27 -05:00
Dreyri
4a20e9ca07 add setter for name 2018-01-22 15:06:22 +01:00
Max Weber
fdc80dfeaa Prevent the client from taking focus when it doesn't have it. 2018-01-15 19:51:29 -07:00
Frederik Engels
53317cdfc8 Add widget hidden change event, use in attack indicator plugin 2018-01-14 10:28:16 -05:00
Frederik Engels
b319d74f8d Track projectile target and spawn cycle. Add to api with rest of mapings. 2018-01-14 09:41:03 -05:00
Tomas Slusny
d41c6ec6d8 Fix new player-is-x mixins
- Call the real method from isFriended
- Call the real method from isIgnored
- Add null check for getClanMembers

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-01-14 05:07:57 +01:00
Tomas Slusny
f565c4b7dd Add tile indicators plugin
Add tile indicators plugin, that will currently highlight the tile
player is walking to. It is disabled by default, and have configurable
highlighting color.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-01-13 03:25:37 +01:00
UniquePassive
68d448b7de Implement optimized isFriend, isIgnore and isClanMember 2018-01-12 20:49:21 -05:00
Adam
31c73e4d61 Move field hooks to mixins 2018-01-11 18:59:58 -05:00
UniquePassive
8f9c74aa91 Don't NPE when Player name is null 2017-12-27 20:31:50 +01:00
Onvo
b5c2d75527 Add Widget.contains point 2017-12-23 19:11:21 -05:00
Tomas Slusny
4860eb871f Add chat message recolouring API
- Update api of SendMessage to also include message type
- Create API for updating chat message based on saved colors for normal
and highlighted message and for adding game messages that can be
recolored too
- Update chat commands plugin to use the new API
- Add option to globally disable recoloring to RuneliteConfig

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:36 -05:00
Tomas Slusny
454fd4cfc1 Add clan ranks to clan chat
- Extend API to include support for getting clan members and
informations about them
- Add API for manipulation with modIcons
- Display clan ranks in clan chat (add to ClanChat plugin)
- Add new hook for clan members changed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-04 19:33:13 -05:00
Adam
d0cb93c433 runelite-api: add Projectile 2017-11-26 11:03:47 -05:00
Adam
6f4fb6d8be runelite-api: fix Tile location methods 2017-11-24 18:00:59 -05:00
Toocanzs
6c14b08384 instance map: draw map icons, objects, doors, and improve walls 2017-11-21 19:04:35 -05:00
Adam
1cad0c1504 runelite-api: add SpritePixels.toBufferedImage 2017-11-21 18:58:54 -05:00
Adam
ac071771b0 runelite-api: add getRegionMin/MaxLocation for GameObject 2017-11-21 17:35:10 -05:00
Toocanzs
eecf183700 instance map: add complex tile rendering 2017-11-19 20:03:12 -05:00
Adam
ab297e969c runelite-api: add MenuEntry abstraction for menu arrays 2017-11-16 20:12:05 -05:00
honeyhoney
16b0cff40f Corrected typo (verticies to vertices) 2017-11-12 17:32:04 +00:00
l2-
7539e7b640 runelite-client: recolor chat command messages when chatbox transparency changes
Support different colors for transparent chat boxes
2017-11-10 13:46:16 -05:00
Devin
8165975ba5 Add getWorldLocation mixin for Actor 2017-11-02 14:21:10 -07:00
Adam
367bd1e1ec Add Documented annotation and javadoc to new mixin annotations 2017-10-22 10:57:54 -04:00
UniquePassive
71382a7819 Fix checkstyle errors 2017-10-22 16:42:06 +02:00
UniquePassive
69895328be Add method mixin copy and replace functionality 2017-10-22 16:42:06 +02:00
Tyler Hardy
97f7bd0c48 Add sprite drawing on actors 2017-10-19 17:07:41 -04:00
Adam
6792f2570a Use player indices to iterate local players 2017-10-17 17:16:01 -04:00
Adam
10a494a2b7 Use npc indices to iterate local npcs 2017-10-17 17:15:58 -04:00
Alexander
c3e8cc0131 Field mixins 2017-10-17 17:11:07 -04:00
Devin French
348d33802f Add fight cave plugin 2017-10-09 21:18:00 -04:00
Adam
59552896ed Remove object wrappers and use mixins to inject functionality
This causes hierarchy to be runelite-client -> runelite-api and
injected-client -> runescape-api -> runelite-api. The mixin injector
fufills the runelite-api interface with access to the runescape-api
interfaces. The mixins live in runelite-mixins and are not loaded within
the client.

Note the obfuscated client classes do not pass JVM verification on 7+,
so the mixins are currently set to target Java 6.
2017-08-19 13:58:06 -04:00