Commit Graph

8843 Commits

Author SHA1 Message Date
Bruno Cabral
ca33d495b3 [build][cmake] set lib m as public so it can be linked by consumer (#5193)
* [build][cmake] set lib m as public so it can be linked by consumer

* [build][cmake] removed redundancy when BSD systems
2025-09-23 18:07:11 +02:00
JohnnyCena123
085391e788 [build][cmake] fix issue introduced by #5181 (#5198)
* fix web build issue with CMake introduced by #5181

* remove ASYNCIFY
2025-09-23 18:04:30 +02:00
Arman Ommid
fbae395e85 Update raymath.h (#5201) 2025-09-23 17:58:42 +02:00
Ray
78a607b778 Update twitter links 2025-09-22 11:40:06 +02:00
Ray
bb28d7fd0e Update normalmap.fs 2025-09-21 20:37:01 +02:00
Ray
363855ec3e Update rexm.c 2025-09-21 20:21:42 +02:00
Ray
8ada37d967 Update depth_write.fs 2025-09-21 13:28:30 +02:00
Ray
e7cfd3d4a3 Update depth_render.fs 2025-09-21 13:28:27 +02:00
Ray
95cb0cbf67 Update README.md 2025-09-21 13:14:01 +02:00
Ray
47576e4e10 Merge branch 'master' of https://github.com/raysan5/raylib 2025-09-21 13:13:48 +02:00
Ray
1161286d51 Update rexm.c 2025-09-21 13:13:46 +02:00
Ray
f0674676b6 Update raylib_parser.c 2025-09-21 13:12:32 +02:00
Connor O'Connor
ff8333435a use lowercase "message" to remove recommendation warning (#5196)
It is recommended to use lowercase CMake commands
2025-09-19 17:06:43 +02:00
Ray
1c3f9fa135 Update parse_api.yml 2025-09-18 16:06:24 +02:00
Ray
9268b0d029 REXM: Commented functions moved to main raylib API 2025-09-18 15:51:48 +02:00
Ray
e81fc8d21a Merge branch 'master' of https://github.com/raysan5/raylib 2025-09-18 15:51:27 +02:00
Ray
23e0898c65 Ouch! 2025-09-18 15:51:18 +02:00
github-actions[bot]
97e214fc68 Update raylib_api.* by CI 2025-09-18 13:34:30 +00:00
Ray
c264c86ee0 ADDED: Some useful functions for Files and Text management
// File management functions
 - int FileRename(const char *fileName, const char *fileRename); // Rename file (if exists)
 - iint FileRemove(const char *fileName);                         // Remove file (if exists)
 - iint FileCopy(const char *srcPath, const char *dstPath);       // Copy file from one path to another, dstPath created if it doesn't exist
 - iint FileMove(const char *srcPath, const char *dstPath);       // Move file from one directory to another, dstPath created if it doesn't exist
 - int FileTextReplace(const char *fileName, const char *search, const char *replacement); // Replace text in an existing file
 - iint FileTextFindIndex(const char *fileName, const char *search); // Find text in existing file

// Text management functions
 - const char *TextRemoveSpaces(const char *text);                                       // Remove text spaces, concat words
 - char *GetTextBetween(const char *text, const char *begin, const char *end);           // Get text between two strings
 - char *TextReplace(const char *text, const char *search, const char *replacement);     // Replace text string (WARNING: memory must be freed!)
 - char *TextReplaceBetween(const char *text, const char *begin, const char *end, const char *replacement); // Replace text between two specific strings (WARNING: memory must be freed!)
2025-09-18 15:34:09 +02:00
Ray
bd6065a4fd Update rlgl.h 2025-09-18 15:29:13 +02:00
Ray
dc1632c17a REVIEWED: Platform code formatting and organization 2025-09-18 15:28:03 +02:00
Jeffery Myers
7729727752 Use the render size not the screen size for screenshots so we use the actual framebuffer size. (#5192) 2025-09-18 00:01:24 +02:00
Peter0x44
a15651f4fe Restore projects/CMake/CMakeLists.txt (#5191)
For some reason, #5181 deleted it.
This project is intended to be a simple template to set up a project
consuming raylib with CMake.
2025-09-17 19:22:53 +02:00
Max Coplan
fbdf5e4fd2 fix(rcore): correctly scale content on macOS (#5186)
Currently, scaling doesn't work correctly on macOS (see #5185).  This commit
works around this issue by disabling SCALE_FRAMEBUFFER on macOS when
`FLAG_WINDOW_HIGHDPI` is unset.
2025-09-16 19:37:05 +02:00
Ray
ed8f1a22d1 Remove trailing spaces 2025-09-14 18:07:58 +02:00
Ray
96fb4851ce Merge branch 'master' of https://github.com/raysan5/raylib 2025-09-14 10:27:08 +02:00
Ray
068978d5b3 REXM: RENAME: example: models_gpu_skinning --> models_animation_gpu_skinning 2025-09-14 10:26:04 +02:00
Ray
c1615aaac4 Update examples_template.c 2025-09-14 10:22:56 +02:00
Bruno Cabral
b281101001 [build][cmake] Review web compilation system (#5181)
* [cmake] export automatically raylib definitions and compile/link options

* [cmake] pass emscripten options to consumer project

* [web] compile for web

* [web] canvas width 100%
2025-09-14 10:05:07 +02:00
Ray
c9b1f2ce54 REVIEWED: example: core_input_gestures_testbed, follow default structure 2025-09-14 10:04:24 +02:00
Ray
9931ddd27a Update core_undo_redo.c 2025-09-13 21:17:16 +02:00
Ray
36ad7127c2 REXM: Update 2025-09-13 21:09:59 +02:00
Ray
36824b6c0a REXM: ADDED: example: core_undo_redo 2025-09-13 20:58:27 +02:00
Ray
865b3310f8 Updated project GUIDs 2025-09-13 20:57:39 +02:00
Ray
161cab24da Update core_random_sequence.c 2025-09-13 20:57:20 +02:00
Ray
6f01f3c06d Update rexm.c 2025-09-13 20:57:00 +02:00
Ray
b8420d4821 REXM: Update examples 2025-09-13 10:46:14 +02:00
Ray
3148206758 Renamed shaders for consistency 2025-09-13 10:44:12 +02:00
Ray
f711c98bd6 Merge branch 'master' of https://github.com/raysan5/raylib 2025-09-13 10:43:38 +02:00
Ray
adac5f7770 REXM: RENAME: example: shaders_write_depth --> shaders_depth_writing 2025-09-13 10:41:25 +02:00
Bruno Cabral
bb0c78476c [build][cmake] Fix definition to use SDL3 (#5175)
* fix definition to use SDL3

* [cmake] fix definition to use SDL3

* [build][cmake] prefer USING_VERSION_SDL3 over PLATFORM_DESKTOP_SDL3

* [build][cmake] when libs are added externally, consumer needs to import them too
2025-09-13 10:19:44 +02:00
Bruno Cabral
6cf38b6292 fix SDL3 gamepad detection (#5176) 2025-09-13 10:17:17 +02:00
Ray
8d48a12306 Merge branch 'master' of https://github.com/raysan5/raylib 2025-09-12 21:44:56 +02:00
Ray
28ce99b539 Update core_3d_camera_fps.c 2025-09-12 21:44:56 +02:00
Bruno Cabral
71321d179b [build][cmake] Added emscripten build options (#5180)
* [cmake] export automatically raylib definitions and compile/link options

* [cmake] pass emscripten options to consumer project
2025-09-12 21:42:50 +02:00
Bruno Cabral
7db5f56e81 [cmake] export automatically raylib definitions and compile/link options (#5179) 2025-09-12 13:07:46 +02:00
Ray
8d3a4b8dd5 REVIEWED: Renamed PLATFORM_DESKTOP_SDL3 to USING_VERSION_SDL3 #5175
Avoid using a new platform flag to address one platform version
2025-09-12 13:03:28 +02:00
Ray
d0c39db6c2 Update rlgl.h 2025-09-12 13:02:13 +02:00
Ray
5a54fc12a2 REVIEWED: Prioritize calloc() calls than malloc() on some cases 2025-09-10 21:03:06 +02:00
Ray
8a1468c0c7 Update examples_report.md 2025-09-10 21:02:26 +02:00