Daniel Tasada
832d052465
Merge remote-tracking branch 'upstream/master'
merge with upstream again
před 1 měsícem
Ray
cf0d6fc664
REVIEWED: Alignment with other platforms
před 1 měsícem
Ray
615fc36eeb
Fix #5406
před 1 měsícem
Ray
cbe31759ab
Fix #5405
před 1 měsícem
RANDRIA Luca
d74556d35c
Modify text_words_alignment.c ( #5411 )
před 1 měsícem
Daniel Tasada
887b049cd0
merged with master
před 1 měsícem
Daniel Tasada
7d4ff99362
fixed build errors with zig. now compatible with zig master 0.16.0-dev.1593+c13857e50. still backwards compatible with 0.15.1
před 1 měsícem
ALONZO Robin
8d246fdaff
Fix EXTERNAL_CONFIG_FLAGS being defined even when no custom config is used when building with zig ( #5410 )
před 1 měsícem
Ray
a0fd5ab1d9
Update rmodels.c
před 1 měsícem
Ray
9a337f3b3b
ADDED: Support software renderer on Web, blitting framebuffer data directly to a 2d canvas
This improvement is just a prove of concept, at this moment `PLATFORM_WEB` is limited in terms of software rendering by `GLFW` that only allows creating a WebGL canvas context with `glfwCreateWindow()`.
We can skip that call but then some GLFW functionality is not available (windowing, inputs). The best solution is replacing GLFW completely by a pure Emscripten implementation for `PLATFORM_WEB`.
před 1 měsícem
Ray
5025009860
REVIEWED: Make sure all variables are initialized on definition, prioritize one line per variable definitions
před 1 měsícem
Kaluub
6f5cabf60c
Fix misleading example text. ( #5409 )
před 1 měsícem
Ray
c96669e123
REVIEWED: Webpage reference comments starting with `REF:`, more consistent with `TODO:` and `NOTE:` comments
před 1 měsícem
Ray
9c04b1de82
REVIEWED: Store canvas name id at platform initialization
Useful to support multiple canvases running different wasm instances in same webpage
před 1 měsícem
Ray
b465b4e2ea
RENAMED: Variable names for consistency, `textLength` (length in bytes) vs `textSize` (measure in pixels)
před 1 měsícem
Ray
2853b28d6d
REVIEWED: Avoid program crash if GPU data is tried to be loaded before `InitWindow()` #4751
Following raylib design, a warning log message is shown and program can continue execution.
Some early return checks have been added on most critical functions.
[rtext] Previous implementation checking `isGpuReady` cross-module variable is not needed any more, resulting in a more decoupled code, load failure is managed at rlgl level
před 1 měsícem
Jordi Santonja
8fa5f1fe2c
[examples] Fixed `shaders_game_of_life` for web ( #5399 )
* [examples] Fixed `shaders_game_of_life` for web
* Fixed image loadig for rexm
před 1 měsícem
Jeffery Myers
6f7cd3a9ab
[core] Camera2d comment updates ( #5401 )
* Make the comments on the camera 2d fields more clear about what space each one is in.
* rlparser: update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
před 1 měsícem
github-actions[bot]
ae438e804e
rlparser: update raylib_api.* by CI
před 1 měsícem
Ray
2a566544d4
ADDED: Multiply security checks to avoid crashes on wrongly provided string data #4751
- REVIEWED: Checking `NULL` input on functions getting `const char *text`, to avoid crashes
- REVIEWED: `strcpy()` usage, prioritize `strncpy()` with limited copy to buffer size
- REPLACED: `strlen()` by `TextLength()` on [rtext] module
- REVIEWED: Replaced some early returns (but keeping others, for easier code following)
před 1 měsícem
Ray
71a35f661e
Update rexm.c
před 1 měsícem
Ray
2d8e346945
Update update_examples.yml
před 1 měsícem
Ray
f3f02b3e17
REXM: examples validation and update
před 1 měsícem
Ray
dad93abcf8
REXM: Ignore some warnings on GCC/Clang
před 1 měsícem
Ray
5e8118daf2
Update shaders_game_of_life.c
před 1 měsícem
Ray
bc2057345b
REVIEWED: `GetRandomValue()`, explained the new approach to get more uniform random values range
před 1 měsícem
Marcos De La Torre
f2a900a60d
[rcore] Fix modulo bias in `GetRandomValue()` ( #5392 )
* Fix modulo bias in GetRandomValue(); implement rejection sampling for uniformity
* Replace do-while with for-loop in GetRandomValue rejection sampling
před 1 měsícem
Ray
3adfde42f7
REVIEWED: `rlLoadTeexture()`, max mipmap levels to use #5400
před 1 měsícem
Ray
91ac3cc707
FIX: `LoadRandomSequence()`, using `GetRandomValue()` #5393
před 1 měsícem
Ray
19a1683641
REXM: Updated examples
před 1 měsícem
Gregory Mitchell
be6007be93
fix: sha1 computation on messages longer than 31 bytes ( #5397 )
před 1 měsícem
JordSant
efeccfef61
[examples] Add `textures_cellular_automata` ( #5395 )
* [examples] Add `textures_cellular_automata`
* Comparison always true. Fixed
* Tabs to spaces
před 1 měsícem
JordSant
366300aafe
[examples] Add `shaders_game_of_life` ( #5394 )
* [examples] Add `shaders_game_of_life`
* Declaration hides another variable same name
před 1 měsícem
Sebastian Pineda
215ad78d5b
Fix build.zig typos ( #5390 )
* fix small typo
* other small typos
před 1 měsícem
Ray
8115b7e922
Update rmodels.c
před 1 měsícem
BoneManSeth
fd8830948e
fix newer NDK version compiling errors ( #5389 )
target already gets assigned by the clang macro it points to, overwriting it causes it to target linux instead of android, making it check for usr directories instead of the NDK's directories
před 1 měsícem
Ray
f9899a7182
Reviewed code formating
před 1 měsícem
Jeffery Myers
561cc27403
[rModels] Support 16 bit vec3 values in gltf reader ( #5388 )
* Support 16 bit vec3 values coming from gltf
* Add support for 8 bit normals
před 1 měsícem
BoneManSeth
983efae3e4
Expose RGFW to cmake ( #5386 )
i was wondering why that was missing
před 1 měsícem
Rayumie
95c4efd7a3
Update comment on shapes_penrose_tile.c ( #5384 )
před 2 měsíci
Ray
68befcc64f
Update shapes_penrose_tile.c
před 2 měsíci
David Buzatto
b1f8cde329
[examples] Added: `text_strings_management` ( #5379 )
* new shapes example - penrose tile
* stack cleanup
* proper use of strnlen, strncat and strncpy
* typo correction
* update screenshot of shapes_penrose_tile example
* new example for strings management
* Improved structure for text_strings_management
před 2 měsíci
Aly
78a81bf407
Fix ToggleBorderlessFullscreen() Not Hiding Taskbar ( #5383 )
* Use glfwSetWindowMonitor instead of Pos and Size GLFW functions
* Fix window not resetting properly when toggling out of fullscreen, formatting
před 2 měsíci
Connor O'Connor
944567651c
replace sprintf with snprintf ( #5382 )
před 2 měsíci
Connor O'Connor
1bbc8682f4
Fixed some typos and mispellings ( #5381 )
Specifically "occured" -> "occurred"
před 2 měsíci
Ray
ed5da45203
Update LICENSE.md #5380
před 2 měsíci
Ray
d3addad9a7
REVIEWED: example: `shapes_penrose_tile` formating
před 2 měsíci
Ray
d13314fe1c
Update core_window_flags.c
před 2 měsíci
David Buzatto
3ba186f2c1
[examples] Added: `shapes_penrose_tile` ( #5376 )
* new shapes example - penrose tile
* stack cleanup
* proper use of strnlen, strncat and strncpy
* typo correction
* update screenshot of shapes_penrose_tile example
před 2 měsíci
github-actions[bot]
4d9df337a7
rlparser: update raylib_api.* by CI
před 2 měsíci