Commit Graph

907 Commits

Author SHA1 Message Date
Wilhem Barbier
fcd13fd5d2 Add some functions to generate images
Namely:
- GenImageHorizontalV
- GenImageHorizontalH
- GenImageChecked
- GenImageWhiteNoise
- GenImageCellular

The gradient implementation may be a bit naive, for example it doesn't do any gamma correction.
2017-06-28 12:56:04 +02:00
Ray
8c1f32f2fe Additional check on file open 2017-06-12 14:21:50 +02:00
Ray
5370fe18e0 Additional check for bool header definition 2017-06-11 23:58:46 +02:00
Michael Vetter
272073785f Add define to have CLOCK_MONOTONIC work in c99
If we compile with c99 without gnu extensions (gnu99) we need this
define, to have CLOCK_MONOTONIC and similar macros available
2017-06-11 11:20:30 +02:00
Michael Vetter
1a61dc2c77 Meson: build library with so version
This should always be the number of the raylib release.
Especially when the new version is ABI incompatible the major version
should be bumped.
2017-06-08 17:03:25 +02:00
Ray
9dd3c03153 Merge pull request #297 from jubalh/meson
Initial meson support
2017-06-08 13:19:41 +02:00
raysan5
402a8bfd68 Added note about transposing 2017-06-05 18:53:53 +02:00
raysan5
43cb6414f6 Added note about transposing 2017-06-05 18:53:37 +02:00
Michael Vetter
567831a693 Allow static/dynamic library building with meson
Using the library() function instead of shared_library() allows changing
of the library type via the default_library option.
This allows for easy change between static and dynamic library building.

Use 'meson --default-library=static builddir' to build as static, if no builddir yet exists.
Use 'mesonconf -Ddefault_library=static builddir' to change the type for
an existing builddir.
2017-06-05 14:35:44 +02:00
Michael Vetter
9c524ee3a6 Add meson files for basic Linux building 2017-06-05 14:34:47 +02:00
Michael Vetter
6809380d3d Accept external CFLAGS
Some distributions build the programs with a specific set of CFLAGS.
Lets allow that by adding raylibs flags.
2017-05-29 19:00:53 +02:00
raysan5
f54501a355 Review gif recording (simplified) 2017-05-27 14:40:05 +02:00
raysan5
d0190af69f Renamed file (issues with Makefile) 2017-05-22 20:47:17 +02:00
Ray
413d059fd8 Some tweaks and additions 2017-05-19 00:55:02 +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
Ray
9b24120cd9 Updated libs 2017-05-18 19:24:24 +02:00
Ray
e01a1ba10c Support Gif recording 2017-05-18 18:57:11 +02:00
Ray
9f50c6e611 Added gif file writter library
Setup for a new amazing feature! ;)
2017-05-17 16:01:55 +02:00
Ray
9819614276 Comments tweaks 2017-05-17 00:33:40 +02:00
Ray
a5bfd7db22 Some reviews for RPI 2017-05-16 15:23:01 +02:00
Ray
87a3970222 Move android_native_app_glue to folder 2017-05-15 18:06:26 +02:00
Ray
5f09c71f98 Review comments for better organization 2017-05-15 11:30:09 +02:00
Ray
fb0f2fd181 Moved Android header to external folder 2017-05-14 18:33:15 +02:00
Ray
01e65664dd Reviewed some comments... 2017-05-14 18:32:47 +02:00
Ray
32e5e20734 Update to latest OpenAL Soft version (1.18.0-dev)
Note that Android and Desktop versions of OpenAL Soft come from the same
sources, recompiled for every platform
2017-05-14 18:32:27 +02:00
Ray
026f9829e5 Review header comments 2017-05-14 18:30:51 +02:00
Ray
a63ad0fec4 Remove OculusSDK library
Just waiting for a better future alternative (multiplatform)... OpenXR ?
2017-05-14 18:30:21 +02:00
Ray
edb9e4159d Remove ndk-build based src building
Replaced by standaloane-toolchain based building, included in
src/Makefile
2017-05-14 18:29:05 +02:00
Ray
fd5c36fc32 Avoid math function duplicates 2017-05-11 17:22:25 +02:00
Ray
3d6c1f3f4f Remove useless files 2017-05-11 17:08:33 +02:00
Ray
518bdfc134 Some work on Android build 2017-05-11 16:45:49 +02:00
Ray
35fe34ba0f Added some useful functions 2017-05-11 16:24:40 +02:00
Ray
93e2fd8ea1 Some tweaks 2017-05-10 19:37:48 +02:00
Ray
16842233c9 Review issue and added some comments 2017-05-10 19:34:57 +02:00
Ray
0880be638e Renamed RayHitInfo variables 2017-05-10 00:57:48 +02:00
Ray
7f6b16add4 HDR textures vertical flip 2017-05-09 22:32:21 +02:00
Ray
bac50fbba5 Review functions descriptions 2017-05-09 22:03:46 +02:00
Ray
321027a242 Added comments to create transparent framebuffer
Comments to create transparent framebuffer on RPI,
when activate you see though full screen window the console below!
2017-05-09 18:11:02 +02:00
Ray
4c27412eff Corrected issue #281 2017-05-09 09:33:32 +02:00
Ray
f05d6dfc3c Some comment tweaks
Still some work left on camera...
2017-05-08 21:16:46 +02:00
Ray
fd1fe3ac14 Lock cursor on first person camera 2017-05-08 21:03:48 +02:00
Ray
35c6aff21f Corrected bug on HDR loading 2017-05-08 12:50:24 +02:00
Ray
50c887cb0a Support HDR R32G32B32 float textures loading 2017-05-08 12:31:47 +02:00
Ray
822c2ddad5 Some defines tweaks for consistency 2017-05-08 02:47:44 +02:00
Ray
83aba22e49 Improved hi-res timer on Win32 2017-05-08 02:37:37 +02:00
Ray
a522914183 Included required paths for web compilation 2017-05-08 01:33:34 +02:00
Ray
3861bc80f2 StopMusicStream() review 2017-05-08 00:55:47 +02:00
Ray
39732d04ec Comments review 2017-05-08 00:55:26 +02:00
Ray
0ebd8b0f6e Review Android compiling 2017-05-08 00:47:15 +02:00
Ray
3bdf367711 Support model.transform
Combine it with transform introduced as function parameters
2017-05-04 17:42:24 +02:00