Ray
d00b8f9ffc
Updated external libraries
2019-02-12 00:25:21 +01:00
Ahmad Fatoum
c3d2b1b184
glfw: Update GLFW to current master
...
glfw/glfw@5595fa3ae6 implements a proper fix for the macOS Mojave
problem of OpenGL windows not being rendered until moved or manually
updated.
Pull in the current master and rebase the three patches we have on top:
- two commits we have for reuse of the GLFW CMake build system for Wayland
It hasn't yet to be acknowledged upstream.
- one commit removing #include <windows.h> in glfw3native.h to avoid
duplicate declarations.
Fixes #655 and #665 .
2019-01-08 09:03:22 +01:00
Ahmad Fatoum
f719de4bf8
external: glfw: Ignore {docs/examples/tests}/ directories
2019-01-08 09:03:22 +01:00
raysan5
9740b1eb70
Update mini_al to latest version (Web Audio / AAudio backends)
2019-01-01 20:52:57 +01:00
Ray
4ec4dc691f
Use stb_vorbis.h as header only
2018-12-21 00:17:44 +01:00
Ray
69ae794465
Updated stb libs to latest version
2018-11-27 09:23:30 +01:00
Ray
bc8d3f30ec
Updated to latest mini_al
2018-11-23 17:02:54 +01:00
Ray
31d0fd820d
Avoid program crash on audio device fail
2018-11-20 11:27:10 +01:00
Ray
de02f14283
Updated mini_al
2018-11-17 10:04:12 +01:00
Ray
f7667aad8d
Reviewed audio issues
...
- Updated dr_mp3 and implemented it
- Reviewed sampleCount vs frameCount
- Reviewed XM playing (some weird things...)
2018-10-31 17:04:24 +01:00
Ray
8a88e65a94
Update src/external/dr_mp3.h
2018-10-17 19:37:53 +02:00
Ray
555fdec958
Corrected issues with VS2017 compilation
2018-10-09 00:20:39 +02:00
Ray
717cf77129
Corrected issue with dirent.h inclusion...
...
...and MacOSX OBJC types definition...
2018-10-08 18:38:39 +02:00
Ray
2652e7d1c1
Avoid multiple gl.h inclusions
...
Expose native Cocoa Window again...
2018-10-08 18:08:39 +02:00
Ray
81d28c5784
dirent.h implementation for MSVC
...
This implementation is a bit limited, does not support wide characters directories but it's a temporal solution...
This solution uses "io.h" (like MinGW provided one) while other modern solutions use the "windows.h", that result in duplicate symbols issues... need to review it carefully.
2018-10-08 16:55:01 +02:00
Ray
6e4bd60978
Trying to include dirent.h for MSVC
2018-10-08 16:25:47 +02:00
Ray
2feea87b61
Multiple changes, check description
...
REVIEW: Reorganized global variables for consistency
ADDED: GetWindowHandle() to get native window handle
ADDED: GetDirectoryFiles() to get files list for a DIR
2018-10-08 12:29:02 +02:00
Ray
5b09630d45
Update mini_al to v0.8.8
...
Some minor tweaks around
2018-09-14 12:47:31 +02:00
Ray
1fcb3c0317
Started working on IQM/glTF loaders
2018-09-05 10:59:05 +02:00
David Reid
3200b23469
Update mini_al.
...
This should improve the Raspberry Pi experience.
2018-08-12 13:45:12 +10:00
Ray
7634cbeb22
Updated mini_al
...
Corrected issue with sound playing (pop sound at the end)
2018-08-08 18:26:05 +02:00
Ahmad Fatoum
286c41af52
Sync with upstream GLFW pull request
...
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-29 23:56:16 +02:00
Ray
6efb89c51e
Updated to latest mini_al dev
2018-07-16 19:21:54 +02:00
Ray
43178f3488
Updated mini_al to latest dev version
...
Corrects issue with audio on RPI
2018-07-11 16:39:26 +02:00
David Reid
8651e14955
Update mini_al with a fix for macOS.
2018-07-07 10:36:19 +10:00
Ahmad Fatoum
7f040009ee
Add null statement after goto label to pacify CI
...
Fixes : #568
2018-07-06 02:30:38 +02:00
David Reid
b7d7704098
Update mini_al to version 0.8.
2018-07-05 23:12:20 +10:00
David Reid
6c96fa6301
Update external audio libraries.
2018-07-05 22:57:45 +10:00
David Reid
1d354bc704
Merge branch 'master' of https://github.com/raysan5/raylib into dr/mini_al
2018-07-05 22:33:16 +10:00
Ahmad Fatoum
61747508b0
CMake: Reuse libraries found by glfw CMake config
...
if (${PLATFORM} MATCHES "Desktop")
target_link_libraries(${RAYLIB}_shared glfw ${GLFW_LIBRARIES})
was never true because PLATFORM STREQUAL "PLATFORM_DESKTOP"...
This fixes #551 and makes the changes suggested in #552 (commited as 965cc8ab )
unnecessary.
2018-07-03 21:35:27 +02:00
Ray San
b588af5ce2
Corrected breaking build
2018-06-12 10:45:00 +02:00
Ray
c7d6a44e33
Update GLFW to latest dev version (master branch)
2018-06-02 18:26:29 +02:00
Ray
0148432588
fabsf() not working with TCC
...
Replaced by fabs() that seem to work ok
2018-05-28 00:48:45 +02:00
David Reid
f1b624d38b
Update mini_al.
2018-05-21 20:39:19 +10:00
David Reid
6d8cc250bd
Merge branch 'master' of https://github.com/raysan5/raylib into dr/mini_al
2018-05-21 20:26:28 +10:00
Ahmad Fatoum
0f1aaa474a
CMake: (Properly) build glfw separately with CMake
...
This reverts commit 2d6fb5c628 ,
and adds a fix for Alien::raylib's test failures.
The tests failed because the resulting static library didn't reexport
GLFW symbols. As a fix, we now have GLFW create a CMake "object library"
target that we can link with both the static and shared raylib.
This is arguably ugly... Proper fix would probably be a GLFW upstream
object library target.
Closes #536 .
2018-05-12 18:38:20 +02:00
Ahmad Fatoum
0df501be91
Add GLFW source tree to src/external
...
We need the CMake stuff for wayland configuration.
Otherwise, we would have to replicate that ourselves.
This is the full 7ef34eb06de54dd9186d3d21a401b2ef819b59e7 tree except
for tests/ examples/ and docs/
2018-05-10 23:07:26 +02:00
Ray San
ec33e7d705
BREAKING CHANGE: Renamed SpriteFont type to Font
...
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
2018-05-04 16:59:48 +02:00
David Reid
3ca5047c82
Update mini_al.
2018-04-22 07:24:18 +10:00
David Reid
af4d23aa82
Update mini_al.
2018-04-21 22:13:02 +10:00
David Reid
24cab8f920
Update mini_al.
2018-04-21 20:39:31 +10:00
David Reid
0febaa2446
Update external audio libraries.
2018-04-21 18:57:00 +10:00
Ahmad Fatoum
3f59bdfc76
mini_al: Use WinAPI interlocked ops with tcc
...
Seems tcc doesn't provide __sync_*. See #435 .
2018-04-11 11:29:49 +02:00
Ray
3e0de31424
Merge pull request #504 from Martinfx/master
...
Fix potential bugs from static analysis
2018-04-02 18:10:38 +02:00
maficccc@gmail.com
ca9e652f8b
Remove dead assignment
2018-04-02 13:30:19 +02:00
maficccc@gmail.com
e659336c11
Fix value stored to 'num_channels' is never read
2018-04-02 13:30:19 +02:00
David Reid
a8e2c7de9c
Fix an infinite loop in ALSA backend of mini_al.
2018-03-20 18:39:21 +10:00
David Reid
4a69c2d75e
Fix a buffer overflow in the OSS/BSD backend.
2018-03-18 14:37:41 +10:00
raysan5
3b4a64f2d6
Updated GLFW library to latest version
2018-03-03 15:58:44 +01:00
Ahmad Fatoum
3f48ffb1b6
Fix two memory leaks in jar_xm.h
...
Found by LeakSanitizer in #494 .
2018-02-26 00:14:19 +01:00
Ahmad Fatoum
1430d01906
jar_xm: Workaround for unaligned pointer accesses
...
jar_xm.h does some shady pointer casts leading to unaligned accesses
and breaking strict aliasing. x86 has special circuitry for doing
unaligned accesses, but on other architectures, it may trap and require
kernel fix-up or crash outright. With this patch, one obstacle in
porting raylib to the GameBoy Advance has been removed. Go for it ;-)
To avoid having to rewrite that `mempool' code, insert padding before
structs and instruct the compiler (GCC, most importantly), to be gentle
when optimizing.
This fixes #490 (Unless we got ourselves 256-bit pointers, if so,
hello future!)
2018-02-24 23:59:56 +01:00
Ray
11612fce27
Reviewed timming system for macOS
...
Apparently, before macOS Sierra version, clock_gettime was not available, using MATCH timming system instead
2018-02-20 10:30:51 +01:00
Ahmad Fatoum
09b022305f
mini_al: Support {Net,Open}BSD OSS
...
Fixes this build failure:
http://www.cpantesters.org/cpan/report/a069fade-0e1f-11e8-a1cf-bb670eaac09d
2018-02-11 12:20:17 +01:00
Ray
f72b315cb6
Updated external libraries
2018-02-09 00:01:00 +01:00
Ahmad Fatoum
f955b2255d
GLFW: Fix build error on Linux < v2.6.39
...
Cherry-pick from upstream glfw/glfw#1196
Found in CPANtesters test of Alien::raylib:
http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192
2018-01-27 14:53:04 +01:00
Ray
8e0a277f7c
Reviewed UWP branch integration
2018-01-19 12:02:15 +01:00
Ray
750323da53
Merge branch 'develop' into testing_uwp
2018-01-19 11:41:51 +01:00
Ray San
e17a9a8216
Updated mini_al to latest version
2017-12-15 17:01:50 +01:00
user
0e18b14605
added debug-event-markers for opengl so that you're able to set markers for renderdoc or other gpu debuggers what your program is currently doing
2017-12-14 11:44:48 +01:00
Ray
a6f9cc5629
Remove rres support
...
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
Ahmad Fatoum
de78fa69bc
Fix CI builds after mini_al changes
2017-12-10 21:35:38 +01:00
raysan5
5ae2c0d15b
Added Wayland support
...
Updated to latest GLFW library and working on Wayland support, still
looking how to implement it on raylib because it just exposes
PLATFORM_DESKTOP and defaults to X11 windowing system on Linux...
2017-12-09 19:05:42 +01:00
Ray San
3b5a26099e
Removed OpenAL Soft dependency on building
...
OpenAL Soft backend is still available in audio module, I'm thinking if
exposing it for building in some way or just left it there for advance
users to switch to it manually in case of necessity...
2017-12-05 14:01:35 +01:00
Ray San
33eec31575
Updated external libraries dependencies
...
Added dr_wav for a future use
2017-12-05 13:23:04 +01:00
Ray
9d0ee6c2f6
Merge pull request #413 from mackron/dr/mini_al
...
mini_al integration
2017-12-05 11:23:16 +01:00
David Reid
104391f82b
Update mini_al.
2017-12-05 18:49:00 +10:00
David Reid
82f88e5df9
Potential fixes for Raspberry Pi.
2017-12-03 11:20:02 +10:00
David Reid
a0d9913c7c
Potential fixes for audio on RPI and Emscripten builds.
2017-11-24 22:13:33 +10:00
Ray San
1be826fb16
Removed useless file
2017-11-22 17:30:09 +01:00
David Reid
c71b01c8ac
Update mini_al with fixes for OpenSL and SDL backends.
2017-11-21 06:35:38 +10:00
David Reid
14b889be41
Update mini_al with a potential fix for HTML5.
2017-11-20 21:47:07 +10:00
David Reid
3238cba47c
Log the name of the playback device.
2017-11-19 19:38:23 +10:00
David Reid
49e945f958
Update mini_al with fixes and improvements for Emscripten.
2017-11-19 12:15:01 +10:00
David Reid
84ef860443
Update mini_al with experimental support for SDL/Emscripten.
2017-11-18 22:30:20 +10:00
David Reid
3be83dac7e
Update mini_al.
2017-11-18 11:51:51 +10:00
David Reid
b9bb80d004
Add some logging and update mini_al.
2017-11-18 10:27:44 +10:00
Ray San
6d317c7afe
Remove glfw3 dependency
...
Full sources already included and compiled with raylib (rglfw)
2017-11-17 18:43:39 +01:00
Ray San
e2e4b8df28
Remove unneeded glfw dependencies
...
Only required by examples
2017-11-17 18:42:39 +01:00
Ray San
a6877c82c6
Added alternative license to rgif.h library
...
Just in case of legal conflict with public domain software, added MIT
alternative license.
2017-11-17 18:30:19 +01:00
David Reid
261b00e9e8
Update mini_al.
2017-11-17 21:12:05 +10:00
David Reid
96be62e88b
Update mini_al.h
2017-11-16 21:49:45 +10:00
David Reid
e03afbf2fa
Add support for pitch shifting.
...
This commit should bring the mini_al backend up to feature parity with
the OpenAL backend.
2017-11-15 22:04:23 +10:00
David Reid
88d2810fa3
Bug fixes for Music with mini_al.
2017-11-14 21:15:50 +10:00
David Reid
3a96a66fdf
Bring up to date with changes to mini_al.
2017-11-13 21:46:29 +10:00
Ray San
9c65caea8c
Added GLFW sources to raylib
...
Compiling GLFW library with raylib avoids external dependencies, this
way we solve version problems in some platforms
2017-11-13 12:09:41 +01:00
David Reid
e52f4282d6
Update comments.
2017-11-12 22:57:31 +10:00
David Reid
75433a670e
Initial work on adding support for mini_al.
2017-11-12 14:17:05 +10:00
Ray San
b6b58991e6
Working on UWP support
...
Support Universal Windows Platform (UWP):
- Windows 10 App
- Windows Phone
- Xbox One
2017-11-10 12:37:53 +01:00
Ray San
3c3d56bb4a
Renamed data types to standard names
2017-11-03 12:40:46 +01:00
Ray San
d302316e51
Reorganize release and dependencies
2017-10-11 11:22:49 +02:00
Ray San
9000fc28a3
Keep working on Android shared libs...
2017-10-04 12:51:53 +02:00
Ray San
1288d6a5df
Updated android_native_app_glue
2017-10-02 13:06:34 +02:00
Ray San
ea0decece8
Updated OpenAL Soft headers
2017-10-02 13:06:19 +02:00
Ray San
144b0ed695
Renamed gif writting library
2017-10-02 13:06:04 +02:00
Ray
fb334e2fd1
Testing shapes generation using additional library
2017-09-02 17:42:22 +02:00
raysan5
2ec8880197
Updated stb libs to latest version
2017-08-04 12:58:39 +02:00
raysan5
53fbeeea71
Corected some issues with jar_xm
...
Problems when compiling with VS2015
Probably DEBUG(...) macro is not the best naming...
2017-07-08 14:19:27 +02:00
Wilhem Barbier
a0ac8ee2c4
Add more image generation functions: radial gradient and perlin noise
2017-06-28 15:29:56 +02:00
raysan5
f54501a355
Review gif recording (simplified)
2017-05-27 14:40:05 +02:00
Ray
afb841b7dd
Reverted to previous OpenAL version
...
Issues when pausin musing and trying to resume (not resuming!)
2017-05-18 23:26:20 +02:00