summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2021-03-02REVIEWED: Wait() to support FreeBSD #1618Ray
2021-03-02Some misc tweaksRay
2021-03-02REVIEWED: rlUnloadMesh()Ray
2021-03-02REVIEWED: rlUnloadMesh()Ray
2021-03-02REVIEWED: GetFileExtension() to include the dot #1523Ray
2021-03-02REVIEWED: rlUnloadMesh() #1615Ray
2021-03-02Review formattingRay
2021-03-02Add check to flip quaternion (#1624)masterex1000
2021-03-01REVIEWED: GetScreen*() #1570Ray
Now GetScreenWidth() and GetScreenHeight() return the current fbo width and height.
2021-03-01REVIEWED: CheckCollisionLines()Ray
2021-02-28Fixes gl state after HDR texture functions. (#1621)Jeffery Myers
Updates skybox demo to show how to do both HDR and non HDR skyboxes Co-authored-by: Jeffery Myers <[email protected]>
2021-02-26Review bug on OpenGL 1.1Ray
2021-02-25LoadMusicStreamFromMemory OGG support (#1613)Agnis "NeZvērs" Aldiņš
2021-02-24jar_xm_create_context_safe requesting const char* (#1611)Agnis "NeZvērs" Aldiņš
Fixing compiler warning for passing (unsigned char*) to (const char*)
2021-02-24Patch up GLTF Skeleton loading (#1610)Chris Sinclair
* Add support for u8 bone indicies when loading glTF * Fix segfault for glTF animations not keyframed at 0 When loading glTF animations we lerp between keyframes, and previously assume that if the frame we are considering has a later keyframe, there must be a previous keyframe. This is not true if the animation's first keyframe is some time into the animation. In this case we now effectively clamp to that first keyframe for any time prior to it. * Respect parent bones tranform when loading glTF animations We previously assumed that when loading glTF animations, the bones were ordered with those higher up the skeleton tree (i.e. closer to the root) came first in the list of nodes. This may not be true, so now we repeatedly loop, preparing each level of the skeleton tree one after the other, starting at the root level. This ensures that any parent transforms are applied before transforming any child bones. We also ensure that we have forced the loading of animation data before attempting to interpolate to generate the animation frames for use later, without this no animations are applied. Finally we remove the check that assumed the first node in the nodes list is the root, and use an invalid index value as the sentinal value for when a node has no parent. Previously this was 0, which made distinguishing between root nodes and children of the first node impossible.
2021-02-24LoadMusicStreamFromMemory wav mp3 flac support (#1609)Agnis "NeZvērs" Aldiņš
2021-02-22LoadMusicStreamFromMemory (#1606)Agnis "NeZvērs" Aldiņš
* 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 <[email protected]>
2021-02-21[models] Move vboId ALLOC/FREE to rlgl module #1603Ray
Actually, it seems more logical that rlgl takes care of OpenGL data than the models module... Also, models module loaded vertex data is unloaded by models module.
2021-02-20[Examples] Fix typecast warnings in examples. (#1601)Jeffery Myers
* Fixing typecast warnings generated by visual studio 2019 in examples. * Changes to fixes based on feedback Co-authored-by: Jeffery Myers <[email protected]>
2021-02-20Fixed DrawLineEx (#1598)Paul Jurczak
* Fixed DrawLineEx Corrected the issue https://github.com/raysan5/raylib/issues/1596 * Removed raymath dependency for DrawLineEx
2021-02-20Fixes to make rnet and it's examples build on Windows in visual studio 2019. ↵Jeffery Myers
(#1602) Mostly typecasts, and some int to unsigned short changes, and including the windsock 2 library in the examples. Co-authored-by: Jeffery Myers <[email protected]>
2021-02-20Fix warnings generated by Visual Studio 2019 in new model loading code. (#1600)Jeffery Myers
Co-authored-by: Jeffery Myers <[email protected]>
2021-02-20[Physics] Fix typecast warnings generated by visual studio 2019 (#1599)Jeffery Myers
* More warning fixes for physics and math * fix a crash introduced with the warning changed. Co-authored-by: Jeffery Myers <[email protected]>
2021-02-16check to make sure parent bone is not null before trying to compute its ↵Jeffery Myers
offset from the root (#1594)
2021-02-14[raudio] Fix load and unload issues with Music (#1588)Chris
* Add MUSIC_AUDIO_NONE to MusicContextType and format fixes - Useful to check the context type to see if the format is recognized. Defaulting to wav causes issues where formats are assumed to be wav. * Fix memory issues with LoadMusicStream and UnloadMusicStream - Set ctxType and ctxData even if the format fails to load. - Set ctxData to NULL if it fails and check for null inside UnloadMusicStream. - Change RL_MALLOC when loading formats to RL_CALLOC to prevent undefined behavior. - Add NULL check when unloading xm file.
2021-02-14Fix support of touchscreens for RPI (#1586)jpe230
-Checks for absolute pressure in absolute events to simulate a touch or a left mouse click. -Updates touch position on absolute events.
2021-02-14Update physac.hraysan5
2021-02-14Update core.craysan5
2021-02-14Possible callbacks -WIP-raysan5
2021-02-14Review some commentsraysan5
2021-02-09Fix spelling mistake (#1581)BrokenKeyboard
Sorry if this is a bit of a useless pr
2021-02-09Review some warnings and formattingraysan5
2021-02-09REMOVED: GetGamepadButton() internal funcraysan5
2021-02-08Poll inputs after frame sleep (#1573)masterex1000
2021-02-07Disabling WindowSizeCallback around fullscreen toggle. (#1480)hristo
* Disabling WindowSizeCallback around fullscreen toggle. #1294 fixed the issue that toggle fullscreen changes the screen size because of the WindowSizeCallback. The proposed edit by @raysan5 was to comment out WindowSizeCallback which I essentially simplified to disable the callback around the set window monitor functions. The developers using the ToggleFullscreen function should be aware that they need to size the screen correctly on that same frame. Otherwise they should check if fullscreen and size properly using the GetMonitorWidth and GetMonitorHeight functions. * Update core.c Fix issue from merge
2021-02-07Review latest PR formatingraysan5
2021-02-07Fix initialize GLFW's Joystick subsystem before window is created on Desktop ↵Gil Barbosa Reis
platforms (#1554) (#1572)
2021-02-07Review formating for latest PRraysan5
2021-02-07Fix wrong values shown for monitor width and height in pixels when ↵hristo
fullscreen is toggled. (#1479) This solves issue #1322 which in my opinion was prematurely closed. As the monitor resolution is expected to be the maximum that the monitor supports. My change is that as per GLFW documentation you can get all current video modes sorted by max resolution. When you toggle fullscreen the first video mode returned would be the current screen resolution setup but that doesn't help if you want to know the maximum supported.
2021-02-07REVIEWED: Multichannel sound system #1548raysan5
I don't like this solution but I think it's valid in the meantime....
2021-02-06REVIEWED: Replace GetImageData() by LoadImageColors()raysan5
2021-02-05REMOVED: MeshNormalsSmooth() #1421raysan5
Current implementation is probably wrong and it should be reimplemented from scratch, in the meantime, I prefer to remove the function.
2021-02-05REVIEWED: CloseAudioBufferPool(), uninit buffers properly #1548raysan5
2021-02-05REVIEWED: raudio: Some LOG_ERROR -> LOG_WARNING #1562raysan5
2021-02-05Update miniaudio to v0.10.32 #1562raysan5
2021-02-05REMOVED: SetTraceLogExit()raysan5
I feel nobody has ever used this function...
2021-02-05REVIEWED: DecompressData()raysan5
2021-02-05removed redundant call to eglGetConfig ↵kernelkinetic
(https://github.com/raysan5/raylib/issues/1550) (#1567)
2021-02-05REVIEWED: Gamepad issues on Androidraysan5
2021-02-05REVIEWED: DecompressData(), memory reallocationraysan5