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!)
před 3 týdny
Ray
bd6065a4fd
Update rlgl.h
před 3 týdny
Ray
dc1632c17a
REVIEWED: Platform code formatting and organization
před 3 týdny
Jeffery Myers
7729727752
Use the render size not the screen size for screenshots so we use the actual framebuffer size. ( #5192 )
před 3 týdny
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.
před 3 týdny
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.
před 3 týdny
Ray
ed8f1a22d1
Remove trailing spaces
před 3 týdny
Ray
96fb4851ce
Merge branch 'master' of https://github.com/raysan5/raylib
před 3 týdny
Ray
068978d5b3
REXM: RENAME: example: `models_gpu_skinning` --> `models_animation_gpu_skinning`
před 3 týdny
Ray
c1615aaac4
Update examples_template.c
před 3 týdny
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%
před 3 týdny
Ray
c9b1f2ce54
REVIEWED: example: `core_input_gestures_testbed`, follow default structure
před 3 týdny
Ray
9931ddd27a
Update core_undo_redo.c
před 3 týdny
Ray
36ad7127c2
REXM: Update
před 3 týdny
Ray
36824b6c0a
REXM: ADDED: example: `core_undo_redo`
před 3 týdny
Ray
865b3310f8
Updated project GUIDs
před 3 týdny
Ray
161cab24da
Update core_random_sequence.c
před 3 týdny
Ray
6f01f3c06d
Update rexm.c
před 3 týdny
Ray
b8420d4821
REXM: Update examples
před 3 týdny
Ray
3148206758
Renamed shaders for consistency
před 3 týdny
Ray
f711c98bd6
Merge branch 'master' of https://github.com/raysan5/raylib
před 3 týdny
Ray
adac5f7770
REXM: RENAME: example: `shaders_write_depth` --> `shaders_depth_writing`
před 3 týdny
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
před 3 týdny
Bruno Cabral
6cf38b6292
fix SDL3 gamepad detection ( #5176 )
před 3 týdny
Ray
8d48a12306
Merge branch 'master' of https://github.com/raysan5/raylib
před 3 týdny
Ray
28ce99b539
Update core_3d_camera_fps.c
před 3 týdny
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
před 3 týdny
Bruno Cabral
7db5f56e81
[cmake] export automatically raylib definitions and compile/link options ( #5179 )
před 4 týdny
Ray
8d3a4b8dd5
REVIEWED: Renamed `PLATFORM_DESKTOP_SDL3` to `USING_VERSION_SDL3` #5175
Avoid using a new platform flag to address one platform version
před 4 týdny
Ray
d0c39db6c2
Update rlgl.h
před 4 týdny
Ray
5a54fc12a2
REVIEWED: Prioritize `calloc()` calls than `malloc()` on some cases
před 4 týdny
Ray
8a1468c0c7
Update examples_report.md
před 4 týdny
Ray
2550a45821
Update core_render_texture.c
před 4 týdny
Ray
109b3b2d2e
REXM: ADDED: example: `text_inline_styling`
před 4 týdny
Ray
9e14faffcc
REXM: REVIEWED: example addition logic
před 4 týdny
Ray
ffe74658ab
REXM: ADDED: example: `core_render_texture`
před 4 týdny
Ray
84e2cbccc4
Update complexity level for `shapes_digital_clock`
před 1 měsícem
Ray
a42eb2f79b
REDESIGNED: example: `shapes_digital_clock`
před 1 měsícem
Ray
866e7238bf
Remove projects from solution
před 1 měsícem
Ray
698d37c57a
Update shaders_normalmap_rendering.c
před 1 měsícem
Ray
1b9aa0bcf3
Update rmodels.c
před 1 měsícem
Ray
f4250da042
Update text_unicode_ranges.c
před 1 měsícem
Ray
f6ae596a1d
Update rexm.c
před 1 měsícem
Ray
0da5bc1e17
REXM: REVIEWED: `TextReplaceBetween()`
před 1 měsícem
Ray
4447868c60
REXM: Updated examples, resources checking
před 1 měsícem
Ray
adb078128b
Update rexm.c
před 1 měsícem
Ray
28c5d16000
Update shaders_shadowmap_rendering.c
před 1 měsícem
Ray
811ec4fb1e
REVIEWED: `shaders_shadowmap_rendering` example
před 1 měsícem
Ray
ef0dd5f774
REXM: Updated examples after some renames
před 1 měsícem
Ray
c7f8843200
REXM: RENAME: example: `shaders_eratosthenes` --> `shaders_eratosthenes_sieve`
před 1 měsícem