Commit Graph

6417 Commits

Author SHA1 Message Date
Astie Teddy 1a110dcbd7 Update BINDINGS.md (raylib-lua -> 4.5) (#2989) 2023-03-25 23:26:38 +01:00
Ray 02bd709043 Update BINDINGS.md 2023-03-25 10:38:21 +01:00
Steven Schveighoffer 1fc8f1bdbf Update raylib-d binding version to 4.5 (#2988) 2023-03-25 10:32:46 +01:00
WIITD 57082d6600 update raylib-freebasic to 4.5 (#2986) 2023-03-23 22:26:55 +01:00
Ray 6287f68c0b Lazy loading of default font for image loading (no InitWindow) 2023-03-22 20:11:36 +01:00
Ray 0925851f89 Update rl_gputex.h 2023-03-22 20:11:03 +01:00
Ray 770e239f73 Minor tweaks to raylib events automation system 2023-03-22 19:47:42 +01:00
Ray 0d4db7ad7f Update CMakeLists.txt 2023-03-22 12:43:18 +01:00
Ray 19892a3c3a Update resource arch for 64bit #2978 2023-03-22 11:15:00 +01:00
Ray ecb6a6af32 Review format 2023-03-22 11:08:46 +01:00
Rico P 8b8eddc8e2 slightly optimize Vector3Normalize (#2982) 2023-03-22 11:01:05 +01:00
Hanaxar e55bdd5d8a Fix packing logic error in ``GenImageFontAtlas`` (#2979)
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-22 11:00:13 +01:00
Hanaxar 02a8a49961 Calculate exact image size in GenImageFontAtlas (#2963)
* 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-22 10:59:28 +01:00
Jarrod Davis 7565e274b1 Update BINDINGS.md (#2983)
Adding raylib for Pascal
2023-03-22 08:55:58 +01:00
gingerBill d61303b1b0 Update BINDINGS.md for raylib Odin 4.5 (#2981) 2023-03-21 22:46:20 +01:00
Gunko Vadim 04229c5854 Update BINDINGS.md (#2980)
update ray4laz to raylib 4.5
2023-03-21 20:03:38 +01:00
Ray a139ba9c48 Update README.md 2023-03-21 12:04:03 +01:00
Mansour Quddus 4f43ceb0d2 add missing space in one of the cameraDescriptions (#2977) 2023-03-21 08:31:29 +01:00
Ray 9f7a49bec3 Updated version to avoid confusion with 4.5 release 2023-03-20 18:03:37 +01:00
Ikko Eltociear Ashimine ace7aef0e6 Fix typo in rmodels.c (#2976)
Upate -> Update
2023-03-20 16:43:22 +01:00
Rob Loach e450c75f6f BINDINGS: Update various versions to 4.5 (#2974) 2023-03-20 16:41:16 +01:00
Webfra 08670ecea1 Add const qualifier to char * path argument in qoaplay_open() (#2972)
* Add const qualifier to char * path argument
in qoa_open()

* Remove unnecessary cast
2023-03-19 20:34:22 +01:00
Michael Scherbakow 03e19c7f43 Update raylib.zig version to 4.5 (#2971) 2023-03-19 18:27:21 +01:00
Anand Swaroop 3c02f0c75b Update h-raylib version (#2970) 2023-03-19 15:38:30 +01:00
Ray 2e02474b7a Update core_loading_thread.c 2023-03-19 11:25:29 +01:00
Rob Loach c14c7f0b69 raudio: Fix warning on discarded const qualifier (#2967)
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-19 11:16:52 +01:00
Niels Martignène 76b5959bb5 Fix missing symbol when rglfw.c on BSD platforms (#2968) 2023-03-19 09:43:51 +01:00
ashn fec96137e8 Update Makefile comment to indicate arm64 as a supported Linux desktop platform (#2965) 4.5.0 2023-03-18 17:37:04 +01:00
Ray 18a36b3e06 Update raylib.sln 2023-03-18 17:35:14 +01:00
Ray 40d01162b9 Merge branch 'master' of https://github.com/raysan5/raylib 2023-03-17 00:05:51 +01:00
Ray e8a5d7b85c Update CHANGELOG 2023-03-17 00:05:40 +01:00
Brian E e06047419c Added my BQN Library to the list (#2962)
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-16 22:45:42 +01:00
Ray 03516b1c68 Update npes_saved_w64devkit.txt 2023-03-15 19:09:30 +01:00
Ray 7ab24b94ee Delete c_raylib.xml 2023-03-15 19:09:27 +01:00
Ray bf3e527dab Update config.h 2023-03-15 17:51:23 +01:00
Ray b31c836456 Update CHANGELOG 2023-03-15 17:51:03 +01:00
ashn 1aacefd6fa Add raylib-sunder to BINDINGS.md (#2958) 2023-03-15 14:56:24 +01:00
Ray 3b4f9faebc UPDATED: Notepad++ instellisense data 2023-03-15 13:17:14 +01:00
Ray 159e6b6f24 UPDATED: raylib-parser output files (TXT, XML, JSON, LUA) 2023-03-15 13:13:48 +01:00
Ray ad2067340f REVIEWED: TraceLog(), avoid possible buffer overflow 2023-03-15 13:03:55 +01:00
veins1 cf04425bc2 Spelling (#2957) 2023-03-14 19:23:17 +01:00
Ray 796d96408b Update HISTORY.md 2023-03-14 14:06:37 +01:00
Ray 54ccb18e87 Update write_depth.fs 2023-03-14 13:39:33 +01:00
Ray 3d64598e11 Update Makefile 2023-03-14 13:14:19 +01:00
Ray 7ac2b4a226 Update HISTORY.md 2023-03-14 13:07:24 +01:00
Ray 2b9ef7d15c Update ROADMAP.md 2023-03-14 13:06:22 +01:00
Ray 975c70d2b7 Update rlgl.h 2023-03-14 13:06:17 +01:00
Ray a6300d828a Update CHANGELOG 2023-03-14 13:05:58 +01:00
Ray 1a361fdfe2 Update Makefile.Web 2023-03-13 23:24:30 +01:00
Ray 5a2c49b954 Updated Makefiles to include all missing new examples 2023-03-13 23:13:02 +01:00