Commit Graph

5650 Commits

Author SHA1 Message Date
raysan5
d0008ae8cd REVIEWED: Issue when compiling for PLATFORM_WEB 2022-02-12 18:06:21 +01:00
Peter0x44
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
raysan5
ddba8478c5 Revert "Reviewed Makefile clean target to use CMD shell on Windows"
This reverts commit ab47c6401e.
2022-02-12 17:58:38 +01:00
raysan5
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
Peter0x44
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
gtrxAC
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
Scribe of the Ziggurat
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
locriacyber
1e436be51d
Make audio examples compile with external glfw on Linux (#2329) 2022-02-05 13:33:05 +01:00
iskolbin
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
Audi Nugraha
a0895f1a3c
Fix Undefined Symbol _ftelli64 (#2319) 2022-02-03 12:00:33 +01:00
megagrump
c54d9cd552
simplify QuaternionInvert (#2324) 2022-01-31 09:39:21 +01:00
Macoy Madson
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
Macoy Madson
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
raysan5
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
raysan5
0f00c41aad ADDED: GetFileSize() 2022-01-27 14:07:05 +01:00
raysan5
524bf57b74 Update qoi.h 2022-01-26 16:33:38 +01:00
Siddharth Roy
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
raysan5
ebdc34a20e Update minshell.html 2022-01-25 14:04:55 +01:00
Tobias Mock
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
Nikolas
5b8b24c0c5
Fix GetApplicationDirectory on macOS (#2304)
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
2022-01-22 17:25:53 +01:00
Roy Qu
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
Philip Shenk
dfac74ffa7
updated VSCode project to work with latest raylib makefile and 'working for web' instructions (#2296) 2022-01-21 08:53:25 +01:00
Laurentino Luna
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
Jeffery Myers
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
raysan5
61d0c71b3c REVIEWED: example: shapes_top_down_lights 2022-01-16 18:07:11 +01:00
Jeffery Myers
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
raysan5
15b36e04b2 Review formating 2022-01-16 17:16:04 +01:00
ptarabbia
5ac07122bd
Add panning to raudio and update audio_raw_stream example. (#2205)
* Add panning to raudio and update audio_raw_stream example.

* remove pan smoothing, code formatting changes following pull request comments

Co-authored-by: Ray <raysan5@gmail.com>
2022-01-16 12:49:58 +01:00
Ray
48a463cca8 REVIEWED: Vector2Transform(() 2022-01-15 22:19:48 +01:00
Ray
8ee0eb8f36 ADDED: Vector2Transform() 2022-01-15 22:12:58 +01:00
Jeffery Myers
f4dea6919a
[CORE] Bug and formating fixes for GetApplicatonDir (#2285)
* Fix formating problems with GetApplicationDir.
Don't ever return an empty string

* always return a valid path even if it's ./

* remove the need for the dll and just use the normal GetModuleFileName function
2022-01-14 20:16:25 +01:00
raysan5
f57727995a REVIEWED: rlLoadShaderCode() 2022-01-13 19:05:45 +01:00
Matthew Owens
e621efe79f
rlLoadShaderCode - set ShaderId variables to RLGL.State.default[VF]ShaderId if repesctive Code is NULL (#2281) 2022-01-13 18:42:44 +01:00
Ray
464026f15c Update rcore.c 2022-01-12 12:00:47 +01:00
Ray
a134b8bc6d Update Makefile 2022-01-11 15:39:08 +01:00
Ray
b61c9afd04 Update Makefile, simplified 2022-01-11 11:57:26 +01:00
Ray
0416d5ff7b Update Makefile 2022-01-11 11:26:45 +01:00
Ray
cabb5518e5 Improve Makefile organization 2022-01-11 11:20:04 +01:00
hartmannathan
aaf0175d07
Fix typo in comment: s/simluate/simulate/ (#2277) 2022-01-11 09:04:09 +01:00
Archie
7b7424802f
Fixes an error in the spelling of "appearance" (#2276) 2022-01-10 23:55:21 +01:00
Ray
8db56cfc3b Added minimal web shell 2022-01-10 22:31:30 +01:00
Ray
8089ef0f2d Merge branch 'master' of https://github.com/raysan5/raylib 2022-01-10 13:55:04 +01:00
Ray
b4e0ed6007 Review formating 2022-01-10 13:54:51 +01:00
Rob Loach
c0da80c2b8
cmake: Update CMake project template with docs and web (#2274) 2022-01-10 08:55:32 +01:00
Nikolas
a6aa5a1e4c
Make zig build functionality available to zig programs (#2271) 2022-01-08 22:13:44 +01:00
hero2002
9d6fcd1710
Fixed Compiling Raylib for android Using cmake (#2270)
* Fixed Compiling Raylib for android Using cmake

* improved the cmake config for android so it don't conflict

* improved the cmake config for android so it don't conflict
2022-01-08 20:14:10 +01:00
Ray
7a159664bc Improved shader loading code 2022-01-08 20:12:03 +01:00