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
maficccc@gmail.com
201007e426
Fix sscanf() without field limits can crash with huge input data
2018-04-02 13:30:20 +02:00
maficccc@gmail.com
db98dba10f
Fix Allocator sizeof operand mismatch
2018-04-02 13:30:20 +02:00
maficccc@gmail.com
03ca9508bf
Fix Dead initialization
2018-04-02 13:30:20 +02:00
maficccc@gmail.com
44eedf235d
Redundant assignment of 'angle' to itself
2018-04-02 13:30:20 +02:00
maficccc@gmail.com
ca9e652f8b
Remove dead assignment
2018-04-02 13:30:19 +02:00
Martinfx
28a9a181cb
Fix use after free
2018-04-02 13:30:19 +02:00
maficccc@gmail.com
e659336c11
Fix value stored to 'num_channels' is never read
2018-04-02 13:30:19 +02:00
Ray
e72b96ada1
Merge pull request #508 from a3f/master
...
Allow use of main instead of android_main
2018-04-02 10:48:02 +02:00
Ray
564baa22d6
Merge pull request #513 from autious/master
...
Add orthographic 3d rendering mode
2018-04-01 00:27:20 +02:00
Jacques Heunis
b4e2f5b45c
Initialize the timer after the graphics device on desktop and web platforms. ( #516 )
...
This is already the order that is used for Android. It doesn't appear to
make a difference on desktop but on web using the timer before it's been
initialized (by glfwInit, inside InitGraphicsDevice) causes the a long
(and variable but often several seconds) sleep between the first and
second frame.
Fixes: 468309d
("Early-exit InitWindow if InitGraphicsDevice fails")
2018-03-31 12:22:44 +02:00
Max Danielsson
6c049fdd76
Move deduplicate aspect variable in begin render.
...
Changes motivated by commentary in pull request 513
2018-03-27 19:59:54 +02:00
Max Danielsson
5ecee69088
Add 3d orthographic projection mode
2018-03-25 18:33:19 +02:00
David Reid
a8e2c7de9c
Fix an infinite loop in ALSA backend of mini_al.
2018-03-20 18:39:21 +10:00
Ray
deffad1701
Review tabs issue when compiling...
...
...PLATFORM_ANDROID on Windows, using MinGW-w64 (x86) provided Make (GCC
7.2)
2018-03-19 23:49:14 +01:00
David Reid
4a69c2d75e
Fix a buffer overflow in the OSS/BSD backend.
2018-03-18 14:37:41 +10:00
Ahmad Fatoum
2c219fb814
Allow use of main instead of android_main
...
Inspired by #504 .
Instead of requiring the user to do PLATFORM_ANDROID #ifdefery,
have the android_main entry point exported by raylib and call
the user-defined main. This way many games could (in theory)
run unmodified on Android and elsewhere.
This is untested!
2018-03-16 21:37:22 +01:00
Ray
61e0e4b4f3
Complete review of raymath for API consistency
2018-03-16 13:47:01 +01:00
Ray San
9318dc98ce
Support case-insensitive extension check
2018-03-16 13:09:49 +01:00
Ray
487bc613fd
Updated raylib dev version
2018-03-15 12:37:52 +01:00
Ray
9d8f15c19d
Reviewed raymath changes
2018-03-15 12:37:23 +01:00
Ray
6c6d6776c0
Merge pull request #482 from a3f/master
...
raymath.h: Use C99 inline semantics
2018-03-15 12:27:40 +01:00
Ray
8bc2813b0c
Merge pull request #500 from victorfisac/fork/master
...
[fork/master] Fixed some memory leaks and add null checks for consistency
2018-03-11 10:51:15 +01:00
raysan5
a0127d8300
Corrected typo
2018-03-11 10:49:51 +01:00
raysan5
fd5e457bb4
Correct issue with triangleCount
2018-03-11 10:41:49 +01:00