Ahmad Fatoum
0adb4b67de
CMake: Build glfw separately with CMake
...
Makes it easier to support Wayland later on.
2018-05-11 01:24:27 +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
Ahmad Fatoum
f11fe80180
CMake: Use same message for symlink check and result
2018-05-10 23:07:25 +02:00
Ahmad Fatoum
b8ca51fd01
CMake: Don't create symlinks on unsupporting file systems ( #539 )
...
Panders to the idiosyncrasies of my work flow:
I have my raylib build directory mounted as a VirtualBox vboxfs for use
with my Linux VM, but vboxfs doesn't support symlinks, while raylib shared
library versioning on Unix expects symlinks to work.
If this happens, library versioning is now disabled on Unix with
an error message instead of just failing the build.
2018-05-10 21:03:43 +02:00
Ray
8ae8d3ac78
Reorganized project templates folder
2018-05-10 17:35:02 +02:00
Ray
f26a38a9e1
Merge branch 'master' of https://github.com/raysan5/raylib
2018-05-09 00:24:08 +02:00
Ray
9ea2a69bfd
Corrected issue on rectangle drawing
2018-05-09 00:23:56 +02:00
Ray
ac2dbba5b7
Update CHANGELOG
2018-05-08 23:35:21 +02:00
Ray
3a803ac95e
Removed unnecesary define
2018-05-08 23:04:13 +02:00
Ray
6884d3bc14
Merge pull request #531 from sherjilozair/patch_implicit_type
...
Patch implicit type
2018-05-06 22:52:51 +02:00
Sherjil Ozair
8e9ff75f1c
Use fabsf for floats, and avoid implicit type casting
2018-05-06 12:47:46 -04:00
Ray
04db494db0
Renamed shader variable
2018-05-06 00:44:59 +02:00
Ray
f14492432d
Avoid exposing native GLFW3 functionality
...
Try to avoid types conflict with Font
2018-05-04 23:03:56 +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
Ray San
6045062a05
Renamed some functions
...
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
2018-05-04 16:54:05 +02:00
Ray San
6324697ffd
Rectangle parameters changed to float
...
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
2018-05-04 16:25:31 +02:00
Ray San
9d103b7c2f
Removed line breaks from functions
...
Useful to parse raylib.h to generate raylib-lua and Notepad++
intellisense XML info
2018-05-03 19:19:35 +02:00
raysan5
198d739256
BREAKING CHANGE: Renamed Camera -> Camera3D
...
Just added a fallback in the meantime...
2018-05-01 12:31:03 +02:00
raysan5
400c345f96
Added tangent computation alternative method
...
As stated in the note, I'm not sure if math is right, just followed a
reference implementation...
2018-04-30 11:21:44 +02:00
raysan5
23e335d933
Implemented MeshTangents()
...
- Added Vector3OrthoNormalize() to raymath.h - not sure if it is correct
- Implemented MeshBinormals() - Mesh struct has not a place for them...
- Updated model_material_pbr example - tested but not working on my GPU
(old Intel HD), actually, it never worked on it...
2018-04-30 02:47:48 +02:00
raysan5
c51203ae7e
Corrected alpha blending on ImageDraw()
2018-04-29 18:39:57 +02:00
raysan5
dff1028466
Replaced ColorToFloat() by ColorNormalize()
2018-04-29 18:39:46 +02:00
raysan5
8d81b6e4e4
Support shapes drawing using only QUADS
...
Also added new compilation FLAGS for that pourpose
2018-04-29 12:53:32 +02:00
raysan5
ada6668b24
Expose file-dropping functions symbols
2018-04-29 11:49:10 +02:00
raysan5
ca5f7ebd10
Added compile flag: SUPPORT_SCREEN_CAPTURE
...
Allow compiling the library with support for automatic screen capture
(KEY_F12)
2018-04-29 11:37:39 +02:00
Ray
0045402c99
Corrected patreon link!
2018-04-23 20:59:10 +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
David Reid
f5ebbfb6bc
Merge branch 'master' of https://github.com/raysan5/raylib into dr/mini_al
2018-04-21 17:26:40 +10:00
Ray
847bdaf682
Implemented default mesh
...
In case mesh loading fails, a cube is generated instead!
2018-04-19 20:20:34 +02:00
Ray
76a6bf6c52
Review spacing for cosistency
2018-04-19 20:19:53 +02:00
raysan5
afda1d0815
Updated project to link default C lib statically
2018-04-15 19:50:00 +02:00
Ray
739df34f5e
Merge pull request #524 from TheLumaio/master
...
Add more key definitions
2018-04-14 01:15:20 +02:00
lumaio teon
5ef6cc1fb9
Add more key definitions
2018-04-13 17:14:04 -04: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
Ahmad Fatoum
8b0fef6c34
raymath: Workaround tcc inline function limitation
...
Reported in #435 , tcc generates out-of-line definitions for inline
symbols, something it shouldn't. This fix punishes tcc for that
by making applications it compiles (slightly) larger...
2018-04-11 10:43:27 +02:00
Ray San
4cc12ef2b3
Review camera definition on examples
2018-04-11 10:13:00 +02:00
Ray San
cc3b8645df
Updated release version
2018-04-10 10:37:48 +02:00
Ray
8e44f7b3c7
Reviewed config.h formatting
...
Added raylib version to config
2018-04-09 23:01:20 +02:00
Ray
54e24d905a
Init frame timming measure variables
2018-04-09 22:28:41 +02:00
Ray
cd616258c6
Merge pull request #522 from a3f/master
...
Refactor all #define SUPPORT_* into a config.h
2018-04-08 22:46:44 +02:00
Ray
9e7dedf5af
Merge pull request #521 from TheLumaio/master
...
Added GetCollisionRayModel
2018-04-08 22:28:19 +02:00
Ahmad Fatoum
1dbce35247
CMake: Generate config.h from CMakeOptions.txt
...
I would have liked config.h to be selected by include dir configuration,
but this way is less intrusive.
2018-04-07 23:39:53 +02:00
Ahmad Fatoum
1841afad11
Refactor all #define SUPPORT_* into a config.h
...
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461 ).
2018-04-07 23:37:48 +02:00
Ahmad Fatoum
d88523f03a
Split CMake options into separate CMakeOptions.txt
2018-04-07 22:41:43 +02:00
Milan Nikolic
3caa044bf2
Add GNUInstallDirs and USE_AUDIO/USE_WAYLAND options to CMake ( #518 )
2018-04-07 16:32:14 +02:00
lumaio teon
7bd0f8b28c
Fix mesh picking example
2018-04-07 04:00:06 -04:00
lumaio teon
d2cc5b88df
Removed useless GetCollisionRayMesh and libraylib.a
2018-04-07 03:49:56 -04:00