Adam
edf9be7e1c
library: swap args in setuniformdepthbuffer
...
Makes it consistent with every other setuniform function in the API
2025-08-06 18:56:53 +01:00
Adam
988ca33b15
browser: remove libfmt usage from render process
...
stdout usage can trigger chromium's seccomp sandbox - see #155 , #156
2025-08-06 17:44:34 +01:00
Adam
682126d161
library: another debug print
...
Oops
2025-07-20 20:10:02 +01:00
Adam
6f69435714
library: remove debug print
...
This happens way too often
2025-07-20 15:08:06 +01:00
Adam
8cd1da6878
library: fix for multisampled depth textures
2025-07-20 02:11:43 +01:00
Adam
5a9d7cbefb
library: copy-paste error
2025-07-20 00:26:39 +01:00
Adam
969709a5db
library: fixes to gameview rendering
...
Quite a lot of stuff, but most notably makign sure GL_BLEND isn't ever
disabled when we try to draw something that might be transparent.
2025-07-19 23:22:16 +01:00
Adam
5c7f5d4093
library: cameraposition APIs
2025-07-19 17:49:12 +01:00
Adam
543827b594
library: point toscreen and togameview API
2025-07-19 15:50:31 +01:00
Adam
c5de666aea
library: tidy up gl static function names
...
No need for it to have the _bolt prefix if it's static. Yes this does
change almost the whole file, if you're reviewing this then I'm sorry in
advance.
2025-07-19 15:03:18 +01:00
Adam
0c4ce6e830
library: shaderprogram:setuniformdepthbuffer API
2025-07-19 03:54:36 +01:00
Adam
9e2a7cfe7c
library: small fix to reset in surface_draw
2025-07-19 03:51:11 +01:00
Adam
7ba215dfc4
library: add gameview event and related APIs
2025-07-19 02:46:17 +01:00
Adam
22bf2ba37c
library: add missing event:modelmatrix function
2025-07-10 03:46:07 +01:00
Adam
5d33ba7b4c
library: actually create renderbillboard metatable
2025-07-10 03:44:49 +01:00
Adam
bed797355e
library: copy paste error
2025-07-10 03:44:21 +01:00
Adam
e62dd4b506
library: validate renderbillboard target
2025-07-10 03:44:10 +01:00
Adam
5ddc379b24
library: add renderbillboard events
...
Totally untested right now, also involves a bunch more deduping and
standardises projectionmatrix being an alias for projmatrix.
2025-07-10 01:55:02 +01:00
Adam
9cb883b752
library: standardise matrix functions
...
Reduces clutter and adds render3d:inverseviewmatrix and
renderparticles:viewprojmatrix
2025-07-09 22:28:34 +01:00
Adam
9658b71796
library: hook billboard renders
...
Also sorted DrawElements into a lot of sub-functions, the size of that
function was getting really out of hand and I needed to add even more to
it now
2025-07-09 21:58:44 +01:00
Adam
ff70e2986b
library: fix a confusing function
2025-07-09 20:14:35 +01:00
Adam
792f8024ae
window_launcher: set SDL_VIDEODRIVER=x11 for rs3
2025-07-07 15:14:42 +01:00
Adam
8a4a662222
library: reapply may engine changes
...
There was also a slight difference in particle shader variable names,
but other than that it was the same update. I look forward to having to
put out version 0.19 when they roll this back in a few days.
2025-07-07 14:27:40 +01:00
Adam
91ee6aed0a
library: update docs for SwapBuffers
2025-07-03 17:56:38 +01:00
Adam
541fd3d576
library: first swapbuffers APIs
2025-07-03 17:49:13 +01:00
Adam
e02628b31f
library: fix SDL_CreateWindow signature
...
Changed from SDL3 definition to SDL2 as that's what the game expects
2025-06-25 18:23:02 +01:00
Adam
7693372fee
library: always draw windows above overlay
2025-06-07 21:41:08 +01:00
Adam
1c2288e0b7
library: adjust surface:drawtosurface alpha blend
...
Fixes some weird behaviour with the alpha channel of the destination
surface after usingsurface:drawtosurface. This seems to have the
expected behaviour now.
2025-06-07 21:31:30 +01:00
Adam
d8d0537b46
library: add newlines to new errors
2025-06-07 02:24:01 +01:00
Adam
7274171c79
library: fix double-fclose
2025-06-07 02:10:44 +01:00
Adam
10267c027e
library: make createsurfacefrompng fail non-fatal
...
This function was calling error() on failure, and that behaviour was
specifically mentioned in the docs. I can't see any particular reason
why I made the decision to do that instead of just returning nil.
2025-06-07 01:49:59 +01:00
Adam
53ef306f5b
library: fix return type of scroll_direction
...
Documented as boolean, but was actually integer (1 or 0) until now
2025-06-07 01:35:21 +01:00
Adam
f0f86fcd72
library: fix error in docs
2025-06-07 01:30:44 +01:00
Adam
c123251fe5
window_launcher: lots of deduplication
...
As well as fixing some inconsistent behaviour, the main purpose of this
is to make sure either exec() or exit() is always called on a fork()-ed
child process. With custom launch commands, it's now possible to cause
exec() to fail, which was resulting in the child process just falling
through and continuing alongside the parent process - which usually ends
up causing the whole program to crash.
2025-06-03 20:23:37 +01:00
Adam
e711352bf7
library: unapply engine changes from 0.16
2025-05-30 14:55:47 +01:00
Adam
f2d7bd3718
library: tidy up UBO parsing
2025-05-27 19:58:41 +01:00
Adam
9289aeb5ae
library: fix renderparticles for uSecondsSinceStart
2025-05-27 19:00:49 +01:00
Adam
bc1f2a1b7b
library: fix render2d events for GUIConsts
2025-05-27 18:46:26 +01:00
Adam
d6796a0f01
library: don't flash window more than once
2025-05-24 16:50:41 +01:00
Adam
5425ae9d71
library: fix typo in docs
2025-05-18 22:27:52 +01:00
Adam
2cfa28b107
library: use SDL_FlashWindow instead of xcb props
2025-05-13 19:34:44 +01:00
Adam
cd17c6c8be
library: replace X11 hooks with SDL hooks
2025-05-05 19:52:03 +01:00
Adam
69f3d3204a
library: re-apply 55a0185
...
The relevant engine change has been deployed again.
2025-03-31 14:52:31 +01:00
nmlynch94
087f516f58
fix: chdir to "$XDG_DATA_HOME" to avpressure vessel trying to switch directories that doesn't exist
2025-03-27 01:02:06 -04:00
nmlynch94
f7bca9d1da
feat: utilize umu-run with ge-proton to launch OSRS.exe, followed by wine as a fallback.
2025-03-26 17:04:38 -04:00
Adam
4469ce3a4e
window_launcher: support exe on linux
2025-03-19 00:52:05 +00:00
Adam
8593f9835c
library: never exceed MAX_MODELS_PER_ICON
...
Today's update added a bigicon with 12 models, which exposed this issue.
In future it would be better for this list to be dynamically-sized, but
I don't think there's any actual use-case so it's fine for now.
2025-03-18 01:47:21 +00:00
Adam
33c1187430
window_launcher: support posix launch commands
2025-03-16 03:27:19 +00:00
Adam
3500f1a4ce
library: revert 55a0185
...
The new engine version has been reverted, I'll reapply this patch when
(or if) the new version is re-released.
It's annoying that this situation is causing me to have to release new
versions on an almost daily basis, but I don't think it will be a
frequent occurrence. The plugin loader has been stable for over a year
up until this point.
2025-03-07 10:22:40 +00:00
Adam
557bda3153
library: replace use of sprintf
2025-03-04 21:01:09 +00:00