Ahmad Fatoum
46c0e73c6c
README.md: add link to raylib bindings list
6 years ago
Ahmad Fatoum
c4b7d17516
CMake: report what kind of libraries will be built
6 years ago
Ahmad Fatoum
2981713e4f
CMake: accept standard -DBUILD_SHARED_LIBS as well
-DBUILD_SHARED_LIBS=OFF == -DSHARED=OFF -DSTATIC=ON
-DBUILD_SHARED_LIBS=ON == -DSHARED=ON -DSTATIC=OFF
Fixes #626 .
6 years ago
Ray
93f68fa612
Merge pull request #655 from a3f/master
core: workaround window not being rendered till moved on macOS Mojave
6 years ago
Ahmad Fatoum
1fe6d9fc06
core: workaround window not being rendered till moved on macOS Mojave
Apple ought to fix their OpenGL implementation, but with OpenGL now
deprecated this might not happen.
This has been reported upstream in GLFW in glfw/glfw#1334.
The workaround comes from kovidgoyal/kitty@b82e74f99
This also fixes the HiDPI (Retina) scaling issues reported in #497 ,
so the workaround is enabled anywhere __APPLE__ is defined.
6 years ago
Ahmad Fatoum
6572d5ff8c
raylib.h: include <stdbool.h> if available
Previously, if <raylib.h> was #included prior to another header that
defined bool, the compilation would fail.
This is e.g. the case for <perl.h> and <objc/objc.h> which both fall
back to the <stdbool.h> if C99 is available.
The following commit includes <objc/objc.h> in src/core.c, which causes
the same problem.
Avoid this by checking for C99 bool like we already do for C++'s.
6 years ago
Ahmad Fatoum
a56b3c2194
CMake: suppress OpenGL deprecation warnings on macOS Mojave
A single warning at configuration time is enough.
6 years ago
Ray
35ee4fa685
Merge pull request #653 from pamarcos/physac_fix
[physac] Fix physac's fixed time step
6 years ago
Pablo Marcos Oltra
35634f37c8
Fix physac's fixed time step
6 years ago
Ray
589152b658
Review void pointer incrementation
6 years ago
Ray
d67edb591a
Support KXT image file export
[textures] Added SaveKTX()
[rlgl] Exposed rlGetGlTextureFormats()
6 years ago
Ray
ecb787d76f
Update version number (internally)
6 years ago
Ray
47fab2f54d
Merge pull request #650 from ChrisDill/master
Added monitor functions
6 years ago
ChrisDill
67dc50ef00
Changed monitor functions to use a index
- Using same idea as SetWindowMonitor to take in a index with 0 being the primary monitor.
6 years ago
ChrisDill
6b84b76b70
Forgot #else in platform check
- Added else so return not compiled twice.
6 years ago
ChrisDill
ed95337eb8
Added platform check
- Added PLATFORM_DESKTOP check for Monitor functions to try to fix issue on android.
- Not sure what return types should be when not on desktop. Added rough guess for now.
6 years ago
ChrisDill
ed79d53e1a
Changed tabs to spaces
- Fixed tabs used instead of 4 spaces
6 years ago
ChrisDill
73701c12b2
Merge remote-tracking branch 'upstream/master'
6 years ago
ChrisDill
1836e02c1e
Added monitor functions
- Get number of monitors
- Get size, physical size and name of primary monitor. Could pass monitor id instead not sure.
6 years ago
Ray
29eddb9ff3
Updated icon data
6 years ago
Ray
abfbc42df7
PNG image size optimization
6 years ago
Ray
d1e5b4b546
New icon generation
Size reduced 91%
6 years ago
raysan5
756065d42c
Review iconography
WIP
6 years ago
Ray
9e046a4293
Merge pull request #646 from MurrayIRC/master
Linux Support for VSCode Project
6 years ago
Murray Campbell
9c6a98aa61
Merge pull request #6 from MurrayIRC/MurrayIRC-vscode
Linux Support for VSCode Project
6 years ago
Murray Campbell
d17c323f98
Update tasks.json
6 years ago
Murray Campbell
65c74c7cfa
Update c_cpp_properties.json
6 years ago
Murray Campbell
46b171a80c
Update Makefile
6 years ago
Murray Campbell
4757ead493
Update launch.json
6 years ago
Murray Campbell
c015529088
Merge pull request #5 from raysan5/master
merge
6 years ago
Ray
9efe5c6802
Support MP3 wave loading -NOT TESTED-
6 years ago
Ray
be599a9ece
enjoy!
6 years ago
Ray
27c3afd91c
enjoy!
6 years ago
Ray
2bd18ab91e
Support ExportImage() as raw pixel data
Added note on KTX 2.2
6 years ago
Ray
f503fded67
Support image export
6 years ago
Ray
ec5c9686b3
Improved data export capabilities!
REVIEWED: ExportImage()
REVIEWED: ExportMesh()
ADDED: ExportWave()
REMOVED: Internal funcs: SavePNG(), SaveBMP()
NOTE: These changes break the API (parameters order)
6 years ago
Ray
3a1a489545
Removed TABS
6 years ago
Ray
5b09630d45
Update mini_al to v0.8.8
Some minor tweaks around
6 years ago
Ray
f32e23c11b
Merge pull request #641 from ChrisDill/master
Added a few missing functions to raymath
6 years ago
ChrisDill
1e1bbaa40b
Added a few missing functions to raymath
- Added Vector2MultiplyV
- Added Vector2DivideV
- Added Vector3Divide
- Added Vector3DivideV
6 years ago
Ray
37acf0aa22
Update README.md
6 years ago
Ray
1ef715ab76
Merge pull request #639 from ratkingsminion/patch-1
Update models.c
6 years ago
F.H
9f1489dc1d
Update models.c
fix bug with GenMeshPlane() creating too many vertices/texcoords/normals for the plane mesh
6 years ago
Ray
dfb8837c46
Support aliased font texture generation
Useful for bitmaps pixelated fonts where anti-aliasing is not desired!
Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
6 years ago
Ray
1fcb3c0317
Started working on IQM/glTF loaders
6 years ago
Ray
10c22c8d61
Review example to show text tinting
6 years ago
Ray
ac31f51c5e
Corrected issue with font tint
6 years ago
Ray
d0608b031a
Corrected issue with types
6 years ago
Ray
57dfe55759
Merge pull request #637 from MurrayIRC/master
Updated VSCode project to support OSX building / debugging.
6 years ago
Murray Campbell
f97bb085bf
Merge pull request #4 from MurrayIRC/patch-4
Added OSX build tasks
6 years ago