Commit Graph

5671 Commits

Author SHA1 Message Date
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
Ray
7fa75cb24e Removed memset() 2022-02-27 22:32:17 +01:00
Ray
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
Ray
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
Ray
4bc6e0d7de Update rtext.c 2022-02-13 10:47:19 +01:00
Ray
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
30797d3201 Update file names in build scripts (#2339)
* JSON parser: Use array for function params (#2255)

* Parser: follow C convention of type before name

* Update file names in build scripts
2022-02-10 20:51:46 +01:00
96452637d9 Add BSD support for zig builds (#2332)
- Adds a new OS clause to build.zig for the BSDs
- Tested on my FreeBSD box using https://github.com/Not-Nik/raylib-zig
- All demos build and render just fine.  Nice !
2022-02-09 08:23:14 +01:00
1e436be51d Make audio examples compile with external glfw on Linux (#2329) 2022-02-05 13:33:05 +01:00
c895bed5e6 Added defines to parser (#2269)
* added defines to parser

* added value and description for defines in parser

* parser: fixed lua defines output, fixed makefile for raygui, added LONG type for defines

* parser defines: remove postfix for LONG/FLOAT, support for hexadecimal consts, convert hex ints to decimal for JSON output

* removed defines from raylib_apis
2022-02-03 14:56:00 +01:00
a0895f1a3c Fix Undefined Symbol _ftelli64 (#2319) 2022-02-03 12:00:33 +01:00
c54d9cd552 simplify QuaternionInvert (#2324) 2022-01-31 09:39:21 +01:00
680cc72d43 Add missing defines to CUSTOMIZE_BUILD block (#2318)
This fixes compilation and linking errors when CUSTOMIZE_BUILD is
ON. Any option wasn't actually applied if it wasn't in this list.

I also added a message which makes it a bit easier to confirm you have
successfully enabled an option.
2022-01-29 19:12:13 +01:00
6e9bb7e480 Add missing defines to CUSTOMIZE_BUILD block (#2318)
This fixes compilation and linking errors when CUSTOMIZE_BUILD is
ON. Any option wasn't actually applied if it wasn't in this list.

I also added a message which makes it a bit easier to confirm you have
successfully enabled an option.
2022-01-29 19:11:45 +01:00
44d3cee5d1 Minor tweak 2022-01-28 21:25:40 +01:00
Ray
d38fe92c3f RENAMED: GetFileSize() to GetFileLength()
`GetFileSize()` conflicts with the infamous `windows.h`
2022-01-28 00:23:28 +01:00
0f00c41aad ADDED: GetFileSize() 2022-01-27 14:07:05 +01:00
524bf57b74 Update qoi.h 2022-01-26 16:33:38 +01:00
e5ee69a0f5 Add DrawTextCodepoints (#2308)
* Add DrawTextCodepoints

* Fixed top comment
2022-01-26 12:55:34 +01:00
Ray
76b6efc827 Support export .jpeg files 2022-01-26 11:30:38 +01:00
ebdc34a20e Update minshell.html 2022-01-25 14:04:55 +01:00
b4e0f7ab08 Update raylib-ocaml to 4.0 (#2305) 2022-01-23 12:22:25 +01:00
Ray
b422e407e8 Update rtextures.c 2022-01-22 18:42:44 +01:00
5b8b24c0c5 Fix GetApplicationDirectory on macOS (#2304)
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
2022-01-22 17:25:53 +01:00
45ef46c5e8 fix: material color won't be loaded if there's no texture for that material (#2298) 2022-01-21 12:52:07 +01:00
dfac74ffa7 updated VSCode project to work with latest raylib makefile and 'working for web' instructions (#2296) 2022-01-21 08:53:25 +01:00
3c359ff4bc Review code conventions for specific defines for GetApplicationDirectory() (#2293)
Unless these imports require to have this format, the code has been adjusted to the conventions
2022-01-18 18:30:19 +01:00
bec27a6ebc [CORE] Fixes for GetApplicationDirectory on 32 bit windows builds (#2290)
* Fix a signature error with the windows calls in GetApplicationDirectory for 32 bit builds.

* break is better than loop var to -1
2022-01-17 18:05:48 +01:00
61d0c71b3c REVIEWED: example: shapes_top_down_lights 2022-01-16 18:07:11 +01:00
4b998cfd05 [Examples] Top down lights example (#2199)
* Start 2d lights example.

* finish example

* update image.

* Cleanup render textures

* Fixes to handle shadows on edges that are near to the light better.

* tabs

* move to shapes

Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2022-01-16 17:47:17 +01:00