Commit Graph

10 Commits

Author SHA1 Message Date
Max Weber
f16cd53d09 runelite-api: Optimize getClickbox
- Use the pre-calculated center/extreme xyz fields for the aabb
 - use modelToCanvas and reduce indirection
 - Use a specialized union that only does axis-aligned rectangles
     instead of the Area class
 - Use a specialized intersection that only does convex polygons, again
     to avoid Area
2019-10-01 18:00:24 -06:00
Adam
b8eac1296c Add Angle and Direction
Extend GameObject.getOrientation() to account for object flags, and
return an Angle
2018-04-18 22:57:59 -04:00
SoyChai
51e42a3231 Expand tests for and document the Experience API 2018-03-25 15:30:09 -04:00
Adam
971692b025 Use client Varbit for index, lsb, msb 2018-02-15 09:57:22 -05:00
Adam
6801ac1843 runelite-api: fix combat fornula 2018-01-14 10:42:55 -05:00
SomeoneWithAnInternetConnection
aad76b9bab Fix IllegalArgumentExceptions from XPGlobes' tooltips for level 1 stats
To draw the progress bar, XPGlobesOverlay.drawTooltipIfMouseover() uses
Experience.getXPForLevel(), which threw an IllegalArgumentException when
asked about level 1. This change shifts the XP_FOR_LEVEL array over by
one, so that XP_FOR_LEVEL[0] is the XP required to reach level 1 (i.e. 0),
rather than the XP required for level 2.
2017-12-16 16:09:58 -05:00
Adam
20b10998d3 runelite-api: add combat level formula to Experience 2017-08-15 17:51:30 -04:00
Adam
1a95cdf5a6 runelite-api: add Jarvis march algorithm and and getConvexHull to GameObject 2017-08-12 22:28:34 -04:00
Adam
64f99a909a runelite-api: add Experience class for xpForLevel and levelForXp 2017-05-10 16:15:07 -04:00
Adam
63e1ba6a26 runelite-api: add api method for reading varbits 2017-04-21 13:43:52 -04:00