Ahmad Fatoum
c1b9104d54
Makefile: Remove unnecessary -no-pie for older GCC support
Currently, if:
* GCC doesn't supports -no-pie: Build error
* GCC supports -no-pie
* GCC is not configured with --enable-default-pie: No-op
* GCC is configured with --enable-default-pie:
Slightly worse performance because we still generate -fpie code
(-pie affects linker, -fpie affects compiler)
So instead of probing for existence of -fno-pie -no-pie, remove it altogether.
Fixes #540 : Build breakage on Debian 8 with gcc 4.9.
7 years ago
Ahmad Fatoum
2d6fb5c628
Revert "CMake: Build glfw separately with CMake"
This reverts commit 0adb4b67de6dfe3f7a0a557130dffc3b8f4d6a43,
because it failed tests for Alien::raylib:
http://www.cpantesters.org/distro/A/Alien-raylib.html
7 years ago
Ray
245704df72
Reviewed examples
7 years ago
Ray
0790171125
Updated raylib_icon resource
7 years ago
Ray
aa76985c0d
Review raylib version to 2.0
Review raylib_icon resource
7 years ago
Ahmad Fatoum
281dbf5d83
Merge pull request #538 from a3f/master
CMake+CI: Add Wayland configuration
7 years ago
Ahmad Fatoum
a0f9c2b1eb
Travis CI: Test Wayland configuration as well
7 years ago
Ahmad Fatoum
7243cebad1
Travis CI: Test building with external GLFW
7 years ago
Ahmad Fatoum
0adb4b67de
CMake: Build glfw separately with CMake
Makes it easier to support Wayland later on.
7 years ago
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 7ef34eb06d
tree except
for tests/ examples/ and docs/
7 years ago
Ahmad Fatoum
f11fe80180
CMake: Use same message for symlink check and result
7 years ago
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.
7 years ago
Ray
8ae8d3ac78
Reorganized project templates folder
7 years ago
Ray
f26a38a9e1
Merge branch 'master' of https://github.com/raysan5/raylib
7 years ago
Ray
9ea2a69bfd
Corrected issue on rectangle drawing
7 years ago
Ray
ac2dbba5b7
Update CHANGELOG
7 years ago
Ray
3a803ac95e
Removed unnecesary define
7 years ago
Ray
6884d3bc14
Merge pull request #531 from sherjilozair/patch_implicit_type
Patch implicit type
7 years ago
Sherjil Ozair
8e9ff75f1c
Use fabsf for floats, and avoid implicit type casting
7 years ago
Ray
04db494db0
Renamed shader variable
7 years ago
Ray
f14492432d
Avoid exposing native GLFW3 functionality
Try to avoid types conflict with Font
7 years ago
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...)
7 years ago
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
7 years ago
Ray San
6324697ffd
Rectangle parameters changed to float
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
7 years ago
Ray San
9d103b7c2f
Removed line breaks from functions
Useful to parse raylib.h to generate raylib-lua and Notepad++
intellisense XML info
7 years ago
raysan5
198d739256
BREAKING CHANGE: Renamed Camera -> Camera3D
Just added a fallback in the meantime...
7 years ago
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...
7 years ago
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...
7 years ago
raysan5
c51203ae7e
Corrected alpha blending on ImageDraw()
7 years ago
raysan5
dff1028466
Replaced ColorToFloat() by ColorNormalize()
7 years ago
raysan5
8d81b6e4e4
Support shapes drawing using only QUADS
Also added new compilation FLAGS for that pourpose
7 years ago
raysan5
ada6668b24
Expose file-dropping functions symbols
7 years ago
raysan5
ca5f7ebd10
Added compile flag: SUPPORT_SCREEN_CAPTURE
Allow compiling the library with support for automatic screen capture
(KEY_F12)
7 years ago
Ray
0045402c99
Corrected patreon link!
7 years ago
David Reid
3ca5047c82
Update mini_al.
7 years ago
David Reid
af4d23aa82
Update mini_al.
7 years ago
David Reid
24cab8f920
Update mini_al.
7 years ago
David Reid
0febaa2446
Update external audio libraries.
7 years ago
David Reid
f5ebbfb6bc
Merge branch 'master' of https://github.com/raysan5/raylib into dr/mini_al
7 years ago
Ray
847bdaf682
Implemented default mesh
In case mesh loading fails, a cube is generated instead!
7 years ago
Ray
76a6bf6c52
Review spacing for cosistency
7 years ago
raysan5
afda1d0815
Updated project to link default C lib statically
7 years ago
Ray
739df34f5e
Merge pull request #524 from TheLumaio/master
Add more key definitions
7 years ago
lumaio teon
5ef6cc1fb9
Add more key definitions
7 years ago
Ahmad Fatoum
3f59bdfc76
mini_al: Use WinAPI interlocked ops with tcc
Seems tcc doesn't provide __sync_*. See #435 .
7 years ago
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...
7 years ago
Ray San
4cc12ef2b3
Review camera definition on examples
7 years ago
Ray San
cc3b8645df
Updated release version
7 years ago
Ray
8e44f7b3c7
Reviewed config.h formatting
Added raylib version to config
7 years ago
Ray
54e24d905a
Init frame timming measure variables
7 years ago