Commit Graph

262 Commits

Author SHA1 Message Date
Adam
09e15ac255 api: expose IterableHashTable 2018-12-12 08:51:13 -05: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
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
Adam
d715b3a50c runelite-api: add skull icon api for local player 2018-11-24 11:18:15 -05:00
Adam
14d6cd9670 Add implementation of getSprites as it has been inlined 2018-11-22 07:27:41 -05:00
Tomas Slusny
2f6679d67a Expose current login field and password setter
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-11-18 18:45:51 -05:00
Adam
3f5e273349 Add GPU renderer 2018-11-15 09:37:36 -05:00
Adam
f09a0d7d89 mixins: replace drawScene
This is in preparation for extending draw distance.
2018-11-15 09:30:34 -05:00
Adam
fb449283e2 devtools: add cape command 2018-11-12 11:33:38 -05:00
Ron Young
fcb1029b0d ScriptEvent: import op, opbase, and source 2018-11-06 12:56:46 +01:00
Lotto
7cf3e3401a stretchedfixedmode: add resizable interface scaling 2018-10-31 20:21:07 +01:00
Tomas Slusny
b6af8dc4db Export ObjectComposition ID
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-10-27 20:34:48 +02:00
Max Weber
2434557e1a Add ChatboxPanelManager to allow for more advanced chatbox inputs 2018-10-21 17:05:14 -06:00
Max Weber
33dec14a38 Add JavaScriptCallback to allow java callbacks instead of cs2 2018-10-21 16:49:31 -06:00
WooxSolo
33db0af80d Rename getUnknownSoundValues2 2018-10-19 20:02:56 +02:00
Ron Young
8480a7cb88 widget: expose itemQuantityMode (#6020) 2018-10-16 13:00:42 +02:00
Ron Young
bd8f75cf30 widget: expose setchildren (#5309) 2018-10-07 14:20:38 +02:00
Tomas Slusny
345e5aa258 Merge pull request #3635 from deathbeam/add-currently-hovered-tile
Add currently hovered tile to TileIndicators
2018-10-02 10:55:42 +02:00
Ron Young
69170781a5 widget: expose drag methods (#5735) 2018-10-01 21:31:55 +02:00
Tomas Slusny
7e84244702 Export widget onLoadListener
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-30 23:23:52 +02:00
Tomas Slusny
ac5ef045b7 Make sprite and widget sprite overrides more flexible
- Expose NodeCache interface in RuneLite
- Expose Client.getWidgetSpriteCache and reset method on it
- Change setters for sprite and widget overrides to be getters

This allows for more than 1 plugin to use the widget/sprite override API
in future.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-28 20:47:57 +02:00
Tomas Slusny
01628545df Add mappings for checkClick, mouseCanvasHoverX/Y
- Add mappings to use checkClick, mouseCanvasHover X and Y from
runescape-client
- Add methods to set them to runelite-api

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-28 11:31:36 +02:00
Adam
2e13a45e48 Merge pull request #5534 from Nightfirecat/virtual-levels-plugin
Add Virtual Levels plugin
2018-09-19 19:18:30 -04:00
Adam
2b27e2163c runelite-api: add queueChangedSkill for queueing a skill change event 2018-09-19 18:42:14 -04:00
Adam
9d5ca91b8b Merge pull request #5535 from Abextm/revert-useless-setters
Revert "Add camera setters to Client.java and RSClient.java."
2018-09-19 17:15:31 -04:00
Tomas Slusny
396f24e39d Merge pull request #5445 from devLotto/issue-1979
entityhider: make hidden entities not occupy the tile they're on
2018-09-18 13:35:02 +02:00
Max Weber
5d20bbd22c Revert "Add camera setters to Client.java and RSClient.java."
This reverts commit abb28ca5fb.

These methods don't do what they say and what they actually do isn't
useful
2018-09-17 23:00:43 -06:00
Max Weber
975022d3bc runescape-api: Update setWorldMapPositionTarget's name 2018-09-13 12:47:18 -06:00
Lotto
18851f1094 entityhider: make hidden entities not occupy the tile they're on 2018-09-13 00:00:31 +02:00
Abex
4c2e94e514 Merge pull request #5409 from Abextm/widget-names-external
runelite-api: Update widget field names
2018-09-11 11:25:53 -06:00
Max Weber
d159bc63b3 runelite-api: Update widget field names 2018-09-09 11:02:14 -06:00
Tomas Slusny
fc3f657d7c Add mappings for mouse last pressed millis
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-09-09 04:15:01 +02:00
raiyni
9897cb6c3e expose text shadowed 2018-09-05 07:59:24 -05:00
raiyni
d7538791f2 widgets: setBorderThickness 2018-09-05 06:12:26 -05:00
raiyni
7b1b53d4c0 widget: add setItemQuantity 2018-09-04 12:57:16 -05:00
Max Weber
115f570cc7 Import Widget::fontId 2018-09-04 11:25:02 -06:00
raiyni
cbbae60079 Widgets: add setItemId 2018-09-04 11:45:21 -05:00
Adam
417c19e209 Revert "Merge pull request #4568 from deathbeam/proper-shutdown"
This reverts commit 8d53997685, reversing
changes made to 4f548e835c.

This is crashing on shutdown.
2018-08-30 06:46:26 -04:00
Tomas Slusny
8d53997685 Merge pull request #4568 from deathbeam/proper-shutdown
Properly shutdown everything on window close
2018-08-29 15:20:28 +02:00
Sean Dewar
cc698c98a3 Add run energy plugin 2018-08-27 20:29:04 -04:00
Adam
2b81d30228 Add Ignore API 2018-08-24 21:13:34 -04:00
DannysPVM
abb28ca5fb Add camera setters to Client.java and RSClient.java. 2018-08-18 18:32:52 -05:00
Adam
5d7a3a0072 runelite-client: add wasd camera plugin 2018-08-15 08:08:10 -04:00
Adam
4d7d301ee8 Merge pull request #4819 from Abextm/spritepixels-external
Make the second argument of SpriteManager::getSprite work
2018-08-14 08:20:56 -04:00
Adam
258c2c6b86 runescape-api: GameEngine doesn't extend KeyFocusListener 2018-08-13 09:38:04 -04:00
Lotto
275d093767 runescape-api: add Protect annotation 2018-08-12 09:15:05 -04:00
Lotto
716c84c132 runelite-api: expose ChatPlayer.world 2018-08-12 08:51:01 -04:00
Lotto
e93ee86a21 mixins: add world hopping mixin 2018-08-12 08:51:00 -04:00
Max Weber
bac90876b0 Make the second argument of SpriteManager::getSprite work
I just blindly assumed that the arguments to net.runelite.cache.SpriteManager worked the same as Jagex's code, which is not true. In reality the second argument to getSprite(s?)asSpritePixels is always zero, and instead you have to decode the entire archive then select a sub image, rather than a subfile.
2018-08-11 01:35:32 -06:00
Tomas Slusny
4a3fcd2f45 Add exports for GameEngine#shutDown
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-06 20:14:13 +02:00