Commit Graph

188 Commits

Author SHA1 Message Date
raysan5 f31b87fae8 Remove ANGLE project
Actually, project just adds 50MB of ANGLE libraries not related to raylib.
Also reviewed UWP project to consume ANGLE from the NuGet package.
2020-04-07 17:43:21 +02:00
Ray 9eefcb7939 Update miniaudio.h 2020-02-19 12:19:41 +01:00
Ray df4b55d657 Comment fprintf() calls 2020-02-17 00:46:41 +01:00
Ray 8820baf5cc Update miniaudio.h 2020-02-13 11:41:33 +01:00
raysan5 28e12a6c6a [raudio] Update to latest miniaudio 0.10 2020-02-10 12:42:40 +01:00
Ray b4293edd70 Update GLFW to latest master 2020-02-06 16:30:48 +01:00
Ray 6c7685da3f Update external libraries 2020-02-06 16:29:57 +01:00
David Reid 7024628c65 Update to miniaudio 0.10 (#1092)
* Update to miniaudio 0.10

This replaces the old ma_pcm_converter with ma_data_converter.

At this time of this commit, miniaudio 0.10 is still in the testing
phase. To make it easier to update miniaudio.h during this period, I've
temporarily moved the @raysan5 Win32 customizations to raudio.c because
there may be quite a few updates to miniaudio.h during this time.

* Use miniaudio's built-in volume control.
2020-02-04 13:43:31 +01:00
Ray c715cae18d Some tweaks 2020-01-28 16:40:12 +01:00
Ray e932d23cf4 Update cgltf.h 2020-01-22 23:24:11 +01:00
raysan5 cff38308b7 Support custom allocator 2020-01-19 13:05:21 +01:00
raysan5 9c52a4932d Corrected issue with types 2020-01-19 12:49:33 +01:00
raysan5 edc1d2511d Review module to fit raylib conventions
Support custom allocators
2020-01-19 12:29:21 +01:00
raysan5 d797bb3e1c Support custom memory allocators 2020-01-19 11:42:16 +01:00
Ray 1eae4b483b Commented unnecessary printf()/puts() calls 2020-01-15 13:14:06 +01:00
illegalinstruction caa1f45643 Forcibly ensure .xm playback starts in the right place; fixes #1043. (#1045) 2019-12-21 13:02:54 +01:00
Ahmad Fatoum 2a64aa2abd external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}
We were doing this before, but it was deleted during the
last GLFW update. Readd it to fix the associated macOS CI failure.

Fixes: ea5cd42e6 ("Update GLFW to version 3.4")
2019-12-05 00:29:24 +01:00
Ray ea5cd42e6c Update GLFW to version 3.4 2019-12-01 13:30:02 +01:00
Ray 60e8511543 Update miniaudio.h to v0.9.8 2019-11-25 11:42:49 +01:00
raysan5 e25f4dca1f Update external libraries 2019-10-19 17:26:58 +02:00
Ray e5d5f6e367 Review possible memory leak with my_strndup() 2019-09-13 12:58:42 +02:00
Ray dec5f332ad Revert "Update tinyobj_loader_c.h"
This reverts commit 53b32f1c20.
2019-09-08 16:46:08 +02:00
Ray 53b32f1c20 Update tinyobj_loader_c.h 2019-09-05 13:15:47 +02:00
Ray 061294e4d1 Update miniaudio.h 2019-08-24 10:11:32 +02:00
raysan5 108f7f6fee Corrected small issue on miniaudio
ONly Neon processors
2019-08-08 10:32:42 +02:00
Ray 3d46297cc1 Update external libraries 2019-08-07 00:33:57 +02:00
Wilhem Barbier e660621389 Fix jar_xm_reset 2019-05-29 17:15:11 +02:00
Wilhem Barbier dec604bd71 Move jar_xm_reset to jar_xm.h 2019-05-23 16:40:15 +02:00
Ray cf4fde9456 Corrected bug on NEON 2019-05-16 16:10:52 +02:00
Ray 25ac9bfb28 Update dr_flac, dr_mp3, dr_wav to latest version 2019-05-16 15:31:33 +02:00
Ray 579d932551 Update miniaudio to v0.9.4 2019-05-16 15:30:41 +02:00
Ahmad Fatoum 4d8b9e595a external: glfw: Revert "Added WinMM library"
This reverts commit 4773de26a5.

which adds -lwinmm at the wrong place. It should be in the raylib
linker flags, not GLFW's.
2019-05-15 08:14:24 +02:00
Ray 4773de26a5 Added WinMM library
Required for high resolution timer
2019-05-07 22:56:38 +02:00
Ahmad Fatoum 36d8a648f0 external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}
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-04 22:28:21 +02:00
Reece Mackie 2de1f31821 UWP Support Overhaul (#819)
* 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-27 20:33:51 +02:00
Ray 0c567cd259 WARNING: Issues on web building
Found some issues when building for web using latest emscripten 1.38.30, traced the error and found that eglGetProcAdress does not return function pointers for VAO functionality, supported by extension.

It requires more investigation but now it works (avoiding VAO usage)
2019-04-23 18:10:38 +02:00
Ray 3aafa9d5ba Set a version for rGIF library 2019-04-23 16:01:38 +02:00
Ray 372d77957f Update STB libraries to latest version 2019-04-23 16:01:18 +02:00
Ray 8ed71b9d5a Some tweaks to custom memory management system 2019-04-23 14:51:32 +02:00
Ray 9835be7b7a Remove unnecesary GLFW deps (used by examples) 2019-04-23 14:50:58 +02:00
Ray c7907a203b Update miniaudio to v0.9.3 2019-04-22 20:32:11 +02:00
Ray cd934c9f66 Update GLFW to 3.3.1 2019-04-22 19:00:43 +02:00
Ray 802afe8fe5 Replaced size_t by unsigned int 2019-04-10 00:34:46 +02:00
Ray 3e806ad9d4 Reviewed data assignation 2019-04-01 00:15:45 +02:00
Ray a643dc4ca0 WARNING: Redesigned model struct for multi-meshes
This is quite a big change, Model struct has been redesigned to support multiple meshes and multiple materials, most 3d fileformats contain multiple meshes and reference multiple materials.

Consequently, multiple functions have been reviewed.

LoadOBJ(), LoadIQM(), LoadGLFT() now return a Model.

Current LoadOBJ() is not valid anymore, actually, tinyobj_loader_c library is considered for replacement.
2019-03-29 16:48:23 +01:00
Ray 76e968f6b7 Updated audio library: mini_al -> miniaudio 2019-03-12 11:54:45 +01:00
Ray d62652c5b2 Update cgltf library
Added some comments to loader function...
2019-02-18 18:46:17 +01:00
Ray c379e04628 Update mini_al.h 2019-02-12 13:01:43 +01:00
Ray 944a388b1b Include mini_al directly, no separate module 2019-02-12 12:18:01 +01:00
Ray d00b8f9ffc Updated external libraries 2019-02-12 00:25:21 +01:00