Commit Graph

5758 Commits

Author SHA1 Message Date
Crydsch
020e903193
Fix lgtm warnings (#2477)
* Comparison is always true because finalSample >= 1

* Comparison is always false because keyCount >= 0
2022-05-14 15:02:29 +02:00
Ray
db16833d8c ADDED: EnableEventWaiting() / DisableEventWaiting()
Events waiting can be enabled/disabled, it toggles event polling.
2022-05-12 16:51:46 +02:00
Ray
f3aac87422 Some minor tweaks 2022-05-12 16:35:28 +02:00
ptarabbia
ea598f7d77
Fix crash with delay demo. (#2472) 2022-05-12 15:26:36 +02:00
Rob Loach
c0275df820
Easings: Add function descriptions (#2471) 2022-05-12 14:48:51 +02:00
Crydsch
b2c2b5ee21
remove fps requirement for drm connector selection (#2468) 2022-05-09 17:12:38 +02:00
Ray
df3f64bfd2 Corrected typo 2022-05-07 18:04:34 +02:00
lazaray
aa318674e8
Add support for calculated defines to parser (#2463)
* Add support for calculated defines to parser

* Regenerate parser output
2022-05-06 20:23:07 +02:00
lazaray
bbc8d39185
Add support for truncating parser input (#2464)
* Add support for truncating parser input

* Remove RLAPI from implementations in rlgl.h
2022-05-06 20:18:39 +02:00
Daniel Nagy
19f88241ec
Flush stdout after trace messages (#2465)
This immediately shows log messages when stdout is not connected to a
tty.
2022-05-06 20:15:13 +02:00
Capital-EX
7fc9662480
Update Note About Factor's Raylib Bindings (#2466)
Factor's bindings have been moved into the main repo. Additionally, they have been updated to 4.0.
2022-05-06 19:24:24 +02:00
Ray
ed29b4eedf Update utils.c 2022-05-06 00:46:43 +02:00
Ray
d9a30b8480 ADDED: ExportDataAsCode() 2022-05-06 00:14:28 +02:00
Ray
ed2ab55034 Remove line ending spaces 2022-05-05 20:39:14 +02:00
lazaray
4eb3d8857f
Reorder parser (#2462)
* Reorder parser output

* Regenerate parser output

* Reorder parser line reading

* Reorder parser data parsing

* Reorder remaining parser stuff
2022-05-04 13:44:55 +02:00
lazaray
df6caea25d
Parser improvements (#2461)
* Fix parser function description detection

Some functions in easings.h are defined on a single line and include a
division which was mistaken for the start of the description.

* Fix parser detection of macros including spaces

* Add support for self-referencing structs to parser

* Fix parser code style

* Fix parser handling of multiple fields on one line

* Increase parser MAX_STRUCT_FIELDS

For internal rlglData State struct (internal structs are still not
supported but this makes it less wrong).

* Add description helper to parser

* Regenerate parser output

* Add cakkbacks to parser

* Regenerate parser output

* Refactor funcLines to be an array of line numbers

It used to be an array of pointers into the text buffer but was changed
to be an array of pointers to the lines. Now it is an array of line
numbers like the others.

* Fix code style

* Move array size from name to type

* Regenerate parser output
2022-05-04 11:06:01 +02:00
Benedek Szilvasy
8cb03ef524
Add racket-raylib to BINDINGS.md (#2454) 2022-05-01 21:50:11 +02:00
lazaray
6f044c57ac
Add aliases to parser (#2444)
* Fix parser indentation

* Fix  parser comments

* Add aliases to parser

* Regenerate parser output

* Fix parser handling of multiple fields on one line

* Regenerate parser output

* Fix parser code style
2022-05-01 12:34:15 +02:00
Ray
666aa44a84 Reviewed some comments 2022-05-01 11:14:28 +02:00
Ray
f169530d8f Update raylib.h 2022-04-29 17:52:22 +02:00
Ray
5c66cc1c9b Update rcore.c 2022-04-28 17:38:52 +02:00
Ratul Krisna
db6c677755
Update raylib haxe binding name (#2451)
As title says
2022-04-28 12:14:51 +02:00
Michael Scherbakow
28ac82aeb0
add raylib.zig bindings (#2449) 2022-04-28 10:59:16 +02:00
Leonardo Montagner
3580267479
Fix Issue #2441 (#2442)
Remove line that caused a memory leak
2022-04-26 12:25:39 +02:00
Ray
a7ce537d32 Check for mouse devices on PLATFORM_DRM 2022-04-26 09:30:20 +02:00
Ray
38a3523f59 REVIEWED: SwapScreenBuffers() for PLATFORM_DRM
Avoid calling `abort()`, `LOG_ERROR` already manages it. Code looks cleaner now.
2022-04-25 21:00:17 +02:00
Ray
bdfa256cea Update rlgl.h 2022-04-25 19:35:23 +02:00
Ray
6e722d416b Update rcore.c 2022-04-25 19:35:19 +02:00
Ray
e543922055 Review formatting 2022-04-24 17:58:51 +02:00
Juan Carlos González Amestoy
f2c7b0d3bf
- Fix issue #2371 (#2437) 2022-04-24 17:05:45 +02:00
Ray
74ca81338e REDESIGNED: Set rlgl internal framebuffer #2420 2022-04-24 12:37:50 +02:00
Ray
dc553d1996 Update rlgl.h 2022-04-24 12:25:26 +02:00
Ray
f798ee2bc1 Update rlgl.h 2022-04-24 12:19:41 +02:00
Maiko Steeman
ccfac59c60
Fix for vr rendering not taking render target size into account (#2424) 2022-04-24 11:48:50 +02:00
Ray
e1ee4b1466 Reviewed MouseScrollCallback() #2371 2022-04-24 11:16:35 +02:00
Ray
d433de7efa Initialize (reset) input global state #2360 2022-04-24 11:02:50 +02:00
Ray
233cf3970c Removed bool type from raymath, it broke raylib 2022-04-24 00:38:11 +02:00
Ray
ff95f05386 Update rlgl.h 2022-04-24 00:29:15 +02:00
Ray
47d768c3d6 REVIEWED: ToggleFullscreen() 2022-04-23 23:40:56 +02:00
Ray
015a71fc40 Update raymath.h 2022-04-23 23:39:50 +02:00
Ray
be3ae71aec Review new functions formatting 2022-04-23 23:24:13 +02:00
saccharineboi
52befa0815
Augment raymath.h with useful functions (#2428)
* Augment raymath.h with useful functions

* Rename Vector2ClampMagnitude and Vector3ClampMagnitude to Vector2ClampValue and Vector3ClampValue

* Remove Vector3{Up,Down,Left,Right,Forward,Backward}
2022-04-23 23:13:33 +02:00
Anilforextra
a5daee3812
Optimize Some Image Functions. (#2429) 2022-04-23 10:51:47 +02:00
tuckie
559ffc6331
Update BINDINGS.md (#2431)
node-raylib is updated to 4.0!
2022-04-11 18:13:43 +02:00
Ray
f71cc53bc9 WARNING: RENAMED: some parameters from length to size
When referring to byte array SIZE, I find it more clear than length
2022-04-06 20:50:50 +02:00
GoldenThumbs
07240b96ad
Fix OpenGL 4.3 graphics option in CMake (#2427) 2022-04-05 09:59:53 +02:00
Benedek Szilvasy
aa8af23f10
Fix string defines generating invalid XML (#2426) 2022-04-05 00:00:41 +02:00
Anilforextra
9c66e2f97e
[Examples] Free Allocated Matrices. (#2425) 2022-04-04 10:32:46 +02:00
ZimonIsHim
c064eefe26
Update SPONSORS.md (#2423) 2022-04-01 17:03:35 +02:00
Ray
709ec1663d Update audio_music_stream.c 2022-03-30 20:25:46 +02:00