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
Ray
2474d50dba
Update raylib.h
2021-09-27 17:52:15 +02:00
Ray
e40ece55d5
Update raylib.h
2021-09-27 17:51:57 +02:00
Ray
00a763ea44
Reviewed some TODO comments
2021-09-23 00:18:47 +02:00
Timon de Groot
025246620f
Add function DrawCubeTextureRec ( #2001 )
...
* Add function DrawCubeTextureRec
* Add EOF newline
* Remove unneeded example
2021-09-22 21:56:38 +02:00
Uneven Prankster
19ef765382
SeekMusicStream initial implementation (#2006 )
2021-09-22 21:55:13 +02:00
Ryan Roden-Corrent
9607ea5c0a
Use unsigned int for animation count. ( #2002 )
...
LoadModelAnimations takes an `int` for the animation count parameter.
The animation count should never be negative, so it makes sense to
specify it as unsigned in the API. This matches the API for
UnloadModelAnimations, which expects an unsigned int. Both GLTF and IQMM
also store the animation count internally as unsigned, and we were
casting to a signed int for no reason.
GLTF actually uses `size_t` internally, so we're technically risking
overflow, but having 2^32 animations seems unlikely.
2021-09-22 13:04:10 +02:00
Ray
0e037555fe
Update raylib.h
2021-09-22 12:59:40 +02:00
raysan5
7d995d95eb
Merge branch 'master' of https://github.com/raysan5/raylib
2021-09-21 15:31:35 +02:00
raysan5
a09311a8fc
Tweaks
2021-09-21 15:31:26 +02:00
Uneven Prankster
339fdf4c31
Add up argument to DrawBillboardPro ( #1941 )
...
* Add `up` argument to `DrawBillboardPro`
* Replace tab with proper spaces
2021-09-21 15:22:30 +02:00
raysan5
c96de3a23a
ADDED: GetTouchPointId(index) #1972
2021-09-21 15:11:33 +02:00
Tommi Sinivuo
3c55f067a8
Add SetRandomSeed(unsigned int seed) function ( #1994 )
...
Specifying a fixed seed for the random number generator is often
used in games for various reasons.
By adding an api function for seeding the random number generator
we solve two different problems regarding the seeding:
1) The underlying RNG implementation does not leak to client code
(as would be the case if we called srand directly from the
client code)
2) Seeding the RNG would be simple from other programming languages
(especially in cases where calling libc functions is non-trivial)
2021-09-17 21:26:21 +02:00
raysan5
72983d4e20
Typo
2021-09-10 19:01:24 +02:00
Ray
803094f41f
REVIEWED: Touch input system #1975 #1960
...
- ADDED: `GetTouchPointCount()` to core module, removed from gestures module.
- Support multiple touch points: `MAX_TOUCH_POINTS`.
2021-09-10 15:19:12 +02:00
Ray
9362eaf9c6
REVIEWED: Naming: length vs size
2021-09-01 23:40:51 +02:00
Ray
6e76baa6a9
WARNING: BREAKING: RENAMED: Font struct variables
...
RENAMED: GetCodepointsCount() -> GetCodepointCount()
RENAMED: GetTouchPointsCount() -> GetTouchPointCount()
2021-09-01 23:11:31 +02:00
Richard Smith
cac856119c
Change GetColor to take unsigned int ( #1954 )
2021-08-26 17:31:01 +02:00
Ray
d98779abef
Minor tweak to avoid false error logs
2021-08-22 01:07:37 +02:00
Ray
aefdb9f9cf
REMOVED: Old function names defines
...
As far as next raylib version will be 4.0, no backward compatibility hacks will be maintained.
2021-08-21 23:57:41 +02:00
Ray
1b4c58b66f
WARNING: BREAKING: Use frameCount on audio
...
This is a big change for optimization and a more professional understanding of audio. Instead of dealing with samples, now we deal with frames, like miniaudio does, so, avoiding continuous conversions from samples to frames.
2021-08-16 11:06:31 +02:00
raysan5
462e7aec52
Updated RAYLIB_VERSION to 4.0-dev
...
Several breaking changes have been done lately so I think it's better to mark raylib for next release as 4.0.
2021-08-15 13:25:14 +02:00
raysan5
aae60e1e44
REVIEWED: extern "C" definition position for consistency
...
Note that `extern "C"` calling convention only affects objects that need to be seen by the linker, in our case only functions... but it would also be required by global variables exposed, if any.
2021-08-15 13:02:53 +02:00
raysan5
621a8766a8
WARNING: BREAKING: Renamed CharInfo to GlyphInfo and more...
...
This commit introduces some breaking changes for library consistency, hopefully not too dramatic... Here the full list:
- RENAMED: struct `CharInfo` to `GlyphInfo`, actually that's the correct naming for the data contained. It contains the character glyph metrics and the glyph image; in the past it also contained rectangle within the font atlas but that data has been moved to `Font` struct directly, so, `GlyphInfo` is a more correct name.
- RENAMED: `CodepointToUtf8()` to `CodepointToUTF8()`, capitalization of UTF-8 is the correct form, it would also require de hyphen but it can be omitted in this case.
- RENAMED: `TextToUtf8()` to `TextCodepointsToUTF8` for consistency and more detail on the functionality.
- ADDED: `GetGlyphInfo()` to get glyph info for a specific codepoint
- ADDED: `GetGlyphAtlasRec()` to get glyph rectangle within the generated font atlas
- Some additional tweaks for consistency
2021-08-11 21:16:39 +02:00
raysan5
b55418effd
ADDED: DrawTextPro() with text rotation support
2021-08-11 18:31:56 +02:00
raysan5
5a259fa10f
WARNING: REMOVED: DrawTextRec() and DrawTextRecEx()
...
- DrawTextRec() and DrawTextRecEx() have been moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
2021-08-11 18:31:32 +02:00
Ryan Roden-Corrent
ef9fdd0fa5
Document Get{Key,Char}Pressed return value. ( #1909 )
...
I think it is useful to know what the empty behavior is in cases where
you are enumerating key presses (e.g. implementing "press any key to
continue").
2021-08-10 18:38:32 +02:00
raysan5
5e63cd3c97
ADDED: GenMeshCone() #1903
2021-08-08 11:29:24 +02:00
raysan5
5b6d83b533
REVIEWED: rlgl defines for consistency
2021-07-31 19:46:44 +02:00
raysan5
b805754aa1
REVIEWED: Avoid bool type collisions
2021-07-31 18:10:26 +02:00
raysan5
b4fddf146b
REVIEWED: Added new mechanism to avoid data types collision between modules that share same data types and can be used in standalone mode
2021-07-30 13:44:52 +02:00
raysan5
8b7f43f89b
WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-
...
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed.
- REMOVED: `Texture2D`, `Shader` structs dependency
- REMOVED: `Vector3`, `Matrix` structs dependency
- REMOVED: raymath functions dependency, all required math is implemented in rlgl
- ADDED: `rlMatrix` custom rlgl type
- ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types
- ADDED: `rl` prefix to all `rlgl` structs
- Other small tweaks here and there
2021-07-29 21:57:50 +02:00
raysan5
0c3902b543
ADDED: GetModelBoundingBox()
...
Reorganized models functionality, it still needs some review...
2021-07-28 13:15:10 +02:00
raysan5
efba81442a
Update link address for miniaudio
2021-07-03 21:25:05 +02:00
raysan5
9e7ca41f58
Remove trailing spaces
2021-06-30 16:39:07 +02:00
Ray
e5cf3f9555
WARNING: BREAKING: Functions renamed for consistency
...
RENAMED: GetTextureData() -> LoadImageFromTexture()
RENAMED: GetScreenData() -> LoadImageFromScreen()
2021-06-28 09:39:31 +02:00
raysan5
8eb7cf1fee
REVIEWED: Enum values descriptions
2021-06-26 22:13:45 +02:00
raysan5
2f75657350
WARNING: REMOVED: Some deprecated function names mapping
...
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
2021-06-26 21:07:00 +02:00
Ray
d4c03b47ec
REVIEWED: LoadShader() and default locations
...
Reviewed locations descriptions
2021-06-25 00:46:14 +02:00
Ray
3db26f82ea
WARNING: BREAKING: Functions renamed!
...
RENAMED: GetCodepoints() -> LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer.
ADDED: UnloadCodepoints() to safely free loaded codepoints
RENAMED: GetNextCodepoint() -> GetCodepoint()
2021-06-23 09:58:49 +02:00
Ray
429c5a9a9a
Review and un-expose InitTimer()
...
Actually it's not required for SUPPORT_CUSTOM_FRAME_CONTROL
2021-06-22 20:26:59 +02:00
Ray
7f2a071c51
Formatting review
2021-06-22 20:14:44 +02:00
Adrian Guerrero Vera
96d5dd24aa
core: added GetMouseDelta() ( #1832 )
...
* core: added `GetMouseDelta()`
Thanks to previousPosition added by raysan it is now possible to create the GetMouseDelta() function.
Returns a Vector2 with the difference between the current and previous position of the mouse in a frame.
Useful for creating camera scrolling, among others.
* Added changes noted by raysan
2021-06-21 00:11:27 +02:00
Ray
e07054d0d4
RENAMED: SwapBuffers() -> SwapScreenBuffer()
...
Avoid possible symbol collisions
2021-06-17 12:47:03 +02:00
Ray
19b71f5f13
WARNING: Exposed SUPPORT_CUSTOM_FRAME_CONTROL #1729
2021-06-17 12:17:50 +02:00
Ray
4decbb2586
RENAMED: MeshTangents() -> GenMeshTangents()
...
RENAMED: MeshBinormals() -> GenMeshBinormals()
2021-06-17 00:04:24 +02:00
Ray
b188008a1c
Review code formatting
2021-06-10 18:00:44 +02:00
Ray
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
Ray
b0dcdf688f
Reviewed functions description
...
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
Ray
d3387c952a
Reviewed Input variables and comments
2021-06-10 17:11:31 +02:00
Ray
3643974949
Corrected bug on enum
2021-06-10 11:38:02 +02:00
Ray
8980bcfe4b
Added some enum comments
2021-06-10 11:31:34 +02:00
raysan5
e95d8bc655
Minor format tweaks
2021-06-05 12:33:05 +02:00
Ray
e00d2439b9
WARNING: BREAKING: Consistency renamings
...
RENAMED: InitAudioStream() -> LoadAudioStream()
RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03 23:36:47 +02:00
Crydsch
edeaff4bd4
Better collisions ( #1803 )
...
* review collisions ray-box and ray-sphere
* Applied raysan's refactor
Improved GetRayCollisionBox
* Replace GetRayCollisionGround with GetCollisionQuad
* Update example core_3d_picking
* Update example models_loading
* Fixed issues after merge
* remove debug stuff
Co-authored-by: Cry dsch <chris.obo@gmx.net>
2021-06-03 20:15:27 +02:00
Marco G. Maia
1a7dace57e
Update docs for supported blend modes ( #1801 )
2021-06-01 15:00:19 +02:00
Ray
0870295a7c
RENAMED: enum Gestures -> Gesture
...
Consistency tweak
2021-05-31 20:40:27 +02:00
Ray
1c5de9721a
WARNING: BREAKING: RENAMED: RayHitInfo to RayCollision #1781
...
- RENAMED: RayHitInfo to RayCollision
- RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
2021-05-31 11:41:56 +02:00
Ray
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
Ray
e3ba11bead
Review some comments
2021-05-29 13:54:05 +02:00
Ray
7959d95db0
Review raylib structs comments
2021-05-25 23:19:03 +02:00
Ray
9f45fea31e
Remove line break in DrawTextRecEx()
2021-05-25 11:59:34 +02:00
Ray
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
Ray
5765b7895c
Minor comments tweaks
2021-05-22 14:35:10 +02:00
raysan5
60ca8acd0a
Update version to 3.8-dev to note breaking changes
...
Some breaking changes were introduced lately, it's better to note that current version is not 3.7 anymore...
2021-05-21 22:59:00 +02:00
Ray
23a08a483e
WARNING: RENAMED: IsMusicPlaying() -> IsMusicStreamPlaying()
2021-05-20 19:27:04 +02:00
Ray
e401d5c48e
WARNING: RENAMED: MeshBoundingBox() -> GetMeshBoundingBox()
...
Renamed for consistency with other function in raylib.
2021-05-20 19:24:28 +02:00
Ray
9360e4e2c1
Comment minor tweak
2021-05-20 19:14:42 +02:00
Ray
6bd63de8d0
Reviewed latest PR
...
REMOVED: DrawBillboardEx()
2021-05-11 01:02:53 +02:00
nobytesgiven
ac204a11f7
Redesigned billboards - added rotation/pro functions ( #1759 )
...
* Redesigned billboards - added rotation/pro functions
* updated parameters
Co-authored-by: nobytesgiven <nobytesigiven@github.com>
2021-05-11 00:55:43 +02:00
Lambert Wang
e39e45824d
Add RenderPolyLinesEx routine ( #1758 )
...
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-10 20:08:58 +02:00
Lambert Wang
2545f62565
Added support for additional mouse buttons ( #1753 )
...
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-08 18:26:24 +02:00
Ray
a41ed986bd
Expose RAYLIB_VERSION in raylib.h #1747
2021-05-04 11:20:47 +02:00
Ray
e5708a8f36
Comment tweak
2021-05-03 19:05:53 +02:00
Rabia Alhaffar
399894ac90
Fixed definition of UNCOMPRESSED_R8G8B8A8 ( #1740 )
2021-04-27 20:17:47 +02:00
Ray
a44815e939
REMOVED: GenMeshDefault()
2021-04-26 00:36:13 +02:00
Ray
7ad17386f6
Update raylib.h
2021-04-23 17:24:25 +02:00
Ray
dcf52c132f
Remove trail spaces
2021-04-22 18:55:24 +02:00
Ray
ac79d22a9b
Reviewed file comments
2021-04-21 00:41:55 +02:00
Ray
bb743e8c6e
ADDED: UpdateMeshBuffer()
2021-04-20 12:16:16 +02:00
Ray
b3f75b91ff
REDESIGNED: Vr stereo mode
2021-04-06 23:23:03 +02:00
Ray
84d0d21f23
Reviewed Vr stereo
2021-04-06 23:06:03 +02:00
Ray
71b86bf4d0
REDESIGNED: Vr stereo rendering
2021-04-06 22:49:41 +02:00
Ray
109d00cb14
Reorganized shaders functions
2021-04-06 13:10:12 +02:00
Ray
551944e15b
Minor comment tweaks
2021-04-06 13:04:15 +02:00
raysan5
b52cd8f605
Reorganized functions by module
2021-04-05 13:35:59 +02:00
raysan5
4c9d2e719e
Merge branch 'master' of https://github.com/raysan5/raylib
2021-04-04 14:59:29 +02:00
raysan5
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00
Rob Loach
d58b7b509e
Make SaveFile* callbacks return a boolean ( #1697 )
2021-04-03 08:56:42 +02:00
raysan5
c21baf0d92
ADDED: GenMeshDefault() #1556
2021-04-02 15:56:35 +02:00
raysan5
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
2021-03-31 20:44:16 +02:00
raysan5
23a764190e
ADDED: LoadShaderFromMemory() #1690
2021-03-28 20:12:48 +02:00
raysan5
bc6b16beb2
REVIEWED: DrawTexturePoly()
2021-03-28 20:07:59 +02:00
Ray
f9bab14fdb
REVIEWED: DrawMeshInstanced()
2021-03-26 00:12:29 +01:00
Ray
cba412cc31
WARNING: BREAKING: rlgl redesign -WIP-
...
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements:
- [models] OpenGL 1.1 mesh rendering: DrawMesh()
- [models] Mesh Instancing: DrawMeshInstanced()
- [models] Stereo rendering: DrawMesh()
- [models] GL_FLOAT, GL_UNSIGNED_INT exposed
- [models] GenMeshCustom()
- [rlgl] GenTexture*() functions removal?
2021-03-25 14:28:12 +01:00
chriscamacho
9569d6a802
Add DrawTexturedPoly and example ( #1677 )
...
* adds DrawTexturedPoly with example
* the actual example ... ahem
* moved DrawTexturePoly to textures function and example
NB function name changed to fit with other DrawTextureXXX functions
(no "d" )
Co-authored-by: codifies <you@example.com>
2021-03-25 14:22:10 +01:00
Ray
bb73a8089a
Reviewed DrawFPS() comment
2021-03-24 17:06:32 +01:00
Ray
9bea64b5e4
REMOVED: DrawGizmo()
...
This is a very simple and specific implementation that should be better addressed by the users
2021-03-24 17:02:40 +01:00
Ray
2ce28f75ad
WARNING: BREAKING: REDESIGNED: rlgl module
...
- Many functions renamed to follow rl*() convention
- Some internal functions exposed in the API
- Some functionality moved to other modules
- Reorganized all functions by categories
- Make sure it keeps working with OpenGL 1.1 and 2.1
2021-03-22 20:45:04 +01:00
Ray
24dae29a03
Review latest PR and some formatting
2021-03-22 20:41:33 +01:00
Jeffery Myers
2c0a533948
[AUDIO] Music Looping enhancements ( #1665 )
...
* Add loop functions for music files.
Tell xm tracker to loop tracker when loop state changes.
Don't let looped xm tracker streams restart, they are infinite
Use modulo to make time tracker for xm looped streams work correctly.
* Remove loop functions, set XM loop in update based on flag.
Formatting cleanups.
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-03-22 20:36:13 +01:00
Ray
ed4ca6a7f3
WARNING: BREAKING: rlgl module redesign -WIP-
...
- Some rlgl functions have been moved to core
- Some functions have been made internal to rlgl
- rlgl functions prefixed with rl*()
2021-03-21 01:29:31 +01:00
Ray
a76fcaba3e
BIG CHANGE: REDESIGNED: Vr device simulator #1582
...
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
2021-03-20 18:36:25 +01:00
Ray
5049137715
Added KEY_NULL #520
2021-03-20 13:08:13 +01:00
frithrah
2f367a905e
Changed DrawRing and DrawCircleSector angle params from int to float to allow greater accuracy. ( #1656 )
...
Co-authored-by: Simon <simon@frithrah.com>
2021-03-19 19:13:55 +01:00
Ray
3e25760950
REMOVED: GetMouseCursor()
...
This function could be confusing depending on the context, it's better to let the user track the current active cursor
2021-03-19 18:20:14 +01:00
Ray
8527dbc6e2
WARNING: REMOVED: GamepadNumber enum
2021-03-19 18:16:05 +01:00
Ray
07d82a91c5
WARNING: BREAKING: RENAMED: camera.type to camera.projection
2021-03-19 13:56:46 +01:00
Ray
a1d9987e7c
WARNING: BREAKING: REVIEWED some enums naming
...
Now enum names are more consistent between them.
2021-03-19 13:19:54 +01:00
Ray
664fbb87f5
REVIEWED: Material params #1649
...
Just assigned a fixed memory size for custom Material parameters in case of being required, so we shouldn't worry about allocating/freeing them.
2021-03-18 13:57:53 +01:00
Hristo Stamenov
bc9194690c
Implement UnloadModelAnimations ( #1648 )
2021-03-14 19:30:18 +01:00
Ray
01e28263be
WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistency
...
Some enums values have been renamed to be more consistent and also provide a more detailed description:
- ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION
- ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2
- MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO
- PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-14 11:05:51 +01:00
Ray
fe3256be9f
Renamed some functions to use latest raylib version
2021-03-12 18:00:36 +01:00
Ray
8a30a2408c
ADDED: Required callbacks
...
Removed memory allocation callbacks
2021-03-08 18:48:27 +01:00
Ray
0d096b43c2
Update some comments to warn users about callbacks
2021-03-04 20:44:22 +01:00
Ray
c4a7c702b4
FEATURE: Several callbacks added -WIP- #1523 #1329
...
NOTE: This feature is still under consideration and not complete.
2021-03-04 12:06:28 +01:00
Ray
dfe797060a
WARNING: BREAKING: RENAMED: enums values
...
RENAMED: TextureFilterMode values
RENAMED: TextureWrapMode values
2021-03-03 19:47:37 +01:00
Ray
408f5aedb8
WARNING: BREAKING: RENAMED enum values
...
RENAMED: CubemapLayoutType and NPatchType
2021-03-03 19:36:28 +01:00
Ray
bcc4418ff0
REVIEWED: GetFileExtension() to include the dot #1523
2021-03-02 01:07:08 +01:00
Agnis "NeZvērs" Aldiņš
209445ccde
LoadMusicStreamFromMemory ( #1606 )
...
* define SUPPORT_FILEFORMAT_MOD in config.h
* RLAPI LoadModuleFromData() definition in raylib.h
* LoadModuleFromData() definition in raudio.h
* LoadModuleFromData implementation in raudio.c
* Rename API to LoadMusicStreamFromMemory & default unload.
* raudio.c tabs to spaces
* Styling curly bracket and removing dev debugging TRACELOG
Co-authored-by: nezvers <agnis16@inbox.lv>
2021-02-22 19:45:52 +01:00
raysan5
0c63c7c907
Possible callbacks -WIP-
2021-02-14 16:47:08 +01:00
raysan5
090c790e50
Review formating for latest PR
2021-02-07 20:47:40 +01:00
raysan5
0f309b9b16
REMOVED: MeshNormalsSmooth() #1421
...
Current implementation is probably wrong and it should be reimplemented from scratch, in the meantime, I prefer to remove the function.
2021-02-05 19:49:05 +01:00
raysan5
62ccec0ac5
REMOVED: SetTraceLogExit()
...
I feel nobody has ever used this function...
2021-02-05 14:36:28 +01:00
Ray
3431d58586
Designing some callbacks -WIP-
2021-02-05 10:17:21 +01:00
raysan5
96db787657
REVIEWED: Gamepad system, specially for RPI
2021-01-31 03:07:26 +01:00
Ray
f4f208c4ae
ADDED: UploadMesh() #1529
...
Upload mesh data to GPU and get VAO/VBO identifiers
2021-01-22 12:16:19 +01:00
Ray
f2c0981c57
Review typo
2021-01-22 11:57:18 +01:00
Ray
18ab694f70
ADDED: SetGamepadMappings() #1506
2021-01-21 14:39:03 +01:00
Ray
eb7820b2b0
Review comment
2021-01-15 00:20:35 +01:00