Ray
f6558fe6e0
Minor tweaks
2022-11-22 01:02:54 +01:00
Ray
fadc29d811
WARNING: REMOVED: DrawCubeTexture(), DrawCubeTextureRec()
...
Those two functions have been moved to a new example: `models_draw_cube_texture`. The reasons for this decision:
- Function inflexibility: Many users with the need to draw a textured cube could need to customize the texture applied to every face, that function did not allow that kind of functionality.
- rlgl functionality exposure: The implementation exposed will teach users how to implement custom textured triangles drawing.
2022-11-15 12:16:28 +01:00
Ray
31edd13a72
Minor formating tweaks
2022-11-10 12:03:17 +01:00
Ray
3888299bf5
WARNING: REMOVED: DrawTextureTiled()
...
This function implementation has been moved to the related example. Current implementation can be probably customized depending on user needs.
2022-11-10 10:17:37 +01:00
Ray
7f68c65406
WARNING: REMOVED: DrawTextureQuad()
...
This function can be easely replicated using `DrawtexturePro()` and actually it was doing some assumptions not transparent to the user. Even the function name was confusing. No example was available for it and actually noone requested one example.
2022-11-10 10:11:28 +01:00
Ray
84a2a88572
WARNING: REMOVED: DrawTexturePoly()
...
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
2022-11-10 10:05:11 +01:00
RGDTAB
dbdfad7ace
Fix ExportDataAsCode() data types ( #2787 )
2022-11-04 20:39:04 +01:00
nobytesgiven
dbecb95024
Added Box and Gaussian blurring ( #2770 )
...
* Added Box and Gaussian blurring
* Removed dependence of gaussian blur to box blur & Fixed precision errors
Co-authored-by: nobytesgiven <nobytesgiven@users.noreply.github.com>
2022-10-25 17:56:06 +02:00
ianband
7e7939e1ad
Add DrawCapsule(Wires) ( #2761 )
...
* Add DrawCapsule & DrawCapsuleWires
* Add DrawCapsule & DrawCapsuleWires to example
Co-authored-by: Ian Band <ian.r.band@gmail.com>
2022-10-17 11:36:53 +02:00
Ray
e61639f6fc
ADDED: GenImageText()
...
Probably useless but interesting for education. It generated a grayscale image directly from text data.
2022-10-14 10:51:43 +02:00
Dor Shapira
8025b052b3
fixing typo ( #2748 )
2022-10-11 11:20:29 +02:00
Ray
38025362ee
Update version to raylib 4.5-dev to avoid confusions with 4.2
2022-10-07 16:22:44 +02:00
Ray
26969c2c38
Added BLEND_CUSTOM_SEPARATE #2741
2022-10-05 13:57:38 +02:00
Dor Shapira
587e61def9
fixing new typoes ( #2727 )
2022-09-28 20:04:59 +02:00
Dor Shapira
5c404c79da
Update raylib.h ( #2726 )
2022-09-28 20:04:41 +02:00
bXi
e9ca38fafa
Clarified working of ImageDrawCircle and ImageDrawCircleV ( #2719 )
2022-09-26 12:24:10 +02:00
Ray
810a0330ab
WARNING: Several changes on UTF-8/Codepoints API
...
- ADDED: `GetCodepointPrevious()`
- RENAMED: `GetCodepoint()` -> `GetCodepointNext()`, actually, reimplemented
- `GetCodepoint()` has been kept for the moment, for compatibility and also because implementation is different
- RENAMED: `TextCodepointsToUTF8()` to `LoadUTF8()`, simpler name and more aligned with raylib conventions (functions loading memory start with Load*()), parameters should be descriptive of functionailty.
- ADDED: `UnloadUTF8()`, aligned with `LoadUTF8()` to avoid allocators issues.
2022-09-22 20:35:55 +02:00
Rob Loach
2093fdcc53
Added: ImageDrawCircleLines, ImageDrawCircleLinesV ( #2713 )
...
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
2022-09-19 18:41:17 +02:00
Ray
cb9b8f73c0
ADDED: GenImagePerlinNoise()
2022-09-17 13:39:49 +02:00
Ray
ac1ffbad1d
REVIEWED: Data type to unsigned
2022-09-07 00:39:38 +02:00
Ray
f4b4054de5
REVIEWED: CheckCollisionPointPoly()
2022-09-04 10:45:01 +02:00
Jacek
aff98d7f2a
Check collision point polygon ( #2685 )
...
* Update raylib.h
* CheckCollisionPointPolygon()
* typo
2022-09-04 10:39:03 +02:00
Ray
e92bc8ca4e
REVIEWED: M3D implementation #2648
2022-08-22 11:11:05 +02:00
Ray
14990209ef
Added comments
2022-08-05 20:01:35 +02:00
Ray
eb8d14e5b2
Update version to raylib 4.2
2022-08-02 00:36:59 +02:00
Ray
6c2c176a99
Added note
2022-07-15 18:53:08 +02:00
Audi Nugraha
d1aabb3957
Allow DLL creation using TCC ( #2569 )
...
* Fix Undefined Symbol `_ftelli64`
* Add files via upload
* Update raylib.h
* Update raylib.h
2022-07-09 19:33:18 +02:00
Ray
7fb7591e4f
Update raylib.h
2022-07-05 13:27:07 +02:00
Ray
e722a8dbef
WARNING: BREAKING: REMOVED: *StorageValue() functions
...
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-07-05 13:24:14 +02:00
Ray
e0f0a5f663
REMOVED: GenMeshBinormals(), actually, never implemented
2022-07-05 12:55:51 +02:00
Steven Schveighoffer
e1e0bc4266
Add function to read both X and Y mouse scrolling from a trackpad ( #2517 )
...
(GetMouseWheelMoveV).
2022-06-12 17:30:07 +02:00
Ray
875601c4cc
REVIEWED: FilePathList, consider maximum capacity
2022-06-12 11:32:10 +02:00
Ray
b8f67c6285
WARNING: BREAKING: REDESIGNED: Filepath loading API
...
REDESIGNED: `LoadDirectoryFiles()`
ADDED: `LoadDirectoryFilesEx()`
REDESIGNED: `LoadDroppedFiles()`
ADDED: `IsPathFile()`
This BIG BREAKING change simplifies the functions and gives more control to the user:
- A new `struct FilePathList` has been added to avoid exposing complex pointers.
- User is responsible of memory loading/unloading
- Filepaths loading support recursive directories and file extension filters
2022-06-11 23:24:13 +02:00
Ray
b9f617aaee
Update raylib.h
2022-06-11 18:13:15 +02:00
Ray
702f2bccfc
REVIEWED: Issue with MOUSE_PASSTROUGH #2516
2022-06-11 18:12:39 +02:00
Ray
b549baa6b7
New feature: support MOUSE_PASSTHROUGH #2516
2022-06-11 12:08:16 +02:00
gulrak
5e3ef42201
GetMonitorWidth()/GetMonitorHeight(): return current video resolution instead max available ( #2514 )
...
* GetMonitorWidth()/GetMonitorHeight(): current video resolution instead max available
* adapt header comment to reflect change
2022-06-09 21:00:04 +02:00
Ray
dca23cb3ff
RENAMED: BLEND_ALPHA_PREMUL to BLEND_ALPHA_PREMULTIPLY
2022-06-07 18:46:14 +02:00
Ray
e6bc401c93
WARNING: RENAMED: GetDroppedFiles() to LoadDroppedFiles()
...
RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
2022-06-06 20:39:37 +02:00
Ray
ebbcc2ffce
WARNING: RENAMED: GetDirectoryFiles() to LoadDirectoryFiles()
...
RENAMED: `ClearDirectoryFiles()` to `UnloadDirectoryFiles()`
2022-06-06 20:30:24 +02:00
Ray
461cdda71e
Reviewed latest PR, variable name
2022-06-06 20:23:14 +02:00
flashback-fx
c11d30bafe
Change WaitTime argument from milliseconds to seconds ( #2506 )
2022-06-06 20:18:37 +02:00
Ray
6fccfc57a4
Minor tweak
2022-06-02 19:22:42 +02:00
Jonathan Poncelet
5bdd8f134f
Improved boolean definitions ( #2485 )
2022-05-19 21:21:09 +02:00
Ray
db16833d8c
ADDED: EnableEventWaiting() / DisableEventWaiting()
...
Events waiting can be enabled/disabled, it toggles event polling.
2022-05-12 16:51:46 +02:00
Ray
d9a30b8480
ADDED: ExportDataAsCode()
2022-05-06 00:14:28 +02:00
Ray
666aa44a84
Reviewed some comments
2022-05-01 11:14:28 +02:00
Ray
f169530d8f
Update raylib.h
2022-04-29 17:52:22 +02:00
Ray
f71cc53bc9
WARNING: RENAMED: some parameters from length to size
...
When referring to byte array SIZE, I find it more clear than length
2022-04-06 20:50:50 +02:00
Ray
1612ba63ab
ADDED: Audio stream processors support -WIP- #2212
...
This feature is still under consideration/testing and it doesn't work properly, at least the Delay Effect processor.
2022-03-30 20:13:02 +02:00
Ray
90fc7c0376
WARNING: BREAKING: REMOVED: GetRayCollisionModel() #2405
2022-03-30 20:11:22 +02:00
Ray
418a595b6f
Corrected typo
2022-03-25 15:39:32 +01:00
Ray
8e28872fe1
Rename audio callback
2022-03-25 10:19:40 +01:00
Ray
381236051f
ADDED: Audio stream input callback #2212 -WIP-
...
WARNING: This addition is based on a PR and it's still under review, not sure if it will be maintained in the future. In general, raylib tries to avoid callbacks usage mechanisms.
2022-03-24 20:49:11 +01:00
Ray
a5a098c97f
Remove space
2022-03-12 21:27:24 +01:00
raysan5
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
Antonis Geralis
68bad6986d
make const ( #2348 )
...
* make const
* make const
2022-02-20 20:12:55 +01:00
Antonis Geralis
963de06d08
follow style guide ( #2346 )
...
* follow style guide
* Update rmodels.c
2022-02-17 00:54:21 +01:00
megagrump
f40eed5adf
add premultiplied alpha blend mode ( #2342 )
2022-02-13 18:42:24 +01:00
raysan5
44d3cee5d1
Minor tweak
2022-01-28 21:25:40 +01:00
Ray
d38fe92c3f
RENAMED: GetFileSize() to GetFileLength()
...
`GetFileSize()` conflicts with the infamous `windows.h`
2022-01-28 00:23:28 +01:00
raysan5
0f00c41aad
ADDED: GetFileSize()
2022-01-27 14:07:05 +01:00
Siddharth Roy
e5ee69a0f5
Add DrawTextCodepoints ( #2308 )
...
* Add DrawTextCodepoints
* Fixed top comment
2022-01-26 12:55:34 +01:00
raysan5
15b36e04b2
Review formating
2022-01-16 17:16:04 +01:00
ptarabbia
5ac07122bd
Add panning to raudio and update audio_raw_stream example. ( #2205 )
...
* Add panning to raudio and update audio_raw_stream example.
* remove pan smoothing, code formatting changes following pull request comments
Co-authored-by: Ray <raysan5@gmail.com>
2022-01-16 12:49:58 +01:00
Ray
b4e0ed6007
Review formating
2022-01-10 13:54:51 +01:00
Jeffery Myers
fbf34f7c0d
[CORE] Add a function to return the application directory. ( #2256 )
...
* Add a function to return the application directory.
* CI fixes
2022-01-08 19:47:52 +01:00
Ray
2116a98745
ADDED: ExportFontAsCode()
2022-01-03 20:45:56 +01:00
raysan5
a940f41b4b
Update year to 2022
2021-12-31 20:06:22 +01:00
Ray
4bb894f171
tweaks
2021-12-31 11:01:43 +01:00
Tushar Singh
d91b9171fa
[Feature] Added SetWindowOpacity(float opacity) ( #2254 )
...
* Added drawing text with shadow
* Added SetWindowOpacity()
* Edited Mis-spell
* Fixed conventions
2021-12-30 13:13:50 +01:00
raysan5
c9db9e6bb7
Updated version number to avoid confusions with release
2021-12-28 15:40:26 +01:00
Jeffery Myers
f5e951145a
Add a comment to LoadFontEx to specify how to get the default character set. ( #2221 )
...
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-12-18 19:33:19 +01:00
Ray
e637ad9d2a
Support custom modules inclusion
...
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-12-04 19:56:02 +01:00
Ray
9088135b49
REVIEWED: Formating and comments
2021-11-25 01:07:54 +01:00
Arnaud Valensi
b248a00c90
Fix scissor on macos ( #2170 )
...
* Expose GetRenderWidth and GetRenderHeight functions
* Fix scissor on macos
* Fix typo
2021-11-25 01:03:20 +01:00
めぐみ発動機 (isVowel / GreenWing)
924b1c7b0c
fixed typo: aproximation to approximation ( #2164 )
2021-11-21 18:06:52 +01:00
raysan5
03f55d8f9e
Minor tweaks
2021-11-17 13:36:28 +01:00
Ray
e930ad3102
Reviewed spelling mistake
2021-11-01 23:06:26 +01:00
Ray
25642cff36
Update comments for OpenGL 4.3
2021-10-26 22:23:16 +02:00
raysan5
c4f0e80895
REVIEWED: Size of bones id supported, max 255 bones per mesh
2021-10-23 13:59:20 +02:00
raysan5
83b6cd00c6
Reviewed VS2019 projects
2021-10-22 15:41:28 +02:00
raysan5
befdb5963e
REMOVED: IsGamepadName()
...
This function is not required, users can check it with `GetGamepadName()`
2021-10-22 12:21:31 +02:00
raysan5
2ec8ce649a
ADDED: EncodeDataBase64() and DecodeDataBase64()
2021-10-18 14:10:51 +02:00
raysan5
4e88160e78
Update raylib.h
2021-10-13 19:22:47 +02:00
raysan5
252bd22738
Merge branch 'master' of https://github.com/raysan5/raylib
2021-10-12 20:22:12 +02:00
raysan5
0b0711027a
Remove unimplemented function
2021-10-12 20:21:56 +02:00
Horrowind
526e68afa8
Add DrawCylinder(Wires)Ex ( #2049 )
...
* Add DrawCylinderEx and DrawCylinderWiresEx
* Modify examples/models/models_geometric_shapes.c to show the
usage of DrawCylinder(Wires)Ex
* Simplified DrawCylinder and DrawCylinderWires to use the -Ex versions.
* This reverts commits f49b2598dd and
4542b32e4e .
* Fixed formatting.
Renamed base_angle to baseAngle.
Remove most of the raymath.h calls.
Co-authored-by: Horrowind <you@example.com>
2021-10-12 19:36:06 +02:00
Jeffery Myers
3d6d5558c9
Add CheckCollisionPointLine to the header, it appears to have been missed ( #2042 )
2021-10-10 17:06:15 +02:00
Jeffery Myers
62554db48d
Add missing #endif to windows API defines ( #2038 )
2021-10-08 19:12:21 +02:00
Ray
94650f0def
Simplified RLAPI preprocessor branching
2021-10-08 17:22:58 +02:00
Jeffery Myers
33ed452439
Fix dll exports so that raylib builds in visual studio again. ( #2037 )
2021-10-07 20:17:45 +02:00
raysan5
3e71232a04
WARNING: BREAKING: REMOVED: GenImagePerlinNoise()
...
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
2021-10-06 21:20:36 +02:00
raysan5
b972b8d324
REVIEWED: API functions specifiers
2021-10-05 18:33:41 +02:00
Ray
9b3d74db6b
ADDED: GetImageColor() #2024
2021-10-03 12:55:52 +02:00
Ray
92417c4485
Update raylib.h
2021-10-03 12:33:40 +02:00
Ray
22345ff62a
Minor format tweak
2021-10-03 12:17:15 +02:00
SAOMDVN
3fc4a4c974
Added DrawLineBezierCubic() ( #2021 )
...
Co-authored-by: SAOMDVN <saomdvn@users.noreply.github.com>
2021-10-03 12:15:56 +02:00
Ray
f869229b7f
Minor format tweaks
2021-10-03 12:09:59 +02:00
Chris
9882796df0
Rename BRDG typo to BDRF ( #2028 )
2021-10-02 14:07:42 +02:00