-
f2a675ae53
Reviewed Makefiles...
...
- Renamed VERSION to RAYLIB_VERSION
- Renamed API_VERSION to RAYLIB_API_VERSION
- Renamed RAYLIB_RELEASE to RAYLIB_RELEASE_PATH
- Support Web Assembly compilation on PLATFORM_WEB
2018-01-15 13:54:06 +01:00
Ray
278d8575bd
Added new function: ImageAlphaCrop()
2018-01-11 10:22:32 +01:00
Ray
c37d2d448d
Corrected issue with matrices
...
Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
2018-01-08 01:03:04 +01:00
Ray
fcb0cae605
Use busy wait loop
...
If not using busy wait loop, linkage with WINMM in Windows platform is
required
2018-01-07 23:55:23 +01:00
Ray
4dcc02ff1e
Launch draw call if buffer limits reached
...
Note that this solution is a temporal patch, not properly tested and
prone to fail, specially if matrix are pushed into the stack...
2018-01-07 23:54:11 +01:00
raysan5
e4be917d1b
Added new image functions
...
- Added: ImageAlphaClear()
- Added: ImageAlphaPremultiply()
- Reorganized some functions
2018-01-07 00:51:26 +01:00
raysan5
b97134c3e1
Review float pixel format textures support
2018-01-06 18:17:38 +01:00
raysan5
7caa3201d5
Improved pixel formats support
...
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
2018-01-06 13:43:48 +01:00
raysan5
1f0f8c33fa
Added function declaration
2018-01-06 02:51:28 +01:00
raysan5
7fa2861160
Added function: GetPixelDataSize()
...
Just found I need that function...
2018-01-06 02:50:20 +01:00
raysan5
0e48396369
Corrected issue with new functionality
...
Using default font texture as base white texture for rectangles reduces
draw calls considerably, actually, raygui can be drawn with a single
pass!
2018-01-06 02:44:47 +01:00
raysan5
b760f16f9b
Reviewed framebuffers cleaning
...
Issues when dealing with FBOs
2018-01-06 02:43:38 +01:00
raysan5
1a82e1ab26
Added function GetFileName()
...
Review comments
2018-01-02 02:26:05 +01:00
raysan5
e1baae0249
Removed function DrawRectangleT()
...
Functionality integrated in DrawRectangle() and selectable with config
flag USE_DEFAULT_FONT_TEXTURE
2018-01-01 16:54:32 +01:00
raysan5
e69424c86f
Reviewed text input
2017-12-31 23:50:22 +01:00
raysan5
e7cf03b1e4
Minor tweaks
2017-12-28 19:27:02 +01:00
raysan5
7965f983ba
Support Wayland display on Linux desktop
2017-12-28 18:14:39 +01:00
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
Wilhem Barbier
879c2f484b
SetShaderValue take const pointer
2017-11-05 21:57:29 +01:00
Ray
aa6a1b4283
Corrected issue with missing defines
2017-11-05 09:58:25 +01:00
Ray
d43af4918b
Improve textures support for OpenGL 2.1
2017-11-04 16:57:46 +01:00
Ray
9e0105a1a3
Corrected function name
2017-11-04 16:57:20 +01:00
Ray San
244007a99b
Review Fade() functionality
2017-11-03 12:41:03 +01:00
Ray San
3c3d56bb4a
Renamed data types to standard names
2017-11-03 12:40:46 +01:00
Ray San
3d755d617a
Some code tweaks...
2017-11-02 20:08:52 +01:00
Ray San
415e7e972c
Review some issues, view description
...
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
2017-10-30 13:51:46 +01:00
Ray
743cc6add6
Review new build platform: FreeBSD
...
Corrected issue with RPI_CROSS_COMPILE
2017-10-30 00:14:13 +01:00
Ray
52cd0395b4
Merge pull request #373 from Martinfx/master
...
Added support FreeBSD
2017-10-28 22:22:04 +02:00
Martinfx
47c7f3624f
Added support FreeBSD for example
2017-10-28 18:41:29 +02:00
Martinfx
b3110c14fe
Added support FreeBSD
2017-10-28 17:30:02 +02:00
Ray San
ab01cd45bc
Review rlReadTexturePixels()
...
Improve second option to retrieve texture data from fbo...
Still requires some testing...
2017-10-25 12:46:26 +02:00
Ray San
31c8c86d8e
Comment tweak...
...
...while reviewing GetTextureData() functionality on OpenGL ES 2.0
2017-10-25 12:33:44 +02:00
Ray
539a9ca50e
Corrected ImageTextEx()
...
- Added new function: GenImageColor()
ImageDraw() should be reviewed... specially alpha blending...
2017-10-25 01:24:17 +02:00
Ray
cbe0dcedfe
Corrected issue with ttf font y-offset
2017-10-25 00:30:58 +02:00
Ray
ad31730b6a
Added cross-compiler RPI libs
2017-10-22 20:00:38 +02:00
Ray
368b0320c6
Added resource config file
2017-10-22 11:07:17 +02:00
Ray San
df67e799dd
Updated release versions for raylib 1.8
2017-10-20 17:14:58 +02:00
Ray San
86df9168e7
Updated raylib VS2015 project
2017-10-19 14:14:18 +02:00
Ray San
1474172b4a
Updated for raylib 1.8
2017-10-19 13:25:51 +02:00
Ray San
7057d08369
Review VR functionality
...
To be more generic and configurable
2017-10-17 13:32:15 +02:00
Ray San
a6ccc14d39
Corrected issue with OpenAL Soft static
2017-10-16 13:37:10 +02:00
raysan5
4909f9711c
Small tweak, remove tabs
2017-10-14 12:25:36 +02:00
raysan5
5430d5d52e
Review Makefiles
2017-10-14 00:13:23 +02:00
Ahmad Fatoum
107294f3e6
Fix bug, add some whitespace
2017-10-13 13:55:01 +02:00
Ahmad Fatoum
cd6d752217
Fix warning about unsequenced modification of variable
...
Variable t was read and modified without interleaving sequence points,
technically undefined behavior. Report by Clang's -Wunsequenced
2017-10-12 19:51:21 +02:00
raysan5
8928248c71
Review comments about raylib
2017-10-12 14:07:31 +02:00
Ray San
399d4b5f46
Check to avoid bool redefinition
2017-10-11 13:29:01 +02:00
Ray San
7114c1b1f3
Updated compilation output paths
2017-10-11 13:28:38 +02:00
Ray San
d302316e51
Reorganize release and dependencies
2017-10-11 11:22:49 +02:00
Ray San
9000fc28a3
Keep working on Android shared libs...
2017-10-04 12:51:53 +02:00
Ray San
412c52499a
Reverted change that breaks 3D drawing
...
It should be reviewed more carefully...
2017-10-04 12:13:32 +02:00
Ray San
ddea9d68bf
Review VR simulator
...
Requires some work, distortion shader could be move out of raylib to
example code...
2017-10-04 12:11:40 +02:00
Ray San
ca0ff82046
Keep working on Makefiles...
2017-10-03 15:02:32 +02:00
Ray San
b2789949ee
Working on Makefiles...
2017-10-02 14:12:03 +02:00
Ray San
1288d6a5df
Updated android_native_app_glue
2017-10-02 13:06:34 +02:00
Ray San
ea0decece8
Updated OpenAL Soft headers
2017-10-02 13:06:19 +02:00
Ray San
144b0ed695
Renamed gif writting library
2017-10-02 13:06:04 +02:00
Ray
4f9de9527f
Review gradient rectangle drawing
...
Added: DrawRectangleGradientV()
Added: DrawRectangleGradientH()
2017-09-30 00:46:31 +02:00
Ray
1c7416910e
Default to OpenAL static lib
2017-09-29 23:44:31 +02:00
Ray San
ccd6271a7f
Added some compiler flags for Android
2017-09-29 13:57:00 +02:00
Ray San
c45eeb8024
Code tweaks and comments for Android
2017-09-29 13:56:37 +02:00
Ray
2068037417
Code tweak
2017-09-26 00:51:31 +02:00
Michael Vetter
4a406fa94b
Increment version in meson build file
...
Increment raylib version and so lib version number.
2017-09-25 12:15:48 +02:00
raysan5
b0f033b43a
Some work on rres...
2017-09-23 19:30:42 +02:00
Ray
4a8644e999
Update Android libs and building
2017-09-23 18:40:30 +02:00
Ray
ff9b486ebe
Removed matrix resetting...
...
to emulate OpenGL funcionality
2017-09-22 13:53:29 +02:00
raysan5
20968830c0
Added mesh generation functions
2017-09-18 00:59:22 +02:00
Ray
1d91a46008
Corrected out-of-bounds array issue
2017-09-13 22:23:24 +02:00
raysan5
f3f6d3fd8e
Added new functions
...
SetWindowTitle()
GetExtension()
2017-09-08 09:35:54 +02:00
Ray
fb334e2fd1
Testing shapes generation using additional library
2017-09-02 17:42:22 +02:00
raysan5
12cb3afd9e
Added function DrawRectangleGradientEx()
...
Moved function DrawRectangleT() from text module to shapes
Added some comments
2017-08-27 21:02:24 +02:00
ASDF
e173db19f7
CMake based build system.
...
Some people might find this handly
2017-08-27 13:28:02 -04:00
raysan5
0fc1323c80
Renamed modelviewprojection matrix
2017-08-25 01:43:55 +02:00
raysan5
b0adac96b7
Review issue with mipmaps setup
...
On DDS files mipmapCount header parameter could be unused and set to 0,
resulting in a wrong mipmap count and wrong compressed texture loading.
2017-08-24 20:33:30 +02:00
Michael Campagnaro
18bf0ac044
Fix typo in raymath.h
2017-08-23 22:55:43 -04:00
raysan5
88839b093c
Added function DrawRectangleT()
...
Usefult to draw rectangles using default font texture
2017-08-06 10:44:50 +02:00
raysan5
0169b72bdc
Minor tweaks
2017-08-06 10:43:43 +02:00
raysan5
6369b47f11
Force OpenGL 3.3 on OSX if selected OpenGL 2.1
2017-08-04 19:18:55 +02:00
raysan5
eeca607506
Review transforms to match OpenGL 1.1
2017-08-04 18:34:51 +02:00
raysan5
2ec8880197
Updated stb libs to latest version
2017-08-04 12:58:39 +02:00
Benjamin Summerton
71d9426565
Make physac work on OS X
...
Physac wasn't working on OS X. It looks like the necessary timing code wasn't being compiled in by the preprocessor.
fixes #340
2017-07-30 23:56:58 -04:00
Ray
d071418cba
Added Vector3MultiplyV()
...
To multiply Vector3 by Vector3
2017-07-28 20:58:38 +02:00
Ray
2a263f7b5f
Corrected compilation on OpenGL ES 2.0
2017-07-28 19:59:04 +02:00
raysan5
c764b3d03e
Some tweaks
2017-07-25 18:10:07 +02:00
raysan5
b2712b6db7
Corrected issue on QuaternionFromVector3ToVector3()
2017-07-23 17:29:51 +02:00
raysan5
f57367e786
Implemented some changes
2017-07-23 13:20:35 +02:00
raysan5
a766e2c480
Updated Vector math to new naming
2017-07-22 22:15:50 +02:00
raysan5
3655c6e466
Renamed Vector*() functions to Vector3*()
...
For consistency!
2017-07-22 22:13:26 +02:00
raysan5
2227742e96
Corrected bug on texture rotation
2017-07-22 18:10:34 +02:00
raysan5
cbb134946c
Corrected GetMouseRay() and rlUnproject()
...
Now it works great with reviewed maths
2017-07-22 11:02:40 +02:00
raysan5
c756227e11
Remove BOM from file encoding
2017-07-22 10:44:24 +02:00
raysan5
00d2768bc9
Corrected bug on MatrixPerspective()
...
Some other tweaks...
2017-07-22 10:35:49 +02:00
raysan5
c6cd07c373
Some tweaks raymath related
2017-07-21 17:46:44 +02:00
raysan5
e52032f646
Complete review of raymath
...
Now it should be coherent with OpenGL math standards
2017-07-21 17:19:28 +02:00
raysan5
38d9fcb08e
Moved some functions to raymath
...
Exposed some raymath useful functions to raylib API
2017-07-21 15:25:35 +02:00
raysan5
980d9d4cd4
rlgl usable as standalone library
2017-07-21 10:42:57 +02:00
raysan5
84aff31973
MatrixPerspective() angle required in radians
...
Consistent with similar functions in raymath
2017-07-21 10:42:41 +02:00
raysan5
2679c4ae9b
Review mesh loading and textures generation
2017-07-21 09:34:09 +02:00
raysan5
63fd96354e
Simplify a bit GenTexture*() functions
...
Still shader dependant, locations set should be moved out
2017-07-20 14:27:59 +02:00
raysan5
4c06725461
Removed useless functions
...
SetMaterialTexture() and UnsetMaterialTexture()... too shader
dependant...
2017-07-20 14:27:17 +02:00
raysan5
52cd5c6324
Corrected some issues
...
Corrected compilation for OpenGL 1.1
Review mesh data uploading to GPU
2017-07-20 12:26:25 +02:00
raysan5
0dabb2708b
Reorganized a couple of functions
2017-07-19 19:53:53 +02:00
raysan5
76c6f0b1e6
Working on PBR system
...
Moved PBR material loading to example, right decision?
2017-07-19 18:55:32 +02:00
Ray
e8b65422c4
Merge pull request #329 from define-private-public/328.shared-library-on-os-x
...
Able to make a .dylib for OS X
2017-07-19 10:14:36 +02:00
raysan5
d368403a13
Working on PBR materials, renamed some data
2017-07-19 10:09:34 +02:00
Benjamin N. Summerton
ba32d6a753
Able to make a .dylib for OS X
2017-07-18 22:37:09 -04:00
Ray
8f569e59b1
Review shared library generation
2017-07-17 14:16:23 +02:00
raysan5
e893f3629e
Corrected some issues
2017-07-17 12:02:46 +02:00
Ray
6546474fa4
Manual integration of material-pbr into develop
2017-07-17 00:33:40 +02:00
raysan5
8ca8550739
Removed function reference
2017-07-08 14:22:48 +02:00
raysan5
53fbeeea71
Corected some issues with jar_xm
...
Problems when compiling with VS2015
Probably DEBUG(...) macro is not the best naming...
2017-07-08 14:19:27 +02:00
raysan5
36fcffeaae
Incremented version number for reference
2017-07-02 19:29:21 +02:00
raysan5
6589c808b5
Review some formatting for consistency
2017-07-02 19:29:01 +02:00
raysan5
9f09f6f550
Rename enum LogType names...
...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
Joel Davis
e0c95ede50
Prevent bogus triangle being added when there is whitespace at end of .OBJ file
2017-06-30 23:37:19 -07:00
Wilhem Barbier
056a494baf
Fix some other typos
2017-06-29 10:36:58 +02:00
Wilhem Barbier
aba3739c13
Fix some typos in raymath.h
2017-06-29 10:30:21 +02:00
Wilhem Barbier
786cd63057
Add a density parameter to GenImageRadialGradient
2017-06-28 17:27:47 +02:00
Ray
c3049a9b06
Merge pull request #311 from nounoursheureux/image_gen
...
Add more image generation functions: radial gradient and perlin noise
2017-06-28 16:20:25 +02:00
Wilhem Barbier
3fe268d004
Swap the two parameters
2017-06-28 15:38:34 +02:00
Wilhem Barbier
a0ac8ee2c4
Add more image generation functions: radial gradient and perlin noise
2017-06-28 15:29:56 +02:00
Wilhem Barbier
954757532a
Add the SaveImageAs function
2017-06-28 14:32:44 +02:00
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
Ray
70a7c65668
Return angles as degrees
2017-05-04 17:41:51 +02:00
Ray
18b31f6792
Added two new functions to raymath
2017-05-04 00:35:41 +02:00
Ray
9c66d961d0
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
2017-05-03 14:17:25 +02:00
Ray
2d5c8e61b1
Some code tweaks
2017-05-03 14:16:53 +02:00
Ray
73774aadd6
Review makefiles
2017-05-03 14:16:42 +02:00
victorfisac
e197665e1d
Added function to set window minimum dimensions...
...
useful when using FLAG_WINDOW_RESIZABLE.
2017-05-02 15:04:32 +02:00
Ray
d593bd0081
Some code tweaks
2017-04-30 13:03:31 +02:00
Ray
86f2d4b9f9
Commented pointer lock on web
2017-04-28 00:29:50 +02:00
raysan5
0b869948c6
TraceLog() output tweak
2017-04-23 19:27:48 +02:00
raysan5
3c99093aed
Rename variables for consistency
2017-04-23 12:30:36 +02:00
raysan5
7bcae59477
Support XM modules by default
2017-04-23 12:06:05 +02:00
raysan5
cfec2b40a4
Organize structs vs enums
2017-04-22 22:35:19 +02:00
raysan5
247da006ae
Rename parameter
2017-04-22 22:35:04 +02:00
raysan5
b0f8ea27e3
Renamed function for lib consistency
...
LoadSpriteFontTTF() --> LoadSpriteFontEx()
2017-04-22 19:04:54 +02:00
Ray
e7f0d0eef1
Corrected issue with alloca.h on GCC
2017-04-21 00:08:24 +02:00
Ray
ecfe31bf1d
Make TraceLog() public to the API
...
enum LogType could require some revision...
2017-04-21 00:08:00 +02:00
Ray
1df7a8b4a6
Update some files
2017-04-20 18:09:30 +02:00
Ray
35172430c6
Added SUPPORT_VR_SIMULATOR flag
2017-04-18 11:49:02 +02:00
raysan5
3e082f1d62
Updated physac to latest version
2017-04-16 19:08:34 +02:00
raysan5
c67cffea38
Updated STB libs to latest version
2017-04-16 14:06:04 +02:00
raysan5
f5894278b7
Added Vector2 math functions
...
Reviewed some Vector3 functions
Added auxiliary Clamp() function
2017-04-16 13:48:46 +02:00
raysan5
7e65c300b6
Make public TakeScreenshot() function
2017-04-16 13:47:49 +02:00
RDR8
1bba1242f4
Added _DEFAULT_SOURCE to CFLAGS for C99 compatibility
2017-04-12 20:26:29 -05:00
Ray
8374460c39
Added glfw3 lib (for VS2015)
2017-04-08 23:32:30 +02:00
Ray
d2d4b17633
Web: Support pointer lock
2017-04-08 00:16:03 +02:00
victorfisac
82577ededc
Comment unused variables from tangent calculations
2017-04-06 15:34:04 +02:00
victorfisac
4b7ea25603
Remove testing binormals implementation
2017-04-06 15:33:20 +02:00
victorfisac
0c2a58cf96
Add tangents calculation when loading OBJ file
2017-04-06 15:31:48 +02:00
Ray
fdf8501e81
Improve vr support and simulator
2017-04-05 00:02:40 +02:00