Commit graph

40 commits

Author SHA1 Message Date
Richard Smith
0f8367566b merge master 2024-11-19 12:19:53 +00:00
Richard Smith
fc9d66ed14 Merge remote-tracking branch 'origin/master' into fix_underscore2
# Conflicts:
#	create_stub_pyray.py
#	docs/genindex.html
#	docs/objects.inv
#	docs/pyray.html
#	docs/raylib.html
#	docs/searchindex.js
#	dynamic/raylib/defines.py
#	make_docs.sh
#	pyray/__init__.pyi
#	raylib/__init__.pyi
#	raylib/build.py
#	raylib/defines.py
#	raylib/raylib.h.modified
#	raylib/rlgl.h.modified
#	version.py
2024-11-19 12:14:37 +00:00
Richard Smith
9e5c9b7f9f
Sdl backend (#140)
* latest raylib version

* add libwayland-dev

* update headers

* add libxkbcommon-dev

* sdl

* sdl dl

* sdl dl

* sdl2 link flags

* remove glfw header

* try static sdl build

* try to set fpic

* install alsa etc before building sdl

* windows

* fix

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try mac

* try mac

* try mac

* try mac

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* update raylib

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* update to 5.5

* dont link x11 if using DRM

* update to fixed raylib version
2024-11-19 12:05:28 +00:00
Martin Kuntz Jacobsen
623b9c12cc
Adds py.typed for typing support according to pep 561 (#135) 2024-11-17 01:19:19 +00:00
Richard Smith
ada4b1ca63 update docs and stubs 2024-11-17 01:17:05 +00:00
Richard Smith
32cc42dab3 fix how regex inserts underscore in function names with '2d' and '3d' 2024-10-24 18:04:55 +01:00
Richard Smith
1817fec006 try 2024-10-17 15:58:59 +01:00
Richard Smith
be6cf57d85 try 2024-10-16 13:49:19 +01:00
Richard Smith
0ea3f1b3f6 pyray return more useful errors when types are wrong 2024-07-01 14:20:57 +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
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
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
0cd3515b74 restore missing pyi files 2023-12-21 07:11:31 +00:00
Ashley Sommer
9b48e57bb1 Bump Raylib to v5.0.0, RayGUI 4.0 is designed to be used with RayLib 5, so bump RayGUI too to 4.0.
Updated some core examples to match the changes in Raylib-c v5.0.0
2023-12-19 10:49:31 +10:00
electronstudio
42d6762fbe update raylib to 4.5 2023-05-22 17:01:19 +01:00
richard
81590eb815 automate conversion of lists of strings https://github.com/electronstudio/raylib-python-cffi/discussions/98 2022-10-18 10:33:37 +01:00
richard
2c233d47fa reformat fix https://github.com/electronstudio/raylib-python-cffi/issues/90 2022-09-23 20:11:59 +01:00
richard
84c7eff4d7 fix PyCharm not finding Color types in .pyi files, fixes https://github.com/electronstudio/raylib-python-cffi/issues/88 2022-09-23 20:06:40 +01:00
richard
3e011b329a update to raylib 4.2 2022-08-11 21:58:54 +01:00
richard
6aaf3bb391 autoconvert None to ffi.NULL 2022-07-23 02:22:49 +01:00
richard
53ca2fb40c update docs 2022-06-30 09:52:27 +01:00
richard
7394f79da5 add some legacy #defines 2022-06-23 17:18:22 +01:00
richard
3ffa4cc549 add raymath 2022-06-23 17:03:06 +01:00
richard
623c2a6c10 update to raylib 4.2-dev and re-add physac and raygui from their own repos. 2022-06-12 02:08:36 +01:00
richard
10d983008f fix for pypy 2022-05-20 07:05:38 +01:00
richard
4b000fecaa latest raylib snapshot 2022-03-10 00:10:24 +00:00
richard
f73c57c89c update raylib to 4.1-dev 2022-02-08 09:32:46 +00:00
richard
10d945ed28 add enums for raygui, issue #52 2022-02-07 13:58:07 +00:00
richard
2c752b5ad0 remove all the ints from the pyray hints and docs. (leave them in pyray itself for backwards compability) add proper enums to pyray and to pyray hints/docs (generated from raylib.json). TODO: raygui, rlgl, maybe something for the C API. See issue #52 2022-02-04 12:14:03 +00:00
richard
d05890344d update docs 2022-02-04 11:11:14 +00:00
richard
ed018b2b77 pyray: if function arg requires pointer and is given a pointer, don't try to create a pointer. if given a python primitive(float/int/bool), create an FFI float/int/bool and use pointer to it. https://github.com/electronstudio/raylib-python-cffi/issues/57 2022-02-02 20:32:12 +00:00
richard
c784857527 return empty string for null pointers https://github.com/electronstudio/raylib-python-cffi/issues/51 2021-11-12 00:34:43 +00:00
richard
1b8598fa55 automatically convert char* function return type to string https://github.com/electronstudio/raylib-python-cffi/issues/51 2021-11-06 17:59:47 +00:00
richard
fb93d5f330 update raylib and docs 2021-10-26 15:54:10 +01:00
richard
ec752bdab7 refactor pyray into separate module 2021-10-08 04:47:58 +01:00