Commit Graph
11176 Commits
Author SHA1 Message Date
Adam 13ecfc0a9e gpu: add sync mode config
This allows the additional OFF mode which has the client manage its own
frame rate target without the use of vsync. On lower end systems which
have a hard time delivering a frame in the vsync interval this can give
a noticible performance improvement since it doesn't stall the cpu
waiting for the next vblank when a frame is skipped
2021-11-14 17:33:01 -05:00
Jordan 759565e331 Merge pull request #14369 from LlemonDuck/spec-counter-ignore-vetion-hellhounds 2021-11-14 07:26:57 +00:00
LlemonDuck b6e0e01f7d special counter: ignore vet'ion hellhounds
Prevents spec counter resetting when attacking a skeleton hellhound spawned by Vet'ion. The hellhounds are spawned at 50% HP, and are required to kill to continue the fight, so the player will continue fighting Vet'ion after they are killed.

It's possible that a player may want to use a spec against the hellhounds, but I'm not aware of any reason for it.
2021-11-13 19:41:44 -08:00
AdamandJordan Atwood 1362af414a chat filter: Ignore character accents for matching
This lets plain latin-character filters to match messages with accents
and diacritics which are not easily typed on all keyboard layouts.

Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
2021-11-13 10:15:42 -05:00
Adam 67f7e7f488 clues test: remove unnecessary stubbing 2021-11-12 20:02:42 -05:00
Adam 706b9bdba0 clues: remove unnecessary item array copy
The array returned by getItems() is always a new array and so does not require copying
2021-11-12 09:17:13 -05:00
Jordan 40cc117527 Merge pull request #11321 from Hydrox6/clues-runepouch 2021-11-12 05:11:36 +00:00
Hydrox6 32ff64b30c clues: make item requirements work with the runepouch 2021-11-11 21:03:52 -08:00
Hydrox6 e9a1326fd4 move runepouch rune enum to client/game 2021-11-11 20:48:07 -08:00
simeonlg b6ce64d315 clues: Accept Tome of water when requiring water runes (#14361) 2021-11-11 18:41:43 +00:00
Adam 020d26ce7f Revert "crowdsourcing: Add varbit crowdsourcing (#13212)"
This reverts commit 685ec4524e.
2021-11-11 10:00:59 -05:00
andmcadams 685ec4524e crowdsourcing: Add varbit crowdsourcing (#13212) 2021-11-11 07:20:25 +00:00
Adam 70d916af52 banktags: remove setBankScroll event
This hasn't worked in awhile since it was assining the scroll value to the
wrong variable. Now we are computing the scroll in onScriptPreFixed for
[proc,bankmain_finishbuilding], so it is no longer necessary here.
2021-11-10 21:38:29 -05:00
Adam c8ec004b7a banktags: improve bank scrollbar updates
With tag tab tab or "Remove tab separators", the scrollbar height needs to be
adjusted to account for either many tag tabs (which requires scrolling to see)
or the hiding of the tab separators. This is because we artifically filter the
bank results without keeping the bank in searching mode, causing the vanilla
code which usually computes the scroll height to be incorrect.

The existing code does this by manually invoking [proc,update_scrollbar] later
with the recomputed scroll height. Now that invokeLater runs next tick and not
next frame, this leaves several frames with the scrollbar the incorrect size.

The desired scroll height is passed to [proc,bankmain_finishbuilding] in
argument int12, so instead we recompute the scroll height and overwrite the
script argument prior to execution.
2021-11-10 21:38:29 -05:00
Adam f71397f3f1 banktags: remove extra space in chatbox prompt 2021-11-10 21:38:29 -05:00
Alex 5c8ed9f11a ground items: Fix despawn timer in clan hall (#14358) 2021-11-10 19:53:33 +00:00
Runelite auto updater e1e46f4ee9 Bump for 1.8.3-SNAPSHOT 2021-11-10 11:54:00 +00:00
Runelite auto updater c8823b41fd Release 1.8.2 2021-11-10 11:53:57 +00:00
Max Weber ea4251a03c camera: remove our compass look op config
this is now in vanilla
2021-11-10 04:12:09 -07:00
RuneLite Cache-Code Autoupdater 4c5b5ea68b Update NPC IDs to 2021-11-10 2021-11-10 04:12:09 -07:00
RuneLite Cache-Code Autoupdater 417b0a0e6c Update Object IDs to 2021-11-10 2021-11-10 04:12:09 -07:00
Adam 8ebef03e4d opponent info: use long npc name if available
This name is used on the in game hd hud (eg "Baby Muttadile" instead of "Muttadile")
2021-11-09 16:55:54 -05:00
Adam 7b6074f0f8 opponent info: hide overlay if hp hud is active 2021-11-09 16:23:19 -05:00
Adam 8803034721 gpu: enable adaptive vsync
From the opengl wiki:

Recent GL drivers implement a new WGL/GLX extension called EXT_swap_control_tear.
This extension brings "adaptive vsync" as featured in modern gaming consoles to the PC.

Adaptive vsync enables v-blank synchronisation when the frame rate is higher than the
sync rate, but disables synchronisation when the frame rate drops below the sync rate.
Disabling the synchronisation on low frame rates prevents the common problem where the
frame rate syncs to a integer fraction of the screen's refresh rate in a complex scene.

If the EXT_swap_control_tear extension is not supported, JOGL uses the absolute value
as the swap interval, 1, the same as before.
2021-11-09 15:37:24 -05:00
Jordan d0b62edd6b Merge pull request #14348 from Hydrox6/roof-removal-tolna 2021-11-08 08:42:04 +00:00
Hydrox6 f70eb5db9d roof removal: fix tolna's rift 2021-11-08 00:35:53 -08:00
Jordan 79ae112538 Merge pull request #14245 from Hydrox6/roof-removal-rimmington 2021-11-08 08:35:30 +00:00
Adam 554ed2d4d4 gpu: initialize targetBufferOffset on startup 2021-11-07 18:01:36 -05:00
Adam 94e2627697 gpu: update suppressed warnings 2021-11-05 11:18:25 -04:00
Max Weber 97e5186535 gpu: use optimized scene uploading for dynamic models too 2021-11-04 21:50:07 -06:00
Max Weber 5268f2766d gpu: use pbo & driver owned buffer for ui tex upload 2021-11-04 21:50:07 -06:00
Adam 59308db50b gpu: store and use previous viewport's offsets for each frame
Shortly after logging in there several frames without a tli, and so no scene is
rendered on them. Since we glClear the entire buffer each frame and re-render
the most recent scene draw to emulate the vanilla effect of not painting over
the viewport, the viewport offset x/y values at the time we draw the frame may
be -1 due to that frame not having the scene rendered. Store the viewport
offsets at the time of the most recent scene draw and use them for each
subsequent frame.
2021-11-04 15:42:33 -04:00
Jordan 365375ee21 Merge pull request #14129 from TalSk/imbued-heart-timer 2021-11-04 19:18:29 +00:00
Tal Skverer e50b0f61a8 timers: Track imbued heart timer from varbit 2021-11-04 11:46:28 -07:00
Runelite auto updater 1456e10e66 Bump for 1.8.2-SNAPSHOT 2021-11-03 11:42:00 +00:00
Runelite auto updater dd09a4cee5 Release 1.8.1 2021-11-03 11:41:57 +00:00
Runelite auto updater 357daadb8b Update 201 2021-11-03 11:33:53 +00:00
septicsalmonandAdam b8f0d9b9a6 item identification: add option for each seed type
Also add an option to split pyre logs from regular logs, and fix the
section for Sacks

Co-authored-by: Adam <Adam@sigterm.info>
2021-11-02 20:44:49 -04:00
Adam 099221993a music: add option to mute ambient sound effects 2021-11-02 14:44:44 -04:00
Adam 63034431c0 api: add ambient sound effect 2021-11-02 14:44:44 -04:00
Adam 2eb2cdc328 cache: rename objectdefinition ambient sound ids 2021-11-02 14:44:44 -04:00
Adam c61d0c8a2f client: remove rogues' den plugin
An improved version of this plugin has been made available on the
pluginhub instead.
2021-11-02 14:27:18 -04:00
Adam 9065b2a792 clues: capitalize fairy ring BKP 2021-11-01 15:04:30 -04:00
Adam 87e51bd960 bank: block bank pin going to chatbox
With invokeLater() now running next tick instead of next frame, with uncapped fps there can be several frames with the bank pin visible in the chatbox. This blocks the keyboard input on this tick, preventing having to clear the chatbox later.
2021-11-01 14:28:50 -04:00
emerald000 9c11d2101a clues: Fix charcoal burners STASH location (#14306) 2021-10-29 02:55:27 +00:00
Adam f21596bc47 barrows: fix brothers slain overlay flashing
This was assuming there is always a tick between each frame to unhide the barrows potential
2021-10-28 19:03:17 -04:00
Adam 3c7339771d gpu: clear target buffer offset on login screen
This prevents the previous scene from rendering during loading prior to the welcome screen being opened
2021-10-28 19:03:17 -04:00
Adam ec5179dc77 music plugin: fix tooltips with uncapped fps 2021-10-28 19:02:56 -04:00
Adam f6929172fc camera plugin: fix tooltips with uncapped fps 2021-10-28 19:02:56 -04:00
Adam a96a6a5a40 api: add on tick callback 2021-10-28 19:02:56 -04:00