Commit Graph

151 Commits

Author SHA1 Message Date
Adam
44266d0dcc instance map plugin: rewrite to use client minimap code 2018-03-25 18:43:29 -04:00
Max Weber
92a94cff32 Ensure createItemSprite is called on the game thread 2018-03-25 14:51:14 -04:00
Max Weber
0ec8d7615f runelite-client: Add ClientThread to aid in synchronizing with the client 2018-03-25 14:51:13 -04:00
Max Weber
764e361626 mixins: Use assert in scriptvm 2018-03-24 20:38:59 -06:00
Tomas Slusny
10629bfa4a Add support for getting real canvas dimensions
In stretched mode the canvas dimensions are the stretched dimensions, so
add method that will return normal game dimensions in case stretched
mode is enabled and we are not in resizeable mode.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-22 21:03:45 -04:00
Adam
5bbea1fdc9 Merge pull request #1036 from Joshua-F/refactor/rename-vars
Rename widgetSettings and settings
2018-03-22 08:49:16 -04:00
Runelite auto updater
6ad6edd7cc [maven-release-plugin] prepare for next development iteration 2018-03-22 12:06:36 +00:00
Runelite auto updater
0e2e5235df [maven-release-plugin] prepare release runelite-parent-1.3.1 2018-03-22 12:06:32 +00:00
Joshua Filby
70ddd2d4a3 fix: hook clientVarps instead of settings 2018-03-21 17:39:37 -05:00
Joshua Filby
abb1996c4e refactor: rename widgetSettings to clientVarps 2018-03-21 17:29:28 -05:00
Adam
257822aea0 Add npc menu options to MenuManager 2018-03-20 18:19:48 -04:00
Adam
da29e3560f runelite-api: add getConvexHull to Actor 2018-03-20 18:19:48 -04:00
Adam
6f61780e68 runelite-api: move getConvexHull to Model 2018-03-20 17:59:52 -04:00
Dreyri
fd0dd85bad Broadcast widget hidden changed recursively for each child too 2018-03-19 20:41:21 -04:00
Adam
1a7331331f boosts plugin: show time to next change 2018-03-16 17:46:07 -04:00
Dennis de V
ef02e6e316 runelite-mixins: add null check for widget group in getGroup() 2018-03-16 17:16:22 -04:00
Dennis de V
15ef09cd5e runelite-api: add widget open event 2018-03-16 17:16:18 -04:00
Dennis de V
56f8ebe4da runelite-api: add event for dragging widget 2018-03-16 17:16:14 -04:00
DESKTOP-G1DDN84\Denni
2e21f1e56a restore menu entries after open/close widget 2018-03-15 20:27:30 -04:00
Adam
6f1853575d runelite-mixins: add null checks in region mixin 2018-03-15 16:07:36 -04:00
Runelite auto updater
53e19ea206 [maven-release-plugin] prepare for next development iteration 2018-03-15 12:21:30 +00:00
Runelite auto updater
1dcdb90463 [maven-release-plugin] prepare release runelite-parent-1.3.0 2018-03-15 12:21:26 +00:00
SomeoneWithAnInternetConnection
f1751e21c3 Use a fieldhook for MenuEntryAdded events
The previously-hooked addMenuEntry method in runescape-client is one
that occasionally gets inlined which can cause weird breakages like
MenuEntryAdded not getting fired for menu entries defined in
ItemDefinitions. Hooking the menuOptionCount field should be more
reliable.

Fixes #936
2018-03-14 17:31:37 -04:00
Tomas Slusny
65619e998b Fix NPE from RSPlayer#getName
Add null check for getRsName, because when logging to game, sometimes it
is null, and throws NPE.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-14 18:09:58 +01:00
Adam
5411da531b runelite-api: add scale to createItemSprite 2018-03-13 14:13:14 -04:00
Adam
14299f543d Reset player menu types whenever the options are changed 2018-03-10 21:17:59 -05:00
Adam
7320a4f61a runelite-api: add ability to get npc index 2018-03-10 09:54:47 -05:00
Max Weber
f560fb9427 Add planes to planeless tile objects 2018-03-09 20:59:06 -07:00
Max Weber
b75dddca28 Update almost everything to the new API 2018-03-09 20:59:05 -07:00
Max Weber
1d5a9f7e90 isRSHidden > isSelfHidden 2018-03-08 19:35:03 -07:00
Max Weber
badc1e9182 injector: Fix scriptvm not updating currentScript 2018-03-08 18:54:05 -07:00
Adam
bcab14bfe4 Bump to 1.3.0-SNAPSHOT 2018-03-08 19:54:10 -05:00
Runelite auto updater
f00ef6ae34 [maven-release-plugin] prepare for next development iteration 2018-03-08 14:02:25 +00:00
Runelite auto updater
91c73c5c8c [maven-release-plugin] prepare release runelite-parent-1.2.19 2018-03-08 14:02:21 +00:00
Adam
a8f6a7dcd7 npc mixin: add null checks for composition 2018-03-08 08:53:26 -05:00
Adam
0d2aa71387 script vm mixin: comment more 2018-03-08 08:46:27 -05:00
Adam
938dd969d7 script vm mixin: remove assert for pc
pc appears unused, and is not being set correctly
2018-03-08 08:41:58 -05:00
Adam
23c448ccd0 Merge pull request #794 from devLotto/clienterrorfilter
Improve printing of the game's stacktraces + don't send RuneLite stacktraces to Jagex
2018-03-07 19:15:54 -05:00
Lotto
4c8276b6fa runelite-mixins: add mixin for processing game exceptions 2018-03-07 18:28:03 +01:00
Tomas Slusny
c0e9a502eb Add support for changing world to API
- Export World from RS client
- Export changeWorld method
- Create new method for creating RuneScape world

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:00 +01:00
Lotto
d0aa72f61b Add support for proxying mouseWheelMoved events 2018-03-06 00:37:59 +01:00
Lotto
d1d45eb11f Modify the size and location of the game canvas if stretched is enabled 2018-03-06 00:37:59 +01:00
Lotto
4e198b6e0e Add logic for game image stretching in Hooks#draw
Cache stretched dimensions and image

Fix rendering hint not being set until you resize window
2018-03-06 00:37:59 +01:00
Lotto
22f931a438 Add a mixin for storing stretched fixed mode setting states 2018-03-06 00:37:59 +01:00
Lotto
e830442585 Use a mixin for calling Hooks.draw instead of a @Hook 2018-03-06 00:37:59 +01:00
Max Weber
2e80d972fe inline RSHashTableMixin.getNodes into RSWidgetMixin.getParentId to reduce allocations 2018-03-03 19:57:09 -07:00
Max Weber
81a90762d9 zoom: Fix pitch relaxer after rev 165 changes 2018-03-01 19:33:55 -07:00
Runelite auto updater
af46fc4756 [maven-release-plugin] prepare for next development iteration 2018-03-01 14:43:43 +00:00
Runelite auto updater
5ae9a9fbff [maven-release-plugin] prepare release runelite-parent-1.2.18 2018-03-01 14:43:38 +00:00
Adam
a999863a80 Add support for intercepting mouse and keyboard input
Also allow translating mouse input for stretched fixed mode.

This is required for moving overlays, and interacting with the instance map.
2018-02-27 19:31:45 -05:00