aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-05-15Corrected issue with multi-mesh obj modelsRay
Note that all meshes are loaded as a single one at this moment, loading should be improved!
2019-05-15Corrected issue with texture flip XRay
2019-05-15external: glfw: Revert "Added WinMM library"Ahmad Fatoum
This reverts commit 4773de26a50c29ae918e306c9936ad9d4ebf80aa. which adds -lwinmm at the wrong place. It should be in the raylib linker flags, not GLFW's.
2019-05-15CMake: add winmm.dll as Windows dependencyAhmad Fatoum
Fixes: e0e2346c2266 ("NO SUPPORT_BUSY_WAIT_LOOP by default")
2019-05-14Corrected web issueRay
2019-05-12Update CMakeLists.txtraysan5
2019-05-10Add WinMM library for linkageraysan5
Now it's required on Windows if not using a busy wait loop
2019-05-10Fixed DrawTextRecEx() selection when wordwrap is ONDemizdor
2019-05-09Make code a bit clearer for beginnersRay
2019-05-09Add comment in CheckCollisionSpheres()Ray
2019-05-08Update models.cProfJski
2019-05-08Update CheckCollisionSpheres() to avoid sqrtProfJski
Square root calls are computationally expensive. In this case, they can be avoided. Instead of checking distance<RadA+RadB, check distance squared against (RadA+RadB) squared. The dot product of Vector3Subtract(B,A) with itself gives distance squared, so I used this code instead of an element-by-element computation of distance squared. The only downside is that your geometric code is very readable, whereas this is less so.
2019-05-08Remove trail spacesRay
2019-05-07Added WinMM libraryRay
Required for high resolution timer
2019-05-07Tweak ON flagRay
2019-05-07Added resource file for raylib.dllRay
Some minor tweaks
2019-05-07Review CMake option flagsRay
2019-05-07NO SUPPORT_BUSY_WAIT_LOOP by defaultRay
2019-05-07Add comment tweakRay
2019-05-06Corrected issue with wrong text measuringRay
2019-05-06Avoid warnings pre-evaluating valuesRay
Variable operations inside the functions should be evaluated before the function operations.
2019-05-04CMake: don't use system GLFW headers if using built-in GLFWAhmad Fatoum
This fixes the current CI failure.
2019-05-04external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}Ahmad Fatoum
We were doing this before, but it was deleted during the last GLFW update. Readd it to fix the associated macOS CI failure. Fixes: cd934c9f6 ("Update GLFW to 3.3.1")
2019-05-03Some minor commentsRay
2019-05-03Force HighDPI on macOSRay
2019-05-03Add SUPPORT_HIGH_DPI to CMakeOptions.txtShiqing
2019-05-02Work on touch_as_mouse input -WIP-Ray
2019-05-01Added guards to PI defineNarice
Added guards to not redefine it if the user is using it with raylib.h also added an 'f' at the end of the define to keep compliant with raylib's PI define
2019-05-01Defined PI (#822)Narice
PI is not always defined in math.h, thus it must be defined in this header
2019-05-01Corrected issue with texture renderingRay
Not sure if already corrected...
2019-05-01WARNING: Support high DPI displaysRay
This change could break things. So, I created SUPPORT_HIGH_DPI flag to enable it (disabled by default). Basically, it detects HighDPI display and scales all drawing (and mouse input) appropiately to match the equivalent "standardDPI" screen size on highDPI. It uses screenScaling matrix to do that. This scaling comes with some undesired effects, like aliasing on default font text (keep in mind that font is pixel-perfect, not intended for any non-rounded scale factor). The only solution for this aliasing would be some AA postpro filter or implementing the highDPI scaling in a different way: rendering to a texture and scaling it with FILTER_BILINEAR, check `core_window_scale_letterbox.c` example for reference. Use at your own risk.
2019-04-28Review formatting to follow raylib styleraysan5
2019-04-28Fix webReece Mackie
2019-04-28This is dumb...Reece Mackie
2019-04-28Why does visual studio keep using tabs!!!Reece Mackie
2019-04-28Fix tabsReece Mackie
2019-04-28Add another UWP comment for clarityReece Mackie
2019-04-28Formatting changesReece Mackie
2019-04-28Merge branch 'master' into gamepad-reworkReece Mackie
2019-04-28Some formatting reviewraysan5
2019-04-28Expose enable/disable backface cullingraysan5
Some tweaks on BeginVrDrawing()
2019-04-28WARNING: Functions renamedraysan5
Two functions have been renamed for coherence; previous naming was confusing for several users: - DrawPolyEx() ---> DrawTriangleFan() - DrawPolyExLines() ---> DrawLineStrip()
2019-04-27Fix mergeReece Mackie
2019-04-27Review UWP implementationraysan5
Basically, formating review and some variables naming to follow raylib conventions.
2019-04-27Line cleaningReece Mackie
2019-04-27More work, UWP now supports it and deleted old gamepadsReece Mackie
2019-04-27Merge branch 'master' into gamepad-reworkReece Mackie
2019-04-27First gamepad stuffReece Mackie
2019-04-27UWP Support Overhaul (#819)Reece Mackie
* Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
2019-04-25Reverted HiDPI changes, they break 2D mode on HiDPI :(Ray