Ray San
0c01c08718
Corrected issue, flag not supported...
...
...by emscripten glfw javascript implementation
2018-06-12 13:21:36 +02:00
Ray San
59fd261491
Added function: GetImageDataNormalized()
...
Reviewed: GetImageData()
Reviewed: ImageFormat()
2018-06-12 13:13:09 +02:00
Ray San
7d0e09ff4c
Corrected bug
2018-06-12 12:05:28 +02:00
Ray San
b588af5ce2
Corrected breaking build
2018-06-12 10:45:00 +02:00
raysan5
b48d225a43
Propose new function: GenImageFont()
2018-06-10 19:29:01 +02:00
Ray
817ae07505
Some comments cleaning
...
ImageDraw() code tweak
2018-06-06 00:43:52 +02:00
Ray
0e6458cfee
Added ImageRotate*() functions
2018-06-03 21:05:01 +02:00
Ray
61a1c59472
Corrected possible issue with CMake for GLFW
2018-06-02 18:47:19 +02:00
Ray
9688c677de
Review window creation hints
2018-06-02 18:26:57 +02:00
Ray
c7d6a44e33
Update GLFW to latest dev version (master branch)
2018-06-02 18:26:29 +02:00
Ray
b1b4a11bdb
Corrected issue with function definition
2018-06-02 13:05:23 +02:00
Ray
afc4181752
Work on ImageResizeCanvas()
2018-06-02 12:47:05 +02:00
Ray
2536bea379
Added: ImageResizeCanvas() -WIP-
...
Added note idea on ImageFormat() for future redesign (to support
16bit-32bit pixel-formats)
2018-06-01 00:53:40 +02:00
Ray
129c890a28
Removed assert()
...
Not used in raylib this mechanism
2018-05-30 00:06:23 +02:00
Ray
8f4b53384c
Replaced tabs by spaces
2018-05-29 09:09:40 +02:00
Ray
d873314c27
Reviewed Windows resource file name
2018-05-29 00:52:08 +02:00
Ray
0148432588
fabsf() not working with TCC
...
Replaced by fabs() that seem to work ok
2018-05-28 00:48:45 +02:00
Ray
dbff40944a
Corrected issue with floats on TCC
...
It seems TCC was not casting correctly int values to float in some
specific situations
2018-05-28 00:48:07 +02:00
Ray
1f0cc57ec7
Corrected issue with compiler param
...
Added android_native_app_glue module to raylib compilation instead of
compiling it as static lib at apk generation.
2018-05-27 19:06:14 +02:00
Ray San
8f4fa5006b
Added a note
2018-05-22 12:09:12 +02:00
Ray San
f454af08bb
Review include (already included)
2018-05-22 12:08:58 +02:00
raysan5
559b9b8cc3
Corrected possible memory leak
2018-05-21 18:57:54 +02:00
raysan5
44181baf04
Working on Android APK building
2018-05-21 18:13:52 +02:00
David Reid
63cf43b729
Fix some warnings.
2018-05-21 20:46:22 +10:00
David Reid
647c08ef4c
Fix a copy paste typo.
2018-05-21 20:39:42 +10:00
David Reid
f1b624d38b
Update mini_al.
2018-05-21 20:39:19 +10:00
David Reid
6d8cc250bd
Merge branch 'master' of https://github.com/raysan5/raylib into dr/mini_al
2018-05-21 20:26:28 +10:00
Ahmad Fatoum
e025e62445
cmake: Fix PLATFORM_WEB build
...
Did this ever work? Surely, doesn't look like it...
2018-05-21 12:15:39 +02:00
Ahmad Fatoum
ad8509732c
CMake: Fix (Add?) Android support
...
Not sure if this ever worked, but now it at least compiles.
2018-05-21 01:08:29 +02:00
Ahmad Fatoum
ff55af14f9
CMake: Move reusable code to new cmake/ directory
2018-05-21 01:08:29 +02:00
Ahmad Fatoum
ae26e083b4
CMake: Add default build type if none specified
...
Release, unless we are in a Git repo, then it's Debug.
2018-05-21 01:08:28 +02:00
Ahmad Fatoum
20ddc6a2bb
Move utils.cmake to separate cmake/ directory
2018-05-21 01:08:28 +02:00
raysan5
a752092055
Removed 32bit arm Android library
...
From 2019 64bit support will be mandatory to publish an Android app.
Google plans to require that new apps target Oreo (API level 26) in
August of 2018.
2018-05-20 19:13:10 +02:00
raysan5
8e0cd51afb
Support shared library building on Android
2018-05-20 18:49:58 +02:00
raysan5
ca69068814
Added function: rlCheckBufferLimit()
2018-05-20 01:55:46 +02:00
raysan5
3b70b66a08
Love OpenGL gotchas... make my life more enjoyable!
2018-05-20 00:41:12 +02:00
raysan5
24adca4ad0
Manual mipmap generation review
...
On OpenGL 1.1 only is supported for 32bit RGBA textures
2018-05-20 00:39:56 +02:00
raysan5
25d5e907ec
Some code review (mainly comments)
2018-05-20 00:37:16 +02:00
Michael Vetter
5cfbb53f6c
Increase API version
...
Please do this whenever necessary. And adapt it before releasing a new
RC. The RC should already have the correct one.
2018-05-18 16:04:18 +02:00
Ray
fb4265f646
Reviewed Android pipeline
...
Now defaults to Clang, ARM64 and API 21
2018-05-17 00:59:53 +02:00
Ray
0b05169aa7
Some warnings review
2018-05-17 00:58:58 +02:00
Ray
88c2337225
Preliminary support for MP3 fileformat -WIP-
2018-05-17 00:04:58 +02:00
Ray
2aae62cea2
Header tweak and comments
2018-05-17 00:04:36 +02:00
Ray
1d3e4ef437
Corrected issue on file extension check
2018-05-17 00:04:12 +02:00
Ray
bb43755a9d
Corrected issue on LoadASTC()
2018-05-12 23:33:03 +02:00
Ahmad Fatoum
eed170f852
CMake: Fix typo... s/USE_PIC/WITH_PIC/
2018-05-12 19:05:30 +02:00
Ahmad Fatoum
0f1aaa474a
CMake: (Properly) build glfw separately with CMake
...
This reverts commit 2d6fb5c628 ,
and adds a fix for Alien::raylib's test failures.
The tests failed because the resulting static library didn't reexport
GLFW symbols. As a fix, we now have GLFW create a CMake "object library"
target that we can link with both the static and shared raylib.
This is arguably ugly... Proper fix would probably be a GLFW upstream
object library target.
Closes #536 .
2018-05-12 18:38:20 +02:00
Ahmad Fatoum
2d6fb5c628
Revert "CMake: Build glfw separately with CMake"
...
This reverts commit 0adb4b67de ,
because it failed tests for Alien::raylib:
http://www.cpantesters.org/distro/A/Alien-raylib.html
2018-05-11 23:43:35 +02:00
Ray
aa76985c0d
Review raylib version to 2.0
...
Review raylib_icon resource
2018-05-11 18:14:19 +02:00
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
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
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
3a803ac95e
Removed unnecesary define
2018-05-08 23:04:13 +02:00
Sherjil Ozair
8e9ff75f1c
Use fabsf for floats, and avoid implicit type casting
2018-05-06 12:47:46 -04: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
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
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
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
d2cc5b88df
Removed useless GetCollisionRayMesh and libraylib.a
2018-04-07 03:49:56 -04:00
lumaio teon
d003c23ecf
Added GetCollisionRayModel
2018-04-06 12:04:09 -04:00
Ray
b8bd1d2ea6
Remove unnecesary NPOT check
...
Now PLATFORM checks only used on core and utils modules
2018-04-05 19:22:45 +02:00
Ray
005f2ffb75
Simplified some code
2018-04-05 19:18:44 +02:00
Ray
931b672c92
Added: ImageDrawRectangle()
...
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
2018-04-04 12:02:20 +02:00
Ray
6edf15b9f9
Added funtion: ExportMesh()
2018-04-04 12:00:54 +02:00
Ray
9393d1d76f
Merge branch 'master' of https://github.com/raysan5/raylib
2018-04-03 12:43:42 +02:00
Ray San
fe1c04d1b8
Removed old code
2018-04-03 12:42:28 +02:00
Ray
533780aadf
Review ImageDraw() alpha blending
...
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
2018-04-03 12:42:22 +02:00
Ray
3e0de31424
Merge pull request #504 from Martinfx/master
...
Fix potential bugs from static analysis
2018-04-02 18:10:38 +02:00
raysan5
375adf86a6
Review math usage to reduce temp variables
2018-04-02 15:16:45 +02:00
raysan5
bbdf9f4880
Review InitWindow() to avoid void pointer
...
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
2018-04-02 14:49:01 +02:00