Commit Graph

1230 Commits

Author SHA1 Message Date
Ray
a4079ad565 Update Makefile 2022-12-02 11:59:43 +01:00
gtrxAC
c48de2d1af
Rename lighting_instanced shader (glsl100) to lighting_instancing (#2805)
* JSON parser: Use array for function params (#2255)

* Parser: follow C convention of type before name

* Update file names in build scripts

* Rename lighting_instanced shader to instancing
2022-11-22 18:16:44 +01:00
Ray
3c51d066f1 Avoid using DrawCubeTexture() 2022-11-15 12:26:22 +01:00
Ray
fadc29d811 WARNING: REMOVED: DrawCubeTexture(), DrawCubeTextureRec()
Those two functions have been moved to a new example: `models_draw_cube_texture`. The reasons for this decision:
 - Function inflexibility: Many users with the need to draw a textured cube could need to customize the texture applied to every face, that function did not allow that kind of functionality.
 - rlgl functionality exposure: The implementation exposed will teach users how to implement custom textured triangles drawing.
2022-11-15 12:16:28 +01:00
Ray
3888299bf5 WARNING: REMOVED: DrawTextureTiled()
This function implementation has been moved to the related example. Current implementation can be probably customized depending on user needs.
2022-11-10 10:17:37 +01:00
Ray
84a2a88572 WARNING: REMOVED: DrawTexturePoly()
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
2022-11-10 10:05:11 +01:00
Dor Shapira
773c0d78d8
removing typo (#2790) 2022-11-08 21:47:05 +01:00
Roman Akberov
1cb81e3f4c
Fix examples/build.zig for the latest Zig version (#2786) 2022-11-02 18:41:21 +01:00
IsaacTCB
4c4a703841
Fix Android x86 Architecture name (#2783)
When building a x86 project, the folder inside lib is named i686. However Android x86 actually expects the folder to be called x86.
2022-10-30 12:18:12 +01:00
nobytesgiven
5113817507
Improved billboards example, highlighting rotation and draw order (#2779)
* Improved billboards example, highlighting rotation and draw order

* changes to conform to the raylib conventions

* NOW it conforms

Co-authored-by: nobytesgiven <nobytesgiven@users.noreply.github.com>
2022-10-26 19:16:35 +02:00
Dor Shapira
bcb47255b9
fixing typo (#2781)
fixing typo
2022-10-26 17:14:52 +02:00
nobytesgiven
c4abf68351
fixed blur issue on opaque pictures & added example (#2775)
Co-authored-by: nobytesgiven <nobytesgiven@users.noreply.github.com>
2022-10-26 09:11:14 +02:00
Ray
865f823835 Review -s 2022-10-25 21:03:33 +02:00
Ray
d71505bdc6 Update Makefile 2022-10-24 13:37:08 +02:00
Ray
483f10397e review note 2022-10-20 20:09:54 +02:00
Ray
d9f434afb9 Added -s EXPORTED_RUNTIME_METHODS=ccall to examples web build #2739 2022-10-20 20:07:29 +02:00
ianband
7e7939e1ad
Add DrawCapsule(Wires) (#2761)
* Add DrawCapsule & DrawCapsuleWires

* Add DrawCapsule & DrawCapsuleWires to example

Co-authored-by: Ian Band <ian.r.band@gmail.com>
2022-10-17 11:36:53 +02:00
Ray
07bbfe86b9 Update core_basic_window.c 2022-10-11 22:28:40 +02:00
Szieberth Ádám
4cca234f46
avoid leading spaces in text_rectangle_bounds (#2746) 2022-10-11 12:14:40 +02:00
Ray
907e9e1fe2 Update text_codepoints_loading.c 2022-09-22 20:29:54 +02:00
Rob Loach
2093fdcc53
Added: ImageDrawCircleLines, ImageDrawCircleLinesV (#2713)
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
2022-09-19 18:41:17 +02:00
Ray
0e5cd442be REVIEWED: Renamed some shaders, fix #2707 2022-09-19 18:29:08 +02:00
murilluhenrique
eaa0b9102b
Fix typo (#2696) 2022-09-16 00:06:25 +02:00
Ray
cf76d23476 Minor format tweaks 2022-09-10 10:23:38 +02:00
Ray
cf24c021a3 WARNING: BREAKING: Reviewed SSBO usage to avoid long long
raylib library tries to avoid `long long` usage. Several SSBO functions have been reviewed (including some renames for consistency) to minimize `long long` type usage.
2022-09-09 00:26:47 +02:00
Ray
b478364914 REVIEWED: Removed comment, fixes #2691 2022-09-09 00:04:08 +02:00
hartmannathan
c1b4881e8a
examples/core/core_custom_logging.c: Fix typo (#2692) 2022-09-08 16:10:15 +02:00
Ray
e59442bfab REMOVED: rlPushMatrix()/rlPopMatrix() from rshapes
This simplification will allow the usage of `rshapes` as STANDALONE mode in a future. Only a small set of `rlgl` functions are required and they can be "more" easely replaced if no `rlPushMatrix()`/`rlPopMatrix()` are involved.

More simplification planned for the future, maybe the textures dependencies.
2022-09-05 18:23:25 +02:00
Ray
ac3420faac Update core_custom_frame_control.c 2022-09-04 12:32:40 +02:00
skylar
ee5a87826d
Fixed a bug in the 2d camera platformer example (#2687)
canJump used to alternate between true and false when on ground
2022-09-04 11:48:33 +02:00
Stan
234576da71
Removed raylib_opengl_interop.c from PLATFORM=Web build (#2682) 2022-09-02 09:13:35 +02:00
Ray
fb1037a241 ADDED: Complete support for M3D animations! #2648 2022-09-01 20:46:06 +02:00
Ray
23cc39a265 Implemented latest .M3D improvements #2648 2022-09-01 10:27:16 +02:00
Ray
4b76aa09dd ADDED: lighting.fs for GLSL120 Fix #2651 2022-08-29 14:36:07 +02:00
Ray
f66b1a3136 REVIEWED: Support M3D file loading #2648 2022-08-26 10:04:38 +02:00
Ray
ae745e4fa8 ADDED: -latomic library on Linux (only required for ARM32)
This linkage is only required for arm 32bit but I don't know how to detect that specific architecture in the Makefile...
2022-08-22 11:25:35 +02:00
moosey
f049f9dd3a
Tiny documentation fix in reasings.h (#2640) 2022-08-15 09:15:43 +02:00
SomeUnusualGames
71e43612d6
Fix typos and reworded a question in the FAQ (#2628) 2022-08-11 17:54:24 +02:00
Ray
75ece337ae Revert "Update core_3d_camera_mode.c"
This reverts commit 4f6fbaed41.
2022-08-11 12:28:21 +02:00
Ray
4f6fbaed41 Update core_3d_camera_mode.c 2022-08-11 12:27:51 +02:00
archie2x
e87caa2687
Fix #2621: Set CMP0054 policy to NEW and appropriately quote ${PLATFORM} (#2622) 2022-08-09 09:52:56 +02:00
Jacob Dennis
621d6ae856
Updated to work with zig master branch (#2620)
Specifically, std.fs.OpenDirOptions struct no longer has the iterable
flag, now it's a standalone function call std.fs.openIterableDir
2022-08-08 17:36:22 +02:00
TheManTheMythTheGameDev
090e47dca0
Fix rendering issue in audio_raw_stream.c example (#2608) 2022-08-03 08:36:23 +02:00
Ray
b79df1c329 Updated easings examples 2022-08-02 18:55:49 +02:00
Ray
0ce8a8f360 Remove easings.h from raylib/src, moved to examples 2022-08-02 18:31:57 +02:00
Ray
b187d6ca16 Delete rlights.h 2022-08-02 18:30:54 +02:00
Ray
5840cd6e50 Remove unneeded comment 2022-08-02 18:12:57 +02:00
Ray
9cbbf149d8 Update audio_music_stream.c 2022-08-02 10:23:54 +02:00
Ray
328d65b1b3 Update Makefile.Web 2022-08-02 10:22:22 +02:00
Ray
c457835938 Update audio_raw_stream.c 2022-08-02 10:22:17 +02:00
Ray
d68ddda766 Added note for multi-threading web compilation 2022-08-02 09:59:12 +02:00
Ray
24e6bf0565 Update shapes_draw_ring.c 2022-08-02 09:58:56 +02:00
Ray
191c340409 Update Makefile.Web 2022-08-02 09:26:46 +02:00
Ray
ed7548051b Update version to 4.2 2022-08-02 09:21:03 +02:00
Ray
fe9e82b2e6 Remove line breaks 2022-08-02 00:30:57 +02:00
Ray
b20d416131 Added latest examples 2022-08-02 00:30:26 +02:00
Ray
a0b4b28427 Update Makefile.Web 2022-08-01 23:57:09 +02:00
Ray
f9b71e7bcd Update Makefile 2022-08-01 23:57:05 +02:00
sDos280
85bd13c41d
removing typo, Colours->Colors (#2603) 2022-07-31 10:31:14 +02:00
sDos280
d59ea21405
removing typo in line 41 line, presssed -> pressed (#2602) 2022-07-31 01:51:25 +02:00
Ray
93b633b6e6 Create audio_stream_effects.png 2022-07-29 19:56:36 +02:00
Ray
b6f87023ad Update rlgl_standalone.c 2022-07-29 12:38:01 +02:00
Ray
fccdb68df8 Create audio_stream_effects.c 2022-07-29 12:36:56 +02:00
Ray
277dd2bb57 Update audio_music_stream.c 2022-07-29 12:36:51 +02:00
Ray
721e7914b1 Update audio_music_stream.c 2022-07-29 12:08:04 +02:00
Nikolay Krasheninnikov
52345fd883
[raymath] Rotation functions returns clockwise rotation matrix, #2595 (#2599)
Co-authored-by: Nikolai Krasheninnikov <nikolai.krasheninnikov@kronshtadt.ru>
2022-07-29 11:54:37 +02:00
Ray
0abba4dc18
Update README.md 2022-07-22 11:48:00 +02:00
Ray
4a9391ae83 REVIEWED: examples descriptions 2022-07-20 01:28:37 +02:00
Ray
4fced50fd1 Reviewed example formating 2022-07-19 22:06:18 +02:00
Ray
a3a6b3f24a Update core_2d_camera.c 2022-07-19 22:05:07 +02:00
Jeffery Myers
39ead974a4
add mouse zoom example (#2583) 2022-07-19 21:55:10 +02:00
Ray
8aa105fd5b WARNING: REMOVED: raudio_standalone example
Moved to raudio library repo: https://github.com/raysan5/raudio
2022-07-15 19:05:05 +02:00
Ray
53e3375186 Create rlgl_standalone.png 2022-07-09 00:12:50 +02:00
Ray
0295ab968c
Update README.md 2022-07-07 19:14:08 +02:00
Ray
ab23e2f130 Merge branch 'master' of https://github.com/raysan5/raylib 2022-07-07 19:12:44 +02:00
Ray
61695c5315 Added some examples screenshots 2022-07-07 19:12:37 +02:00
Ray
4e763b4aa3
Update example reviews raylib versions 2022-07-07 19:07:09 +02:00
Ray
870b7fa05f Added new examples to Makefile 2022-07-07 18:29:06 +02:00
Ray
ff838b48fd
UPDATED: examples: Assigned **DIFFICULTY LEVELS**! 2022-07-07 14:34:38 +02:00
Ray
8e229ada1d ADDED: example: textures_gif_player 2022-07-07 12:15:55 +02:00
Ray
e121058eb6 RENAMED: example: textures_rectangle -> textures_sprite_anim 2022-07-07 12:09:30 +02:00
Ray
e3ff5f3dc2 ADDED: example: textures_fog_of_war 2022-07-07 11:13:45 +02:00
Ray
9e97a2c4a1 ADDED: example: core_window_should_close 2022-07-07 11:07:41 +02:00
Ray
8f65cb1d94 ADDED: example: text_codepoints_loading 2022-07-07 01:00:57 +02:00
Ray
e722a8dbef WARNING: BREAKING: REMOVED: *StorageValue() functions
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-07-05 13:24:14 +02:00
Ray
d0f53db65f REMOVED: example: core_quat_conversion 2022-07-05 00:54:50 +02:00
Ray
bf07d17cec REMOVED: example: core_quat_conversion
This example requires a complete remake to be more clear. Also current quaternion maths could have issues.
2022-07-05 00:50:04 +02:00
Ray
5c5db2c016 Update rlgl_compute_shader.c 2022-07-04 18:34:38 +02:00
Ray
c6c71fe73c REVIEWED: DrawMesh() #2511
Disable color vertex attribute if not provided by mesh
2022-07-04 17:47:47 +02:00
Ray
061e828524 REVIEWED: example: gltf models loading -WIP- 2022-07-01 14:02:30 +02:00
Richard Smith
3c3f08c416
Fix CMake build on Raspberry Pi OS Bullseye (#2548) 2022-06-24 10:50:24 +02:00
Ray
d7a0b46006 Update rlights.h 2022-06-22 00:35:06 +02:00
Ray
77b9ca50e0 Update shaders_basic_lighting.c 2022-06-22 00:35:04 +02:00
Ray
3879decb9f REVIEWED: example: shaders_mesh_instancing
Simplified example
2022-06-21 21:06:03 +02:00
Ray
c1b01c0d5d Added new comment to examples 2022-06-21 19:53:18 +02:00
Ray
d37a63fad7 Reviewed easings include 2022-06-12 23:01:48 +02:00
Ray
043fa4cba7 Removed extras directory 2022-06-12 21:13:46 +02:00
Ray
7743af853a Update easings.h 2022-06-12 21:13:27 +02:00
Ray
96292bc859 Update models_skybox.c 2022-06-12 01:00:13 +02:00
Ray
f9426912f6 Update text_font_filters.c 2022-06-12 00:52:15 +02:00