Richard Smith
ada4b1ca63
update docs and stubs
2024-11-17 01:17:05 +00:00
Richard Smith
e6f2c188db
generate type stubs which are sufficiently self-consistent to run mypy on all the examples
2024-11-17 01:17:05 +00:00
Richard Smith
a33f4fcc9a
update examples
2024-11-17 01:17:05 +00:00
Richard Smith
4071263a59
add shaders_write_depth example
2024-10-07 18:06:39 +01:00
Richard Smith
fde8354a8a
Example OO wrapper around the Vector2 struct, by @Emtyloc
2024-10-07 17:25:53 +01:00
Richard Smith
c9a5ec09e3
give useful error when native DLL isnt found
2024-10-01 00:48:58 +01:00
Richard Smith
15ea1dc79b
add the modified header files to the source distro to make building on windows easier
2024-09-20 16:27:11 +01:00
Richard Smith
035830b567
update github actions/upload-artifact since old version no longer works
2024-09-20 15:27:15 +01:00
Richard Smith
d6dc9e7d5c
fix pip failing to do binary build from source
2024-09-20 15:23:58 +01:00
Richard Smith
05955b5ef1
cffi 1.17.1
2024-09-05 10:00:34 +01:00
Richard Smith
df2bbccb1f
update RPI instructions to build shared lib for DRM because we dont currently add required flags to for static lib to find EGL library
2024-08-03 13:20:30 +01:00
Richard Smith
252fc29c18
Disable use of Py_LIMITED_API. Py_LIMITED_API already didn't work reliably - we had to do builds for every Python version to ensure they would all work. So removing it shouldn't cause problems, and it may increase performance and may allow running on free-threading Python.
2024-07-10 00:48:10 +01:00
Richard Smith
7af2922eb3
update docs
2024-07-02 15:43:33 +01:00
Richard Smith
57da96d576
github macos 13 doesnt work either
2024-07-02 14:26:00 +01:00
Richard Smith
c80cc59166
cirrus doesnt support macos 13 any more, so try it on github
2024-07-02 14:19:14 +01:00
Richard Smith
d6d0b50e80
allow building without glfw headers
2024-07-02 13:54:18 +01:00
Richard Smith
43630d8b5a
docs update
2024-07-02 09:58:07 +01:00
Richard Smith
812f0f7527
macos 11 runner doesnt work, upgrade to 12
2024-07-02 09:57:49 +01:00
Richard Smith
599c74af0b
version bump
2024-07-01 14:31:58 +01:00
Richard Smith
147e9f882a
fix some typehints for lists (not sure why wasnt updated when pyray/__init__.pyi was?)
2024-07-01 14:31:42 +01:00
Richard Smith
0ea3f1b3f6
pyray return more useful errors when types are wrong
2024-07-01 14:20:57 +01:00
Richard Smith
1799c58ca5
update examples
2024-07-01 14:18:55 +01:00
Richard Smith
ea29d96ff9
fix building low quality raylib code on linux gcc
2024-07-01 14:17:13 +01:00
Richard Smith
3260a18e7d
Typehints for colours ( #131 )
2024-07-01 11:11:35 +01:00
Richard Smith
edfd75af8d
Optimisation ( #127 )
2024-07-01 11:06:56 +01:00
Richard Smith
22884df99f
RPI doc update
2024-06-10 17:28:47 +01:00
Richard Smith
bdc49267e2
update CI with python 3.13 and raspberry pi builds ( #130 )
2024-06-09 13:11:45 +01:00
Richard Smith
e08d9d4d1d
Update README.md
2024-05-10 17:55:50 +01:00
Richard Smith
46ef151cd7
update readme benchmarks
2024-04-24 15:28:19 +01:00
Richard Smith
9583498150
update readme
2024-04-05 17:22:27 +01:00
Richard Smith
724fa2594f
update readme
2024-04-05 17:21:39 +01:00
Richard Smith
c67fffba48
remove macos 12 monterey build, cirrus doesnt seem to support anymore.
2024-04-05 15:34:15 +01:00
Richard Smith
1232b700a5
fix clang 16 on mac building
2024-04-05 14:47:10 +01:00
Richard Smith
43e0492e7d
version 5.0.0.2
2024-04-05 14:23:14 +01:00
Richard Smith
c954a4ff1b
update docs
2024-04-05 12:49:27 +01:00
Richard Smith
0a677fe31d
fix float pointer test
2024-04-05 12:47:38 +01:00
Richard Smith
15469b03ae
fix list of string types in .pyi
2024-04-05 12:46:54 +01:00
Richard Smith
2875e28322
remove dependency on inflection per @sDos280 suggestion to speed up pygbag WASM loading, https://github.com/electronstudio/raylib-python-cffi/issues/58
2024-03-03 12:48:29 +00:00
Richard Smith
3744686f7b
throw helpful errors when params supplied are not ctype pointers ( #122 )
2024-03-03 11:48:09 +00:00
Richard Smith
33dce4ecfd
Improve struct creation helper methods by auto converting arguments: ( #119 )
...
* None to ffi.NULL
* array and ndarray to buffer, and keep weakref so it doesn't get GCed
This makes it possible to create Mesh structs without too much faffing.
2024-03-03 11:45:09 +00:00
Richard Smith
ef3681fc5b
update readme
2024-02-21 12:58:01 +00:00
Richard Smith
70b8d7c143
tidy examples
2024-02-21 12:21:32 +00:00
Richard Smith
eb68dec2ad
update core examples
2024-02-21 11:23:55 +00:00
Richard Smith
83b810b1eb
version bump
2024-01-22 15:16:49 +00:00
Ashley Sommer
87e534e142
RLGL standalone example (using new defines.py and GLFW) ( #113 )
...
* Bump raylib to 5.0, Bump RayGUI to 4.0
Generate bindings for raylib's embedded GLFW, to enable lower-level examples (see examples/others/rlgl_standalone.py)
Dynamically generate defines at library build-time, they are known by the raylib parser.
Bug fix, allow raylib parser to see RayGUI, Physac, and RayMath exported functions, get proper argument names from functions, provide real argument names on interface definitions.
* Fix finding glfw3.h include file on Windows build
* Fix building for macos on cirrus CI.
* Update version.py
* Update create_enums.py
* Update build.py
* Update make_docs.sh
---------
Co-authored-by: Richard Smith <electronstudio@users.noreply.github.com>
Co-authored-by: Richard Smith <github@electronstudio.co.uk>
2024-01-22 15:12:04 +00:00
Richard Smith
a49439135e
automatically export defines, by @ashleysommer
2024-01-22 15:05:29 +00:00
Richard Smith
be45bef9f1
add support for GLFW3
2024-01-22 14:48:31 +00:00
Richard Smith
d9acf89784
improve stub generator by @ashleysommer
2023-12-22 04:46:46 +00:00
Richard Smith
594fe4d41a
update rpi instructions
2023-12-22 03:54:55 +00:00
Richard Smith
e7f522c6e4
fix jpg support issue #89
2023-12-22 03:10:41 +00:00