Ray
5025009860
REVIEWED: Make sure all variables are initialized on definition, prioritize one line per variable definitions
il y a 1 mois
Kaluub
6f5cabf60c
Fix misleading example text. ( #5409 )
il y a 1 mois
Ray
c96669e123
REVIEWED: Webpage reference comments starting with `REF:`, more consistent with `TODO:` and `NOTE:` comments
il y a 1 mois
Ray
9c04b1de82
REVIEWED: Store canvas name id at platform initialization
Useful to support multiple canvases running different wasm instances in same webpage
il y a 1 mois
Ray
b465b4e2ea
RENAMED: Variable names for consistency, `textLength` (length in bytes) vs `textSize` (measure in pixels)
il y a 1 mois
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
il y a 1 mois
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
il y a 1 mois
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>
il y a 1 mois
github-actions[bot]
ae438e804e
rlparser: update raylib_api.* by CI
il y a 1 mois
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)
il y a 1 mois
Ray
71a35f661e
Update rexm.c
il y a 1 mois
Ray
2d8e346945
Update update_examples.yml
il y a 1 mois
Ray
f3f02b3e17
REXM: examples validation and update
il y a 1 mois
Ray
dad93abcf8
REXM: Ignore some warnings on GCC/Clang
il y a 1 mois
Ray
5e8118daf2
Update shaders_game_of_life.c
il y a 1 mois
Ray
bc2057345b
REVIEWED: `GetRandomValue()`, explained the new approach to get more uniform random values range
il y a 1 mois
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
il y a 1 mois
Ray
3adfde42f7
REVIEWED: `rlLoadTeexture()`, max mipmap levels to use #5400
il y a 1 mois
Ray
91ac3cc707
FIX: `LoadRandomSequence()`, using `GetRandomValue()` #5393
il y a 1 mois
Ray
19a1683641
REXM: Updated examples
il y a 1 mois
Gregory Mitchell
be6007be93
fix: sha1 computation on messages longer than 31 bytes ( #5397 )
il y a 1 mois
JordSant
efeccfef61
[examples] Add `textures_cellular_automata` ( #5395 )
* [examples] Add `textures_cellular_automata`
* Comparison always true. Fixed
* Tabs to spaces
il y a 1 mois
JordSant
366300aafe
[examples] Add `shaders_game_of_life` ( #5394 )
* [examples] Add `shaders_game_of_life`
* Declaration hides another variable same name
il y a 1 mois
Sebastian Pineda
215ad78d5b
Fix build.zig typos ( #5390 )
* fix small typo
* other small typos
il y a 1 mois
Ray
8115b7e922
Update rmodels.c
il y a 1 mois
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
il y a 1 mois
Ray
f9899a7182
Reviewed code formating
il y a 1 mois
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
il y a 1 mois
BoneManSeth
983efae3e4
Expose RGFW to cmake ( #5386 )
i was wondering why that was missing
il y a 1 mois
Rayumie
95c4efd7a3
Update comment on shapes_penrose_tile.c ( #5384 )
il y a 1 mois
Ray
68befcc64f
Update shapes_penrose_tile.c
il y a 1 mois
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
il y a 1 mois
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
il y a 1 mois
Connor O'Connor
944567651c
replace sprintf with snprintf ( #5382 )
il y a 1 mois
Connor O'Connor
1bbc8682f4
Fixed some typos and mispellings ( #5381 )
Specifically "occured" -> "occurred"
il y a 1 mois
Ray
ed5da45203
Update LICENSE.md #5380
il y a 1 mois
Ray
d3addad9a7
REVIEWED: example: `shapes_penrose_tile` formating
il y a 1 mois
Ray
d13314fe1c
Update core_window_flags.c
il y a 1 mois
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
il y a 2 mois
github-actions[bot]
4d9df337a7
rlparser: update raylib_api.* by CI
il y a 2 mois
Ray
4724f7cf1b
REVIEWED: Comments for `UpdateSound()` specifying expected data format #5350
il y a 2 mois
Ray
a568506265
REVIEWED: External libraries `sdefl` and `sinfl` to address #5367
il y a 2 mois
Robin ❤️
6a048b7afe
corrected visualstudio project ( #5375 )
il y a 2 mois
Ray
ebce9fa97a
Update rcore_memory.c
il y a 2 mois
Ray
78661a4ee0
REXM: ADDED: `shapes_ball_physics`
il y a 2 mois
Ray
18e1ec504f
Updated example
il y a 2 mois
David Buzatto
9f567e6ee4
Example for creating balls with simple physics simulation ( #5372 )
* Example for creating balls with simple physics simulation
The goal of this example is to create several colored balls whose movement is simulated and which respond to the action of being grabbed and dragged using the mouse.
* renaming example
renaming example from physics_bouncing_balls to shapes_ball_physics
il y a 2 mois
John Jimenez
e273aaea1e
[examples] text_inline_styling: make inline text and background colors respect base alpha ( #5373 )
* Added source alpha multiplier for text inline styling examples
* Added header description about base alpha multiplier
il y a 2 mois
Rosie
1ac1309b24
feat: add elle bindings ( #5370 )
il y a 2 mois
Ray
c991f9e89f
Merge branch 'master' of https://github.com/raysan5/raylib
il y a 2 mois