Commit Graph

4999 Commits

Author SHA1 Message Date
Ray 3e68059556 Merge branch 'master' of https://github.com/raysan5/raylib 2021-06-13 12:08:44 +02:00
Ray 213c990eda Reviewed issue 2021-06-13 12:08:32 +02:00
Tobias Mock 929fa5780d
Add nullptr check before passing arg (#1825) 2021-06-13 11:52:24 +02:00
Richard Smith 7d03048f1d
updating raylib python cffi version (#1826)
* Update BINDINGS.md

* Update BINDINGS.md
2021-06-12 23:46:21 +02:00
FSasquatch ae9cea03f0
Changed windows-build to build-windows (#1822) 2021-06-12 18:23:56 +02:00
Ray de7b8ad551 NEW CRAZY FEATURE: EVENTS AUTOMATION!
https://youtu.be/3dZenkpmRzM
2021-06-11 12:27:46 +02:00
Francisco Javier Andrés Casas Barrientos 4dd5643402
Added missing null terminator (#1820)
Added missing null terminator when adding characters to the string, otherwise garbage values are read (often zeros which are equal to '\0', but not every time).

This error results in random characters appearing in the text box every one in a while:
```
asdfg??? ll??
```
It is corrected with the proposed fix.

This problem was observed by my student, Gonzalo Rivera Lazo.
2021-06-10 20:24:08 +02:00
Ray 0b8e0f05a7 Register mouse previous position 2021-06-10 18:03:25 +02:00
Ray b188008a1c Review code formatting 2021-06-10 18:00:44 +02:00
Ray 7bc2e922c9 Review some comments 2021-06-10 17:49:55 +02:00
Ray b0dcdf688f Reviewed functions description
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
Ray d3387c952a Reviewed Input variables and comments 2021-06-10 17:11:31 +02:00
Ray 3643974949 Corrected bug on enum 2021-06-10 11:38:02 +02:00
Ray 8980bcfe4b Added some enum comments 2021-06-10 11:31:34 +02:00
Hristo Stamenov e1babab3cc
There no longer is a library glfw_objlib and now it is only glfw. (#1818) 2021-06-09 09:49:13 +02:00
Ray 97b074ac26 Update GLFW to latest version #1817 2021-06-08 21:02:24 +02:00
Ray 76a907bb79 Remove tabs 2021-06-08 21:01:17 +02:00
Deathbat2190 9681a072d0
Fix parsing multiple struct fields defined in one line (#1813) 2021-06-06 13:22:42 +02:00
Rob Loach 32f3f53718
parser: Add JSON support with --json (#1812) 2021-06-06 10:21:56 +02:00
raysan5 246798a0ba Update Makefile 2021-06-05 20:15:03 +02:00
Ray 88a8395b8e
Added `raylib_oding_bindings` 2021-06-05 14:02:06 +02:00
raysan5 e95d8bc655 Minor format tweaks 2021-06-05 12:33:05 +02:00
raysan5 6445200a93 Removed GetAudioStreamBufferSizeDefault() 2021-06-05 12:32:52 +02:00
Ray e00d2439b9 WARNING: BREAKING: Consistency renamings
RENAMED: InitAudioStream() -> LoadAudioStream()
RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03 23:36:47 +02:00
Ray 7e68e733f5 Update models_material_pbr.c 2021-06-03 21:04:23 +02:00
Ray 0565fb9fb6 Update models_mesh_picking.c 2021-06-03 20:58:04 +02:00
Ray 121c689b78 Review code formatting 2021-06-03 20:25:28 +02:00
Crydsch edeaff4bd4
Better collisions (#1803)
* review collisions ray-box and ray-sphere

* Applied raysan's refactor
Improved GetRayCollisionBox

* Replace GetRayCollisionGround with GetCollisionQuad

* Update example core_3d_picking

* Update example models_loading

* Fixed issues after merge

* remove debug stuff

Co-authored-by: Cry dsch <chris.obo@gmx.net>
2021-06-03 20:15:27 +02:00
Ray 2370af598e Reviewed example: core_split_screen 2021-06-03 19:35:36 +02:00
Jeffery Myers deaa84d28d
Add a split screen example showing render texture use and multiple cameras. (#1806)
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-06-03 19:09:43 +02:00
Deathbat2190 2efb5a36ca
Small parser bugfix (#1805) 2021-06-02 20:47:37 +02:00
isaac553876299 d1ac38171c
Update raymath.h (#1802) 2021-06-01 17:00:40 +02:00
Marco G. Maia 1a7dace57e
Update docs for supported blend modes (#1801) 2021-06-01 15:00:19 +02:00
Ray 0870295a7c RENAMED: enum Gestures -> Gesture
Consistency tweak
2021-05-31 20:40:27 +02:00
Ray 5e3cf28642 Update raudio.c 2021-05-31 19:32:48 +02:00
Ray 23398f0198 Update Makefile 2021-05-31 19:02:26 +02:00
Ray e991fefb89 Update Makefile 2021-05-31 18:51:56 +02:00
Ray d39d26f275 Update models_loading.c 2021-05-31 18:36:03 +02:00
Ray 9cc2cee936 Update text_draw_3d.c 2021-05-31 18:32:35 +02:00
Ray b359a1575e Update core_3d_picking.c 2021-05-31 18:27:53 +02:00
Ray 8f4261e9d4 Remove unused declarations 2021-05-31 12:58:49 +02:00
Ray 565319184c Reviewed struct field name 2021-05-31 12:37:03 +02:00
Ray 2760304d66 Update CMakeLists.txt 2021-05-31 12:27:26 +02:00
Ray 9bd3d78374 WARNING: Moved some **extra** raylib libraries to /extras/ directory 2021-05-31 11:43:56 +02:00
Ray 1c5de9721a WARNING: BREAKING: RENAMED: RayHitInfo to RayCollision #1781
- RENAMED: RayHitInfo to RayCollision
- RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
2021-05-31 11:41:56 +02:00
Ray 7bcb2ad4f1 Update uwp_events.h 2021-05-31 11:39:20 +02:00
Ray 89e734de6b Review config flags #1784 2021-05-30 22:31:14 +02:00
Julianiolo cc4de1d1f9
note (#1797) 2021-05-30 18:33:38 +02:00
Ray 71995d52b3 REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796 2021-05-30 18:02:06 +02:00
Ray a178a2170b Structs tweaks for consistency 2021-05-30 13:34:02 +02:00