Commit Graph

39 Commits

Author SHA1 Message Date
Adam
915a4883cd library: characterid API 2025-02-11 20:32:57 +00:00
Adam
56b94ce69d library: isfocused API 2025-02-11 19:15:03 +00:00
Adam
5ab1d43959 library: add all window events to embeddedbrowser 2025-02-05 22:28:56 +00:00
ohkannaduh
f97c389fa5 Remove window_size and add lock to window_xywh 2025-02-05 02:19:50 +00:00
ohkannaduh
fe8bf35b6a library: Add xywh to window 2025-02-04 18:32:30 +00:00
Adam
c3447d0735 library: flashwindow API 2025-02-02 15:37:06 +00:00
Adam
82b65117db library: alias renderparticles vertexcolour 2025-01-17 19:18:39 +00:00
Adam
92085b13b7 library: renderparticles view matrix API 2025-01-17 10:53:15 +00:00
Adam
c6e525829d library: renderparticles UV API 2025-01-17 01:57:52 +00:00
Adam
da01075a99 library: particle origin and offset APIs
Still not documented though
2025-01-16 23:00:29 +00:00
Adam
4f46218c9c library: renderparticles APIs
no docs yet and not thoroughly tested
2025-01-13 23:16:57 +00:00
Adam
5aeeb42d39 library: playerposition api
Previously didn't think this was possible, but found an excellent way to
do it now.
2024-12-26 19:40:08 +00:00
Adam
7e7bd18372 browser,library: browser custom-js api 2024-12-16 19:38:49 +00:00
Adam
729351f155 library: onrenderbigicon API
This was a ton of work in the GL backend, hope it hasn't broken anything
else...
2024-12-12 20:10:26 +00:00
Adam
1d9b9fbb40 library: custom shader uniforms
I spent a whole day researching this, but finally I've come up with a
design that I'm pretty confident will be able to be translated to a Mac
backend. I mean, it probably will... maybe. I think.
2024-12-07 18:03:44 +00:00
Adam
216115a3a5 library: surface settint + setalpha api 2024-12-07 01:39:09 +00:00
Adam
9f91b35ba5 library: custom shader APIs
All works, but no support for uniforms yet.
2024-12-07 00:19:09 +00:00
Adam
925353d759 library: return depth from aspixels 2024-12-04 19:48:58 +00:00
Adam
bc055321ee library: createsurfacefrompng api fixes 2024-12-03 18:40:01 +00:00
Adam
7477d4f243 library: targetsize() api for all 2d render events 2024-12-01 21:36:24 +00:00
Adam
b27b30d468 library: itemicon colour() api 2024-12-01 19:26:16 +00:00
Adam
159909678d library: separate renderminimap functions 2024-12-01 01:15:06 +00:00
Adam
12d8f0a135 library: rework minimap events 2024-11-30 22:24:53 +00:00
Adam
6d63aeabeb library: most of the item icon APIs 2024-11-30 19:12:45 +00:00
Adam
e59b7296ec library: rework 2d atlas and uv APIs 2024-11-29 14:56:56 +00:00
Adam
f644e2dcef library: gamewindowsize + gameviewxywh 2024-11-25 15:54:40 +00:00
Adam
4e09d70266 library: render3d viewmatrix + projectionmatrix 2024-11-24 22:06:42 +00:00
Adam
1ad464028d library: support smooth-skinning vertex animation
This comes with some API changes: it turns out most animated models use
a feature called "smooth skinning", which means animation transforms are
per vertex as well as per bone. Because of this, there's no longer any
need to expose bone IDs to plugins.
2024-11-22 03:39:18 +00:00
Adam
c86ce42ea8 library: don't do arithmetic on void* 2024-11-16 18:22:36 +00:00
Adam
6a70b62baf library: redo buffer APIs
Completely changed the way Buffer objects are exposed in the API to make
them more in line with JavaScript's DataView. There are a few advantages
to this:
1. Much easier to understand how to send binary data from Lua<->Browser.
   Basically only need to understand one API instead of two.
2. More depth than before with less complexity.
3. Buffer read functions can now also be used on strings.
2024-11-16 18:12:33 +00:00
Adam
65a26a1bb4 library: batch2d -> render2d 2024-11-11 03:14:14 +00:00
Adam
0580411c6e library, browser: devtools APIs 2024-11-09 20:23:56 +00:00
Adam
9f0d43485a library: more functions in the wrong lists 2024-11-09 00:21:43 +00:00
Adam
1f2439a54d library: add missing function to new lists 2024-11-08 23:34:16 +00:00
Adam
57002760aa library: fix MSVC ICE really this time I think 2024-11-08 14:05:25 +00:00
Adam
43112a90ab library: fix MSVC ICE probably? 2024-11-08 03:01:36 +00:00
Adam
8895900eeb library: fix time.h import 2024-11-07 23:59:39 +00:00
Adam
70ba820d2e library: fix getpid on windows 2024-11-07 23:39:50 +00:00
Adam
1bece5b0db library: separate plugin API from backend
This is a very big change. It goes some way to breaking up the massive
wall of code that was plugin.c, and also removes all the documentation
from plugin_api.h, in preparation for it soon being properly documented
using Texinfo. It also changes the way function tables and metatables
are loaded to make it easier to add new ones (and reduce binary size a
lot.)
2024-11-07 22:43:56 +00:00