raysan5
b19e155b34
Support UNCOMPRESSED_R32G32B32A32 texture format
2017-12-28 17:58:37 +01:00
raysan5
c93bca8c27
Review Makefile config flags
...
Support external GLFW usage
Renamed some flags for consistency
2017-12-28 17:58:09 +01:00
raysan5
0bd06eec51
Renamed function to SetTraceLog()
...
I think is clearer this way...
2017-12-24 16:49:54 +01:00
raysan5
e517d8fd16
Added function SetTraceLogTypes()
...
Trace log messages could be configured with this function to select wich
ones are shown
2017-12-24 16:47:33 +01:00
raysan5
e574428343
Some formatting tweaks
2017-12-24 16:12:52 +01:00
raysan5
f44dbf21cf
Review physac timming system
2017-12-24 15:59:03 +01:00
Martinfx
9b7a24331d
Added next bsd os
2017-12-23 18:12:19 +01:00
Ray San
00c34a035c
Updated copyright year
2017-12-20 12:37:08 +01:00
Ray San
27c274bc3c
Corrected issue with SaveImageAs()
...
That function depends on SavePNG() and forces platform check on textures
module, that behaviour should be changed, platform definition should be
only required on core module...
2017-12-20 12:36:47 +01:00
Ray San
e8bb53ed35
Corrected issue on OpenGL ES compilation
2017-12-20 12:35:12 +01:00
Ray San
61afd07bd7
Force OpenAL backend on some platforms
...
OpenAL audio backend is being forced on HTML5 and OSX
2017-12-20 12:34:18 +01:00
Ray San
1320044e94
Review code formatting
2017-12-20 11:37:43 +01:00
Ray
b63ffcfa0f
Some code tweaks
...
Audio module requires a complete formatting review....
2017-12-20 00:34:31 +01:00
Ray San
5290390494
Expose GetTime() function to users
...
Monotonic time since InitWindow() could be retrieved with this function.
2017-12-19 14:06:54 +01:00
Ray
bc6ae93a48
Added some comments on GetTime()
...
Reviewing GetTime() functionality
2017-12-18 00:06:57 +01:00
Ray San
b155333178
Support audio module skip on compiling
...
Some programs like tools could not require audio support
2017-12-15 17:02:29 +01:00
Ray San
e17a9a8216
Updated mini_al to latest version
2017-12-15 17:01:50 +01:00
Ray San
53ad53d051
Manually review previous PR
2017-12-15 13:44:31 +01:00
user
2affac820e
make raylib not clash with windows-header
2017-12-14 11:52:45 +01:00
user
217917530b
fix for eventmarker missed in first cl
2017-12-14 11:51:17 +01:00
user
48d0c93ace
make GetTime available to user of library
2017-12-14 11:50:35 +01:00
user
b872de951b
fix for GetMatrixModelview (former cl)
2017-12-14 11:49:31 +01:00
user
d51f382ef8
optimized matrixrotate function by removing identity matrix
2017-12-14 11:48:33 +01:00
user
b5395b22cc
make raymath compiling with msvc in c++ mode
2017-12-14 11:47:52 +01:00
user
07b522c113
make matrix stack work closer to old opengl implementation
2017-12-14 11:46:38 +01:00
user
a7f2fedbfb
compilefix for function declaration (win only)
2017-12-14 11:45:47 +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
user
963551ee6e
added possibility to get modelview matrix from rlgl to be able to send it to shaders
2017-12-14 11:43:06 +01:00
user
69c8fa409a
fixed function declaration differ from implementation
2017-12-14 11:42:06 +01:00
user
54587d7fdb
proper if-clauses for disabling functionality in text.c
2017-12-14 11:41:31 +01:00
user
08fc886afd
added proper define checks for png-save if it's disabled
2017-12-14 11:40:08 +01:00
Ray
2388cbc3cd
Corrected crash on shader loading
...
If shader file could not be found on loading it crashed, instead added
fallback to default shader!
2017-12-13 20:10:13 +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
4a7840b752
Remove Meson build system
...
Less maintenance overhead that way,
given that make/CMake now also do library versioning.
2017-12-11 11:15:14 +01:00
Ahmad Fatoum
d24b89bb0e
Add library versioning to Make/CMake build systems
...
See #401 for the discussion.
Also bumps version number to 1.9.2 without the -dev,
because neither ELF nor MachO like such a suffix.
The -dev suffix will have to be restricted to the git tags.
2017-12-11 10:25:06 +01:00
Ahmad Fatoum
de78fa69bc
Fix CI builds after mini_al changes
2017-12-10 21:35:38 +01:00
Ahmad Fatoum
203b2f65d1
Fix typo in preprocessor macro
2017-12-10 21:11:04 +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 San
acbfba9250
Updated library features and dependencies
2017-12-05 13:22:26 +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
Ray
54d0acc3b6
Change version number for develop
...
Updated raylib version to 1.9-dev for development pourposes.
Next raylib version is planned to implement a big amount of changes, so
the version bump.
2017-12-05 00:05:05 +01:00
Ray San
0cd327ccb2
Moved QuaternionNlerp() function
2017-12-04 11:03:45 +01:00
David Reid
82f88e5df9
Potential fixes for Raspberry Pi.
2017-12-03 11:20:02 +10:00
Ray San
25a232a6f3
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
2017-11-30 16:59:13 +01:00
Ray San
9a7524661f
Removed GLFW3 linking and added rglfw
2017-11-30 16:59:09 +01:00
Martinfx
825d15b069
Fixed broken include for AppVeyor
2017-11-29 17:06:40 +01:00
Martinfx
69a1c19735
Fixed use ${LIBS_PRIVATE} for FreeBSD
2017-11-29 13:17:02 +01:00
Martinfx
2f471414c2
Added compile with cmake for FreeBSD
2017-11-29 00:05:39 +01:00
Martinfx
2cf37708c0
Added glfw support for FreeBSD
2017-11-29 00:04:29 +01:00
Ray San
c9722161d1
Support GetCurrentTime() on macOS
2017-11-27 12:46:40 +01:00
Ahmad Fatoum
f991a075e1
Build examples and games on Travis CI
...
They were disabled because they failed to build,
but this patch set fixes the build on Linux and macOS.
This doesn't apply to the AppVeyor build on Windows yet;
it currently fails at linking with OpenAL.
2017-11-25 21:45:31 +01:00
raysan5
853cc6f4c9
Added authorization token
2017-11-25 19:40:05 +01:00
Ahmad Fatoum
49c5a433df
Setup CMake package target and CI auto-deploy tags
...
cmake --build . --target package # or make package if make is used
can now be used to create binary packages for raylib.
AppVeyor and Travis CI are configured to push the artifacts
that result from building git tags to the related Github releases page.
2017-11-24 21:24:35 +01:00
Ahmad Fatoum
44376c04fa
Generate and install pkg-config pc file
...
After installation, compiling new programs is possible with
$ cc game.c `pkg-config --static --libs --cflags raylib`
or
$ cc game.c `pkg-config --libs --cflags raylib`
depending on configuration
Also adds following configuration options:
- WITH_PIC "Compile static library as position-independent code"
- STATIC_RAYLIB "Build raylib as a static library"
- MACOS_FATLIB "Build fat library for both i386 and x86_64 on macOS"
2017-11-24 17:15:33 +01:00
David Reid
a0d9913c7c
Potential fixes for audio on RPI and Emscripten builds.
2017-11-24 22:13:33 +10:00
David Reid
5463e14886
Audio: Fix a bug with AudioStreams.
...
This bug is a result of the buffer of an AudioStream being smaller than
that of a period of the backend playback device. In this situation,
AudioStream's would have pauses between buffer updates because the
backend is not able to re-fill the AudioStream buffer's quick enough
due to it's periods being longer than the AudioStream buffer.
2017-11-24 21:54:00 +10:00
Ahmad Fatoum
17c91bad6f
Disable CRT "secure" warnings
...
Suppresses 88 of the 213 warnings reported when compiling with
MSVC 2015 on AppVeyor.
2017-11-23 07:56:02 +01:00
Ahmad Fatoum
1e1b20c889
Add AppVeyor CI for automatic Windows Builds
...
We already have automatic Linux and macOS build via Travis CI.
This adds the same for Windows x86 and x86_64 with both
Microsoft Visual Studio 2015 as well as MinGW-w64.
2017-11-23 00:47:58 +01:00
Ahmad Fatoum
b2acff66de
Fix macOS build of new rglfw.c approach
...
There have been two problems:
* GLFW itself was compiled with the definitions for compiling
_against_ GLFW (fixed by removing requirement for external glfw)
* rglfw.c was being compiled as C code, although it includes
Objective C files.
This _might_ break the Windows build, needs to be checked.
Fixes #391 , but as noted I'd prefer though a separate source directory
and build script for GLFW.
2017-11-22 23:11:41 +01:00
Ahmad Fatoum
899e1fbd94
Avoid duplicate definition of feature macro
...
Feature macros need to be defined before #including any headers,
preferably through the build system, but this is good enough.
Fixes a compile error on my fork's Travis CI.
2017-11-22 22:58:18 +01:00
Ray San
1be826fb16
Removed useless file
2017-11-22 17:30:09 +01:00
Ray
25ceec9b8f
Corrected default textures locations
...
By default, we look for texture1 for LOC_MAP_SPECULAR and texture2 for
LOC_MAP_NORMAL
2017-11-22 14:56:45 +01:00
David Reid
8b3694a34d
Fix a crash in audio mixing code.
2017-11-22 18:36:48 +10: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
f9144ac5b0
Rename a variable for consistency.
2017-11-18 12:15:48 +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
David Reid
60d7215b2a
mini_al: Unify the buffer system for Sounds and AudioStreams.
2017-11-18 08:42:14 +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
Ray San
a6416f82a7
Reviewed file comments
2017-11-16 17:59:35 +01: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
322d868841
Fix minor errors with the OpenAL backend.
2017-11-14 21:44:57 +10:00
David Reid
88d2810fa3
Bug fixes for Music with mini_al.
2017-11-14 21:15:50 +10:00
Ray
68024f1b0b
Added desktop platform check...
...
...to define proper values
2017-11-13 21:37:00 +01: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
ac4c911ad7
Work on porting Music to mini_al.
2017-11-12 21:55:24 +10:00
David Reid
68bf6c9701
Initial work on porting AudioStream to use mini_al.
2017-11-12 20:59:16 +10:00
raysan5
24b12e5e23
Remove PLATFORM_ checks from raylib header
...
Now header is truly multiplatform...
Actually still a small pending check on XBOX gamepad controls that
hopefully will be removed with next GLFW 3.3
2017-11-12 11:45:35 +01:00
raysan5
02dd4d32b5
Allow custom distortion shader - IN PROGRESS -
2017-11-12 11:00:28 +01:00
raysan5
09228752ce
Review default shaders usage on loading
2017-11-12 10:33:44 +01:00
David Reid
b0852002b8
Rename SoundInternal to SoundData for consistency with MusicData.
2017-11-12 14:54:37 +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
Wilhem Barbier
7ef604fbf5
Store the default shaders
2017-11-09 20:47:22 +01:00
Ray San
37986b26cb
Corrected issue with text drawing on image
2017-11-06 14:13:50 +01:00
Ray San
2f024dbfef
Corrected possible issue on FBO creation
...
USE_DEPTH_RENDERBUFFER on OpenGL 2.1
2017-11-06 13:58:11 +01:00
Ray San
81518ccd13
Corrected issue with shader locations init
...
On RPI, after latest drivers update, models were not rendered properly
cause of that...
2017-11-06 13:41:13 +01:00