aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-20Fixes path to rlgl.h in README.mdsunshinehunter
The link to rlgl in the README was broken, it previously pointed to a .c file which doesn't exist (anymore).
2018-08-19Merge pull request #629 from justinclift/keyboard_keys_v2Ray
Add the remaining numeric keypad keys, and a few other missing ones
2018-08-19Add the remaining numeric keypad keys, and a few other missing onesJustin Clift
2018-08-19Merge pull request #628 from justinclift/keyboard_keys_v1Ray
Add the plus and minus keys on both the main keyboard and keypad
2018-08-19Add the plus and minus keys on both the main keyboard and keypadJustin Clift
2018-08-17Corrected issue with batch overflowsRay
When a batch reach its vertex limit, a draw call is issued and batch restarted for refilling but if the draw call was issued for vertex data accumulated inside rlPushMatrix/rlPopMatrix, draw call was issued before the rlPopMatrix, consequently modelview matrix was not properly recovered before the draw call... obviously, it only happened the following draw calls, not the first one... Now it works ok but this system needs to reviewed, noticed and important frames drop when processing around 20 dynamic batch draw calls, it means filling MAX_QUADS_BATCH (8192) quads of data 20 times per frame, including data updating and sending for draw processing. Doing some maths, it means: Vertex data (float) -----> 8192 quads * 4 vertex * 3 comp * 4 byte = 393216 bytes Texcoords data (float) -> 8192 quads * 4 vertex * 2 comp * 4 byte = 262144 bytes Color data (uchar) -----> 8192 quads * 4 vertex * 4 comp * 1 byte = 131072 bytes Thats a total of 786432 bytes (0.75MB) sent to GPU 20 times per frame for processing... I'm testing in an Intel HD Graphics integrated, I imagine is too much data to be sent and and it causes stalls, so the frames drop...
2018-08-17Proper variables initializationRay
2018-08-17Working on batch reset issueRay
Corrected memory leak!
2018-08-16Merge pull request #625 from ChrisDill/masterRay
Raymath dllexport fix
2018-08-16Improved raymath definesChrisDill
- Using raylib.h as reference, added define checks for BUILD_LIBTYPE_SHARED and USE_LIBTYPE_SHARED.
2018-08-16Raymath dllexport fix if _WIN32 definedChrisDill
- Added check for dllexport to compile if _WIN32 defined. - If not defined then use the original RMDEF.
2018-08-16Raymath dllexport fixChrisDill
- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
2018-08-15Merge pull request #624 from ChrisDill/masterRay
Added Sublime Text 3 project template
2018-08-15Added Sublime Text 3 project templateChrisDill
- Added Sublime Text project file. - Added Sublime Text build system.
2018-08-14Renamed n-patch sampleRay
2018-08-14Review PR formattingRay
2018-08-14Merge pull request #622 from Joefish/rectcollision-optimRay
Shapes: Simplifies CheckCollisionRecs
2018-08-14Merge pull request #623 from Joefish/snake-fixRay
Games: Fixes bugs in Snake
2018-08-14Shapes: Simplifies CheckCollisionRecsJoseph-Eugene Winzer
By comparing the edges of the rectangles relative to each other we can determine if they intersect or not.
2018-08-13Games: Snake: Fixes snake head collision with fruitJoseph-Eugene Winzer
CheckCollisionRecs() returns true on edge-collision what means that the snake eats the fruit when colliding with it but also when sliding by one unit above or below the fruit.
2018-08-13Games: Snake: Fixes fruit spawn positionJoseph-Eugene Winzer
If the initial fruit position collides with the snake's body a new position for the fruit is generated but without adding the grid offset.
2018-08-13Merge pull request #620 from mackron/dr/mini_alRay
Update mini_al to 0.8.5.
2018-08-12Update mini_al.David Reid
This should improve the Raspberry Pi experience.
2018-08-09Merge pull request #616 from overdev/masterRay
[Feature Request] 9-patch drawing function
2018-08-08Update textures.cJorge A. Gomes
See raylib/examples/textures/textures_image_9patch.c for how to use `DrawTextureNPatch` function.
2018-08-08Update raylib.hJorge A. Gomes
2018-08-08Added example screenshot.Jorge A. Gomes
2018-08-08Added texture_image_9patch.c exampleJorge A. Gomes
2018-08-08Added 9-patch texture used in the example code.Jorge A. Gomes
2018-08-08Updated mini_alRay
Corrected issue with sound playing (pop sound at the end)
2018-08-07Update CONTRIBUTING.mdRay
2018-08-07Reviewed AnimatedModel structRay
Just reviewing for a possible adaptation of AnimatedModel to default raylib Model...
2018-08-06Reviewed spacings on latest PRRay
2018-08-06Merge pull request #618 from kimkulling/fix_compiler_warningsRay
Fix compiler warnings
2018-08-05Fix compiler warnings of libKim Kulling
2018-08-05Fix compiler warings in texture.c and more.Kim Kulling
2018-08-04Fix compiler warnings, first partKim Kulling
2018-08-03Update textures.cJorge A. Gomes
Added support form vertical and horizontal 3-patches. Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
2018-08-03Update raylib.hJorge A. Gomes
Added support form vertical and horizontal 3-patches. Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
2018-08-03Merge pull request #609 from pamarcos/fix_physac_examplesRay
[physac] Fix Physac examples to be run without creating new thread
2018-08-03Update textures.cJorge A. Gomes
Added DrawNinePatch() function implementation.
2018-08-03Update raylib.hJorge A. Gomes
Added NinePatch struc definition and function prototype.
2018-07-31Added VSCode project templateRay
2018-07-30Merge pull request #612 from ethan-tqa/masterRay
fix problem when compiling with MSVC 2017, error C2177
2018-07-30make sure that the constant is of float type, not doubleEthan Trịnh
2018-07-30fix problem when compiling with MSVC 2017, built-in CMake: C2177 constant ↵Ethan Trịnh
too big
2018-07-30Add CMake entry to projects/README.mdAhmad Fatoum
2018-07-29Sync with upstream GLFW pull requestAhmad Fatoum
The GLFW tree distributed with raylib has two modifications: - GLFW_PKG_{DEPS,LIBS} are exported to PARENT_SCOPE, so we can use them in our pkg-config file - An intermediary glfw_objlib target is added, so we can reexport GLFW symbols from libraylib.a rglfw can fix the second point, but for Wayland usage, we would have to replicate protocol generation, so we just leverage GLFW's existing support instead. To make maintenance easier, I have submitted a pull request for including these modifications to upstream GLFW. And to make that one easier, this patch dog-foods the modifications, so raylib users can help find regressions. :-) glfw/glfw#1307
2018-07-29Merge pull request #610 from pamarcos/fix_chdir_macosRay
[games] Prevent GLFW changing working dir to 'Resources'
2018-07-29Fix Physac examples to be run without creating new threadPablo Marcos Oltra