bcd84cd36d
Some code reviews -WIP-
2022-03-24 18:56:53 +01:00
22c17da4d7
Update to miniaudio 11.8
2022-03-24 18:22:09 +01:00
ca12ef48e9
Fixes #2408
2022-03-24 11:44:52 +01:00
65f28460a1
Update shaders_raymarching.c
2022-03-22 23:53:32 +01:00
3634adf8d4
Update textures_draw_tiled.c
2022-03-22 21:11:56 +01:00
bd95408b06
Update textures_draw_tiled.c
2022-03-22 21:10:51 +01:00
cb62cb675f
Minor tweaks const
2022-03-22 18:45:41 +01:00
40794da9e4
Add raylib.jl binding for Julia ( #2403 )
2022-03-22 14:45:26 +01:00
0da7830745
REVIEWED: Avoid some float -> double promotions
2022-03-20 12:15:51 +01:00
c65efecf0a
Verify there is enough space in the batch for the npatch geometry. ( #2401 )
2022-03-19 22:26:27 +01:00
9ecbc465a9
Fix too many opening parens in src/rtextures.c ( #2398 )
...
This is a tiny change that makes code in src/rtextures.c "fold"
correctly in editors/IDE's by matching the number of opening
parenthesis to closing parenthesis. One of those editors is Emacs ;-)
2022-03-18 12:32:00 +01:00
9723489ccc
Implements OpenURL() for Android Platform ( #2396 )
2022-03-18 11:41:41 +01:00
3d812f8d0c
Fix inline enum ( #2393 )
2022-03-17 11:52:13 +01:00
4954778f68
Improve joystick visualisation in gamepad example again ( #2391 )
...
As prior commit, but complete fix for XBox controller and trigger
buttons too.
> The joystick range is a float from -1 through +1. Casting this to int
> yields only three possible values: -1, 0, and 1. This gives a
> misleading joystick placement in the demo.
>
> By casting to int after the multiplication to get pixel values, the
> demo reveals the analog feel of the joystick.
2022-03-14 17:16:09 +01:00
ec7250ca54
Improve joystick visualisation in gamepad example ( #2390 )
...
The joystick range is a float from -1 through +1. Casting this to int
yields only three possible values: -1, 0, and 1. This gives a
misleading joystick placement in the demo.
By casting to int after the multiplication, the demo reveals the
analog feel of the joystick.
2022-03-14 16:00:59 +01:00
d2119848ed
REVIEWED: OpenURL()
2022-03-14 15:31:37 +01:00
f3b0d7f2fe
Add naylib ( #2386 )
...
* Add naylib
* Fix license
2022-03-13 22:16:18 +01:00
c3a7bd8c51
Updated Zig bindings to reflect updates to that library ( #2385 )
...
* Updated zig bindings info
* Updated raylib-zig license
2022-03-12 21:31:24 +01:00
3f01b8a93f
Fixed an issue in Makefile when using raygui and physac on unix systems ( #2384 )
...
* Fixed an issue when using raygui and physac on unix systems
hash "#" is single-line comment character in bash so echo ignores #include and #define
* tab fix
2022-03-12 21:30:54 +01:00
a5a098c97f
Remove space
2022-03-12 21:27:24 +01:00
8065504aba
Simplify build.zig to not require user to specify raylib path ( #2383 )
...
We can figure out the source file location based on the location of the
build.zig file. No need to require the library user to specify where
raylib is stored.
2022-03-11 19:04:24 +01:00
cda1324e87
Vector2/Vector3: Add squared distance. ( #2376 )
2022-03-09 20:05:08 +01:00
43dbe67431
Update parser ( #2375 )
...
* Add variable len args support
* Api Regen for 4.1dev
2022-03-08 20:00:09 +01:00
e9f97e1165
Add repology badge ( #2367 )
...
So we can see which distributions package raylib.
And in which version they are.
2022-03-08 19:02:39 +01:00
c5d2cc8e66
Update raylib-config.cmake ( #2374 )
...
Updated cmake to windows users.
So they can `find_package(raylib [...])` with exported target as raylib instead of ${raylib_LIBRARIES}, etc
2022-03-08 18:58:27 +01:00
7584ce6f48
Increase atlas size guesstimate; print warnings if atlas size is too small ( #2365 )
2022-03-01 11:26:48 +01:00
7bbaba38e4
Update BINDINGS.md ( #2366 )
...
Update SmallBASIC to 4.1-dev
2022-02-28 14:38:04 +01:00
7fa75cb24e
Removed memset()
2022-02-27 22:32:17 +01:00
ead8003044
Possible fix for #2360
2022-02-25 20:41:18 +01:00
296b57e1f5
Update Swift binding version ( #2352 )
...
3.7 -> 4.0
2022-02-22 10:28:30 +01:00
6e9ec253c8
Support clipboard copy/paste on web
2022-02-20 22:07:52 +01:00
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
68bad6986d
make const ( #2348 )
...
* make const
* make const
2022-02-20 20:12:55 +01:00
761669272f
Fix free camera panning in the wrong direction ( #2347 )
2022-02-20 19:52:13 +01:00
d4382f4a52
Removed trailing spaces
2022-02-18 20:30:46 +01:00
963de06d08
follow style guide ( #2346 )
...
* follow style guide
* Update rmodels.c
2022-02-17 00:54:21 +01:00
4f2bfc5476
Reviewed bug on FindNearestConnectorMode()
2022-02-15 19:38:28 +01:00
4815065c47
Update Raylib-cs bindings version ( #2343 )
2022-02-15 19:35:17 +01:00
b54e9db764
Optimize Vector2Rotate() function ( #2340 )
2022-02-13 18:43:17 +01:00
f40eed5adf
add premultiplied alpha blend mode ( #2342 )
2022-02-13 18:42:24 +01:00
4bc6e0d7de
Update rtext.c
2022-02-13 10:47:19 +01:00
9cf170e6e9
Reviewed makefile to use right shell on right platform
2022-02-13 10:47:09 +01:00
8c9a0221a4
Update Makefile
2022-02-12 19:38:14 +01:00
2f3fc41c33
Allow setting a custom PLATFORM_SHELL
2022-02-12 19:31:27 +01:00
6ef6dbff2d
REVIEWED: PLATFORM_OS for PLATFORM_WEB
2022-02-12 19:08:31 +01:00
d0008ae8cd
REVIEWED: Issue when compiling for PLATFORM_WEB
2022-02-12 18:06:21 +01:00
dd15531e25
Properly fix make clean under windows ( #2341 )
...
* Properly fix make clean under sh.exe
* Ensure make clean works properly under Windows if RAYLIB_RELEASE_PATH is modified
2022-02-12 17:59:48 +01:00
ddba8478c5
Revert "Reviewed Makefile clean target to use CMD shell on Windows"
...
This reverts commit ab47c6401e .
2022-02-12 17:58:38 +01:00
ab47c6401e
Reviewed Makefile clean target to use CMD shell on Windows
...
Tested on the following environments:
- w64devkit.exe
- Windows 10 cmd
- Notepad++ NppExec console
2022-02-12 17:37:12 +01:00
81cced4d83
Fix make clean target failing when shell is not cmd ( #2338 )
...
GNU make on Windows first tries to find sh.exe on the path,
and will execute build rules using it if it is present.
The make clean target uses the builtin cmd.exe command del, which
won't work under sh.exe
The reason this is not done for the entire Makefile is because it would
break cross-compilation of raylib.
2022-02-10 20:52:34 +01:00