summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-04-22Update BINDINGS.md (#3023)Dor Shapira
update raypyc version to 4.6-dev
2023-04-22Fix off-by-one error in CheckCollisionPointRec (#3022)Dan Bechard
Checking `<= x + w` causes off-by-one error where `CheckCollisionPointRec` will return true at the same time for two rectangles rendered right next to each, but which don't overlap (e.g. when making a 2D tile editor). This is clearly not what was intended.
2023-04-22Fix offset used before range check (#3021)Mingjie Shen
This use of offset 'i' should follow the range check.
2023-04-19Update BINDINGS.md (#3017)Soutaisei
Update Kaylib to Raylib version 4.5
2023-04-17Avoid shader attribute not found logRay
2023-04-17Remove trailing spacesRay
2023-04-15[raudio] Rewritten `ExportWaveAsCode()` file saving to be more like ↵RadsammyT
rtextures `ExportImageAsCode()` (#3013) * Update raudio.c Review `raudio.c`: rewritten `ExportWaveAsCode()` to be more like rtextures.c `ExportImageAsCode()' * no tab november accidentally inserted a tab somewhere. corrected it.
2023-04-15CMake project example: fix a couple of typos (#3014)Benjamin Thomas
2023-04-13Make assets loading extension case insensitive #3008Ray
2023-04-10Avoid tracelog about not found uniforms #3003Ray
2023-04-09Minor fix in DrawLineBezier* (#3006)eternalStudent
When `i` starts with `0`, `t` is also `0`, which results in `previous == startPos == current`, this segment is not only redundant, but it also causes division-by-zero since `sqrtf(dx*dx + dy*dy)` is zero.
2023-04-09Fix warnings in raylib for MSVC (#3004)Jeffery Myers
2023-04-08Update BINDINGS.md (#3002)fubark
2023-04-06REVIEWED: `GetGlyphIndex()` #3000Ray
2023-04-06[rtext] Fix GetCodepointNext() to return default value on invalid input with ↵chocolate42
size=0 (#2997) * Fix GetCodepointNext to return default value with size=0 on invalid input. Modify LoadCodepoints to work when GetCodepointNext returns a size of 0. All internal use of GetCodepointNext and GetCodepointPrev checked. This fix may break external code dealing with invalid input as the old code erroneously never returned a size of 0, external code that doesn't properly check for size=0 may endlessly loop or overflow a buffer on invalid input. * Change default behaviour of GetCodepointNext to return a size of 1 instead of 0. This matches existing prod behaviour and guarantees size 1..4 is returned. Simplify internal code that uses GetCodepointNext that previously had to account for size=0. * Simplified progressing through a UTF-8 string in ImageTextEx and MeasureTextEx. This change matches existing precedent in DrawTextEx * GetCodepointNext: Add 10xxxxxx checks to multibyte encodings. --------- Co-authored-by: anon <anon>
2023-03-29Update BINDINGS.md (raylib-py -> 4.5) (#2992)Jorge A. Gomes
Co-authored-by: Ray <[email protected]>
2023-03-25Update BINDINGS.md (raylib-lua -> 4.5) (#2989)Astie Teddy
2023-03-25Update BINDINGS.mdRay
2023-03-25Update raylib-d binding version to 4.5 (#2988)Steven Schveighoffer
2023-03-23update raylib-freebasic to 4.5 (#2986)WIITD
2023-03-22Lazy loading of default font for image loading (no InitWindow)Ray
2023-03-22Update rl_gputex.hRay
2023-03-22Minor tweaks to raylib events automation systemRay
2023-03-22Update CMakeLists.txtRay
2023-03-22Update resource arch for 64bit #2978Ray
2023-03-22Review formatRay
2023-03-22slightly optimize Vector3Normalize (#2982)Rico P
2023-03-22Fix packing logic error in ```GenImageFontAtlas``` (#2979)Hanaxar
Basic packing algorithm currently follows this order: Copy pixel data -> Move offsetX for current glyph -> Check remaining space for current glyph... Since X offset already moved according current glyph, remaining space should be checked for next glyph. Because of this, occasionally, current logic causes glyphs wrapping around texture. Proposed fix accomplishes that by moving offsetX check to the beginning of the loop.
2023-03-22Calculate exact image size in GenImageFontAtlas (#2963)Hanaxar
* Calculate exact image size in GenImageFontAtlas Calculate exact image size with a method based on total glyph width and glyph row count Current method seemed a little bit overkill with square root, log and power functions and only approximates image size which can be wonky with some weird fonts like cursive fonts. Proposed method calculates image size directly with a simpler method and results exact image size needed. * Update rtext.c * Update rtext.c Changed do-while to while loop, and also added an extra step to calculate maximum glyph width and excluding it from image width for extra safety.
2023-03-22Update BINDINGS.md (#2983)Jarrod Davis
Adding raylib for Pascal
2023-03-21Update BINDINGS.md for raylib Odin 4.5 (#2981)gingerBill
2023-03-21Update BINDINGS.md (#2980)Gunko Vadim
update ray4laz to raylib 4.5
2023-03-21Update README.mdRay
2023-03-21add missing space in one of the cameraDescriptions (#2977)Mansour Quddus
2023-03-20Updated version to avoid confusion with 4.5 releaseRay
2023-03-20Fix typo in rmodels.c (#2976)Ikko Eltociear Ashimine
Upate -> Update
2023-03-20BINDINGS: Update various versions to 4.5 (#2974)Rob Loach
2023-03-19Add const qualifier to char * path argument in qoaplay_open() (#2972)Webfra
* Add const qualifier to char * path argument in qoa_open() * Remove unnecessary cast
2023-03-19Update raylib.zig version to 4.5 (#2971)Michael Scherbakow
2023-03-19Update h-raylib version (#2970)Anand Swaroop
2023-03-19Update core_loading_thread.cRay
2023-03-19raudio: Fix warning on discarded const qualifier (#2967)Rob Loach
The `qoaplay_open()` function expects a `char *`, but we are passing in a `const char *`. While this works just fine, it does issue a compiler warning when strict: ``` src/raudio.c: In function ‘LoadMusicStream’: src/raudio.c:1290:45: warning: passing argument 1 of ‘qoaplay_open’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1290 | qoaplay_desc *ctxQoa = qoaplay_open(fileName); | ^~~~~~~~ In file included from src/raudio.c:233: src/external/qoaplay.c:86:34: note: expected ‘char *’ but argument is of type ‘const char *’ 86 | qoaplay_desc *qoaplay_open(char *path) | ~~~~~~^~~~ ``` This change casts the argument to a `char *` to fix the warning.
2023-03-19Fix missing symbol when rglfw.c on BSD platforms (#2968)Niels Martignène
2023-03-18Update Makefile comment to indicate arm64 as a supported Linux desktop ↵ashn
platform (#2965)
2023-03-18Update raylib.slnRay
2023-03-17Merge branch 'master' of https://github.com/raysan5/raylibRay
2023-03-17Update CHANGELOGRay
2023-03-16Added my BQN Library to the list (#2962)Brian E
I'm the only maintainer and have been working hard recently to get my library to be as nice to use as possible. I found out about this language list, and getting a new language on it didn't seem so bad. A bonus for my efforts.
2023-03-15Update npes_saved_w64devkit.txtRay
2023-03-15Delete c_raylib.xmlRay