Ray
67a693fc5b
REVIEWED: `LoadImageSvg()`
1 year ago
Ray
d6f3891009
REVIEWED: `LoadImageSvg()`
1 year ago
bXi
c03ab03627
Added rudimentary SVG support. ( #2738 )
* Added rudimentary SVG support. Added 2 functions ImageLoadSvg and ImageLoadSvgWithSize.
* Added an example on how to use ImageLoadSvgWithSize and adjusted Makefiles accordingly.
* Added actual correct example file.
* Reviewed the code to keep the raylib coding conventions in mind.
Moved the LoadImageSvg() code into LoadImage() guarded by SUPPORT_FILEFORMAT_SVG.
Renamed LoadImageSvgWithSize() to LoadImageSvg().
Added a LoadImageSvgFromString() function to parse the loaded SVG into an actual image. This does the bulk of the work.
* Fixed typo.
---------
Co-authored-by: Ray <raysan5@gmail.com>
1 year ago
Ray
75e5cd86d7
Use internal default allocators, instead of user-exposed ones
1 year ago
Ray
6e18d96e7a
Some tweaks
1 year ago
Ray
0f447f1fb6
REVIEWED: Data size type consistency between functions #3168
1 year ago
Johannes Barthelmes
0f39051562
Fix uninitialized thread-locals in stbi #3282 ( #3283 )
1 year ago
Ray
ec6d3bb688
RENAMED: LoadFont*() parameter names for consistency and coherence
1 year ago
Ray
8157d4283e
REVIEWED: `GetFileLength()`, added comment #3262
1 year ago
Ray
150663f78a
Use type name instead of valid specifier
long long --> long long int
1 year ago
Ethan Conneely
fc0d132566
Remove e from secondes ( #3270 )
1 year ago
Ray
9646497216
Formating review
1 year ago
Branimir Ričko
b27e98a428
Fix bug where default shaders was not linking. ( #3261 )
1 year ago
Nickolas McDonald
9c9fba6a6c
[Feature] IsKey... safety checks and more ( #3256 )
* [Feature] Add GetKeyRepeat
* Update rcore.c
* Simpler design, only one repeat per frame
* Update config.h
* Update rcore.c
* Add KEYBOARD_KEYS_MASK
* Update config.h
* reversions
* Update rcore.c
* Update rcore.c
* change docs
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update raylib.h
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
1 year ago
Ethan Simpson
828d273698
Add Vector3 Projecting and Rejection to Raymath ( #3263 )
* Update raymath.h
* formatting
1 year ago
Jeffery Myers
21f5482e0d
[Image] Validate that ImageDrawRectangleRec is drawing entirely inside the image ( #3264 )
* Add a function to clone a sound and share data with another sound.
* rename items based on feedback
* PR Feedback, use custom unload for sound alias, not variant of normal sound unloading
* sound_multi example
* Validate that image rect drawing is inside the image so we don't overflow a buffer
* remove files that should not have been added.
* remove changes that should not have been
* revert
* adsfasdfsdfsdf
1 year ago
ubkp
4fa66f2635
Fix SetClipboardText for web ( #3257 )
1 year ago
vitopigno
5ed83dfa29
Update rcore.c ( #3255 )
1 year ago
Ray
dfd0436428
Reviewed `IsKeyPressedRepeat()` #3248
1 year ago
actondev (Christos)
b3f82a148a
Add `IsKeyPressedRepeat` (desktop only) ( #3245 )
Since the key pressed are handle by comparing current vs previous
state (ie frame), a special way is needed to handle key repeats.
1 year ago
Ray
8189bddefb
tweaks
1 year ago
actondev (Christos)
820343e7ac
add build.zig options for individual modules ( #3254 )
1 year ago
Ray
5a33f19964
Revert "Fix #3246"
This reverts commit e4dcbd5180
.
1 year ago
Ray
e4dcbd5180
Fix #3246
1 year ago
ashn
a86c93ebc0
Ignore unused return value of GetCodepointNext in GetCodepointCount ( #3241 )
* Ignore unused return value of GetCodepointNext in GetCodepointCount
Removes the last warning from non-external libraries when compiling with
the default build configuration on x64 Linux.
* Remove unnecessary void cast in GetCodepointCount
1 year ago
Ray
bf705a63de
REVIEWED: `DrawLineCatmullRom()`
1 year ago
Ray
d873d0f173
ISSUE: `DrawLineCatmullRom()`, needs review
1 year ago
Ray
9161c55d59
REVIEWED: Code formatting
1 year ago
Ray
fc88518067
ADDED: Spline drawing functions ->
- `DrawLineBSpline()`
- `DrawLineCatmullRom()`
1 year ago
ubkp
c25b52b1b3
Fix rcamera.h issues ( #3240 )
1 year ago
Ray
93f59a6f59
Review tabs and trail-spaces
1 year ago
Ray
f1c31bee27
Fix #3177 #3109
1 year ago
RadsammyT
0959f6ebf6
fix typos in rmodels, rshapes, rtext modules ( #3236 )
1 year ago
ashn
90f1749965
Ignore unused function warnings from external headers when compiling with GCC and Clang ( #3235 )
1 year ago
Ray
42cfabc670
REVIEWED: Old pragma formating
1 year ago
RadsammyT
03ecf2202e
Fix typos in rcore.c comments ( #3234 )
* Fix typos in rcore.c comments
thought i corrected "dettach"
Fix typos in rcore.c comments
* 'fordward' > forward
1 year ago
Nikolas
bef818e210
Fix build for OpenGL 2.1, where half floats are part of an extension ( #3233 )
1 year ago
mohad12211
db55bed72b
fix: check if ctrl modifier is among the currently set modifiers ( #3230 )
1 year ago
Le Juez Victor
c9864d8ac1
Fixed Android app black screen issue when reopening after incomplete closing ( #3227 )
* Fixed black screen issue when resuming the app on Android
Partly explained here: https://github.com/raysan5/raylib/issues/3127
* Fix APP_CMD_TERM_WINDOW for Android
1 year ago
yujiri8
b82217eaaa
Tweak build.zig to work with cross-compiling ( #3225 )
1 year ago
Nikolas
dc621ca388
Support 16-Bit HDR textures ( #3220 )
* Support 16-Bit HDR textures
* Fix build on emscripten
* Move helper functions
1 year ago
Ray
6094869e3e
Fix material loading #3126
1 year ago
Jeffery Myers
601cadbae6
[AUDIO] Add a function to make an alias of a sound and share it's sample data ( #3219 )
* Add a function to clone a sound and share data with another sound.
* rename items based on feedback
* PR Feedback, use custom unload for sound alias, not variant of normal sound unloading
1 year ago
vitopigno
d3058fe589
[CORE] Support for SetWindowTitle and InitWindow for web ( #3222 )
* Update raylib.h
Changed SetWindowTitle's description
* Update rcore.c
SetWindowTitle now works on web
* Update rcore.c
InitWindow title now works with web platform too.
1 year ago
ubkp
464e714a2e
Adds BORDERLESS_WINDOWED_MODE for PLATFORM_DESKTOP ( #3216 )
2 years ago
Jeffery Myers
04678bc585
int math done with floats causes warnings. ( #3218 )
2 years ago
Matheus C. França
e7664d5684
build change ( #3214 )
ref.: https://github.com/ziglang/zig/pull/16446
2 years ago
ubkp
4fd40f0333
Fixes GetCurrentMonitor() detection inconsistency issue ( #3215 )
2 years ago
ndytts
44659b7ba8
Fix android soname in src/Makefile ( #3211 )
2 years ago
ubkp
962030e70a
Changes SetWindowMonitor() to no longer force fullscreen ( #3209 )
* Changes SetWindowMonitor() to no longer force fullscreen
* Readds fullscreen support
2 years ago