Commit Graph

5023 Commits

Author SHA1 Message Date
Ray 2efb50cc63 Update .gitignore 2021-06-22 20:01:57 +02:00
Sky 9095dd9e82 Add support for resizing Emscripten canvas (#1840) 2021-06-22 18:25:52 +02:00
Diesirae 30a0f6f292 Fix DrawTextRec (#1843)
* fix text wrapping

* fix indent

* fix indent

* fix indent

* fix DrawTextRec
2021-06-22 18:16:04 +02:00
Guillaume DEVOILLE 52f1c7df6d Fix missing fclose in tinyobj loader (#1842)
Missing fclose in tinyobj loader.
2021-06-22 18:12:42 +02:00
FSasquatch 906c7f591e Added hxRaylib (#1846) 2021-06-22 18:07:47 +02:00
Ray 115cc7dede Review GetFPS() 2021-06-21 00:46:30 +02:00
Adrian Guerrero Vera 96d5dd24aa core: added GetMouseDelta() (#1832)
* core: added `GetMouseDelta()`

Thanks to previousPosition added by raysan it is now possible to create the GetMouseDelta() function.

Returns a Vector2 with the difference between the current and previous position of the mouse in a frame.

Useful for creating camera scrolling, among others.

* Added changes noted by raysan
2021-06-21 00:11:27 +02:00
raysan5 28093c46a8 Disable SUPPORT_EVENTS_AUTOMATION by default 2021-06-19 19:54:36 +02:00
PtitLuca c37f776e87 fix: change relevant occurences of MeshBoundingBox to GetMeshBoundingBox (#1836) 2021-06-18 13:11:10 +02:00
Ray 1dd9fbae94 Merge branch 'master' of https://github.com/raysan5/raylib 2021-06-17 18:18:26 +02:00
Ray 8be5ec2288 Avoid SUPPORT_MOUSE_CURSOR_POINT 2021-06-17 18:18:16 +02:00
Sirvoid 1a420b77e3 Fixed: Binding vertex position twice (#1835) 2021-06-17 15:42:37 +02:00
Ray 0e65e5877f Update rlgl_standalone.c 2021-06-17 12:54:05 +02:00
Ray e07054d0d4 RENAMED: SwapBuffers() -> SwapScreenBuffer()
Avoid possible symbol collisions
2021-06-17 12:47:03 +02:00
Ray b733e76c86 Update physac.h 2021-06-17 12:26:33 +02:00
Ray 19b71f5f13 WARNING: Exposed SUPPORT_CUSTOM_FRAME_CONTROL #1729 2021-06-17 12:17:50 +02:00
Ray ab032919df RENAMED: Wait() -> WaitTime() 2021-06-17 11:47:05 +02:00
Ray 68e408474d Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINT 2021-06-17 11:17:39 +02:00
Ray 942657fc7c Remove Color struct requirement 2021-06-17 00:28:51 +02:00
Ray 4decbb2586 RENAMED: MeshTangents() -> GenMeshTangents()
RENAMED: MeshBinormals() -> GenMeshBinormals()
2021-06-17 00:04:24 +02:00
Ray f3d38018cd Comment tweak 2021-06-17 00:03:24 +02:00
Ray 3ae40c35e6 Update examples_template.c 2021-06-16 14:09:28 +02:00
Ray 4b93feb172 Remove trail spaces 2021-06-13 17:08:30 +02:00
Ray d875891a3c Improved raylib parser to export data as XML
- Improved command-line
 - Added XML support
 - Added sample outputs: DEFAULT, JSON, XML
 - Reviewed LoadFileText() bug
 - Removed trailing spaces
2021-06-13 16:34:51 +02:00
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