David Reid
3ca5047c82
Update mini_al.
7 jaren geleden
David Reid
af4d23aa82
Update mini_al.
7 jaren geleden
David Reid
24cab8f920
Update mini_al.
7 jaren geleden
David Reid
0febaa2446
Update external audio libraries.
7 jaren geleden
Ray
847bdaf682
Implemented default mesh
In case mesh loading fails, a cube is generated instead!
7 jaren geleden
Ray
76a6bf6c52
Review spacing for cosistency
7 jaren geleden
lumaio teon
5ef6cc1fb9
Add more key definitions
7 jaren geleden
Ahmad Fatoum
3f59bdfc76
mini_al: Use WinAPI interlocked ops with tcc
Seems tcc doesn't provide __sync_*. See #435 .
7 jaren geleden
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...
7 jaren geleden
Ray San
4cc12ef2b3
Review camera definition on examples
7 jaren geleden
Ray San
cc3b8645df
Updated release version
7 jaren geleden
Ray
8e44f7b3c7
Reviewed config.h formatting
Added raylib version to config
7 jaren geleden
Ray
54e24d905a
Init frame timming measure variables
7 jaren geleden
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.
7 jaren geleden
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 ).
7 jaren geleden
Ahmad Fatoum
d88523f03a
Split CMake options into separate CMakeOptions.txt
7 jaren geleden
Milan Nikolic
3caa044bf2
Add GNUInstallDirs and USE_AUDIO/USE_WAYLAND options to CMake ( #518 )
7 jaren geleden
lumaio teon
d2cc5b88df
Removed useless GetCollisionRayMesh and libraylib.a
7 jaren geleden
lumaio teon
d003c23ecf
Added GetCollisionRayModel
7 jaren geleden
Ray
b8bd1d2ea6
Remove unnecesary NPOT check
Now PLATFORM checks only used on core and utils modules
7 jaren geleden
Ray
005f2ffb75
Simplified some code
7 jaren geleden
Ray
931b672c92
Added: ImageDrawRectangle()
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
7 jaren geleden
Ray
6edf15b9f9
Added funtion: ExportMesh()
7 jaren geleden
Ray San
fe1c04d1b8
Removed old code
7 jaren geleden
Ray
533780aadf
Review ImageDraw() alpha blending
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
7 jaren geleden
raysan5
375adf86a6
Review math usage to reduce temp variables
7 jaren geleden
raysan5
bbdf9f4880
Review InitWindow() to avoid void pointer
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
7 jaren geleden
maficccc@gmail.com
201007e426
Fix sscanf() without field limits can crash with huge input data
7 jaren geleden
maficccc@gmail.com
db98dba10f
Fix Allocator sizeof operand mismatch
7 jaren geleden
maficccc@gmail.com
03ca9508bf
Fix Dead initialization
7 jaren geleden
maficccc@gmail.com
44eedf235d
Redundant assignment of 'angle' to itself
7 jaren geleden
maficccc@gmail.com
ca9e652f8b
Remove dead assignment
7 jaren geleden
Martinfx
28a9a181cb
Fix use after free
7 jaren geleden
maficccc@gmail.com
e659336c11
Fix value stored to 'num_channels' is never read
7 jaren geleden
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")
7 jaren geleden
Max Danielsson
6c049fdd76
Move deduplicate aspect variable in begin render.
Changes motivated by commentary in pull request 513
7 jaren geleden
Max Danielsson
5ecee69088
Add 3d orthographic projection mode
7 jaren geleden
David Reid
a8e2c7de9c
Fix an infinite loop in ALSA backend of mini_al.
7 jaren geleden
Ray
deffad1701
Review tabs issue when compiling...
...PLATFORM_ANDROID on Windows, using MinGW-w64 (x86) provided Make (GCC
7.2)
7 jaren geleden
David Reid
4a69c2d75e
Fix a buffer overflow in the OSS/BSD backend.
7 jaren geleden
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!
7 jaren geleden
Ray
61e0e4b4f3
Complete review of raymath for API consistency
7 jaren geleden
Ray San
9318dc98ce
Support case-insensitive extension check
7 jaren geleden
Ray
487bc613fd
Updated raylib dev version
7 jaren geleden
Ray
9d8f15c19d
Reviewed raymath changes
7 jaren geleden
raysan5
a0127d8300
Corrected typo
7 jaren geleden
raysan5
fd5e457bb4
Correct issue with triangleCount
7 jaren geleden
victorfisac
d6fee9da29
Fixed compilation code comment in header
7 jaren geleden
victorfisac
3201bad65a
Fixed memory leaks in physics step operations
7 jaren geleden
Ray San
df50eada53
Added new functions
- SetWindowSize() to scale Windows in runtime
- SetMouseScale() to scale mouse input, useful when rendering game to a
RenderTexture2D that will be scaled to Window size (used on rFXGen tool)
7 jaren geleden