Commit Graph

327 Commits

Author SHA1 Message Date
Adam
f7332aa074 mixins: set thread name on client thread 2019-04-13 14:00:15 -04:00
Lotto
8f53358a4e client: add HD health bars to Interface Styles 2019-04-06 14:29:49 -04:00
Adam
bd9a69dc19 runescape-api: rename CombatInfo2 to HealthBar 2019-04-06 13:41:32 -04:00
Adam
5acf9ad1e7 mixins: set array capacity in getVertices 2019-04-05 22:47:03 -04:00
Max Weber
dd993224ef mixins: Fix convex hulls being incorrectly contoured
the Models returned by getModel are already contoured if required; we do not need to do it again
2019-03-31 09:53:03 -04:00
Adam
540edb3da3 mixins: fix incorrect usage of getNameables()
The length of the NameableContainer must be accounted for.
2019-03-27 17:08:46 -04:00
Adam
bc41e18d31 Merge pull request #3380 from Hydrox6/right-click-bank-buttons
Add ability to disable Left Click to bank inventory, equipment, and looting bag options
2019-03-26 17:26:05 -04:00
Magic fTail
ee98065735 api: add overhead text changed event and setOverheadText 2019-03-19 14:37:35 -04:00
Adam
181b6f0c1c api: add event for controlling menu left click behavior 2019-03-19 00:32:25 +00:00
trimbe
8285bc80ca mixins: use last non-null child to determine index for new widgets 2019-03-12 14:57:52 -04:00
Adam
c5ebc9547c api: update 178 2019-03-07 08:38:55 -05:00
Adam
21bc06a13c Merge pull request #8088 from Adam-/xptracker-overall
xptracker: correct total xp per hour calculation
2019-03-05 20:15:50 -05:00
trimbe
e9597e85d8 mixins: use a ClanMember for ClanMemberJoined/Left 2019-03-03 20:17:03 -05:00
Adam
e5f9db4fb4 api: add methods to get clan owner and chat name
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam
facf438b50 api: add clan member join and leave events
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam
24003c69a7 api: add method to remove MessageNodes
Co-authored-by: trimbe <benno.tremback@gmail.com>
2019-03-03 15:03:43 -05:00
Adam
188bb70417 xptracker: use long for tracking overall xp 2019-03-03 14:41:17 -05:00
Adam
9b0bb2b732 runescape-api: make RSNameableContainer a generic type 2019-03-02 18:37:08 -05:00
Adam
b6ab78b501 api: add changed varp index to VarbitChanged event 2019-03-01 22:28:56 -05:00
Adam
5e9d0c1abb mixins: inject Client constructor for initialization of enumCache 2019-02-26 08:50:44 -05:00
Adam
7830d003ca api: add RS Enum API 2019-02-25 16:40:26 -05:00
Max Weber
1089eba6bc mixins: rename gameDraw to renderWidgetLayer 2019-02-18 20:51:38 -07:00
Max Weber
38ab569422 mixins: Include game crash string in log
This lets the client print the cs2 vm stack to our logs
2019-02-16 20:36:33 -07:00
Max Weber
1715a369c0 mixins: Fix DecorativeObject ConvexHulls 2019-02-12 04:08:24 -07:00
Adam
d4682746c7 api: remove SetMessage event 2019-02-07 19:42:25 -05:00
Adam
d7e605f051 api: add MessageNode and timestamp to ChatMessage event 2019-02-07 19:42:24 -05:00
Adam
1bb29d4cd0 api: remove projectile getInteracting
This is unused currently and is being abused by some hacked clients.
2019-02-01 20:52:24 -05:00
Max Weber
001ac540e7 mixins: Don't clobber left click forced menuops 2019-01-28 05:06:53 -07:00
Max Weber
935ce60791 mixins: Force RUNELITE_OVERLAY menuops to not be left click
This is similar to how you cannot left click the remove placeholder button
2019-01-26 07:57:59 -07:00
Adam
ccae0c2c48 api: mark getCollisionMaps as nullable 2019-01-19 15:23:47 -05:00
Tomas Slusny
0d5eac1a88 Add ClientTick event
Add ClientTick event that is fired every time game cycle counter
is updated.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-13 19:35:24 -05:00
Max Weber
7268d2cf34 ScriptVM: Bump execution time limit
This was changed a long time ago in Jagex's code. Normal listeners timeout after 500kops, but onLoadListeners timeout after 5mops
2019-01-07 19:03:15 -07:00
Adam
a342a1f220 Merge pull request #7200 from Abextm/skybox-y
Add Skybox plugin
2019-01-07 13:48:49 -05:00
Max Weber
9098d1fa94 Add Skybox plugin 2019-01-07 13:39:09 -05:00
Adam
0e7b9cf380 scene mixin: disable clickbox checks when detatched camera is enabled
This is already disabled in GPU mode (since we control the clickboxes
there), has no real use, and is frequently abused.
2019-01-07 10:18:20 -05:00
Adam
758f95c517 Merge pull request #7090 from Abextm/premul-alpha-external
gpu: Use premultiplied alpha
2018-12-31 22:41:20 -05:00
Adam
bff1bb6f70 model data mixin: move lighting model log message to trace level 2018-12-28 22:05:13 -05:00
Max Weber
b1bfe1c47f gpu: Use premultiplied alpha 2018-12-27 13:32:07 -07:00
Adam
ed13fd3039 api: add timestamps to message nodes, expose message id 2018-12-13 20:00:38 -05:00
WooxSolo
f7377d75ec gpu: fix black overlays behind gradients 2018-12-03 09:58:41 -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
Adam
dcbcae21d1 Merge pull request #6572 from Abextm/fix-carrot
Fix carrots in ChatboxTextInput
2018-11-19 17:48:15 -05:00
Adam
98b4e5aede mixins: remove extended visiblity maps
They ended up not being used on GPU, and the time spent calculating them
noticibly slows down the client when resizing it.
2018-11-19 12:41:01 -05:00
Max Weber
b8ff7f8412 ScriptVM: Catch exceptions thrown from a JavaScriptCallback
These shouldn't crash the client
2018-11-18 17:43:55 -07:00
Lotto
5e3caf9190 gpu: limit interaction distance from camera
The bounding box limitation is not enough for preventing users from interacting with objects far away when the game window is wide.

This introduces a limit on how far away the camera can be from objects for you to be able to interact with them, remedying the issue above.
2018-11-17 16:15:28 +01: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