Ray
0333e5b6c2
Merge pull request #711 from ChrisDill/SetMouseOffset
Added SetMouseOffset
6 years ago
ChrisDill
f9c43dc379
Mouse functions changed
- SetMouseScale changed to take in a Vector2.
- Added mouseOffset global which is used in mouse read functions.
6 years ago
raysan5
d2e861fdce
Test Windows compilation on Travis CI
6 years ago
Ray
30e79b4727
Merge pull request #708 from BaZom/master
utils: declare funopen only on Android
6 years ago
raysan5
63f9f91ea8
Avoid crashing if music file not loaded
6 years ago
ChrisDill
a707574f33
Default mouseScale fixed
- Didn't set X and Y values correctly.
6 years ago
ChrisDill
8933298864
Added SetMouseOffset
- Changed mouseScale to Vector2.
- Added SetMouseOffset to change XY of mouseScale.
6 years ago
raysan5
d5735720b0
Update Makefile for Emscripten
6 years ago
raysan5
9740b1eb70
Update mini_al to latest version (Web Audio / AAudio backends)
6 years ago
Basem Abughallya
9a40529ae7
utils: declare funopen only on Android
funopen is only needed on Android, so declare it
only there. This fixes following MinGW build failure:
utils.c:50:7: error: conflicting types for ‘funopen’
FILE *funopen(const void *cookie, int (*readfn)(void *, char *, int),
^~~~~~~
In file included from utils.c:45:0:
/usr/include/stdio.h:586:7: note: previous declaration of ‘funopen’ was here
FILE *funopen (const void *__cookie,
^~~~~~~
6 years ago
raysan5
d0d99d3503
Corrected issue with MOD/XM loop
6 years ago
raysan5
0619571149
ADDED: DrawTextRec() and example
6 years ago
raysan5
95d3f24c68
Use QUADS for DrawPolyEx()
6 years ago
raysan5
a072385c6d
Corrected issue on draws resetting
6 years ago
raysan5
414c3ee1f9
ADDED: DrawTextureQuad()
Useful for tiling and offset parameters definition.
6 years ago
raysan5
91a7b0e5ef
Corrected typo
6 years ago
raysan5
01338b0a14
WARNING: BREAKING CHANGE
Added a bunch of useful text management functions.
Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names.
raylib version bumped to 2.3.
6 years ago
raysan5
9a8320c52b
REVIEWED: DrawRectanglePro()
6 years ago
raysan5
af4a177af4
Corrected issue with internal buffer
Problem aligning provided vertex data to multiples of four, because main buffer is intended to bu used with indexed quads... but also shared with triangles and lines.
6 years ago
raysan5
7b8965eb38
Support float texture data on OpenGL ES 2.0
6 years ago
raysan5
35a6e9a074
Corrected issue with MOD playing
Despite issue is corrected, now module loop doesn't work...
6 years ago
raysan5
96207a8a02
REVIEWED: LoadFontEx()
Changed parameters order for consistency with LoadFontData() and other functions when an array is passed by parameter and array size is the following parameter.
6 years ago
raysan5
1982eabe6e
Some code tweaks
6 years ago
raysan5
7fb2459916
Added some TODO note
OpenGL extensions loading could be improved...
6 years ago
raysan5
47358fe5ce
Tweaks to support OpenGL ES 2.0 desktop
6 years ago
raysan5
92f68ac6be
Review DrawPolyEx()
Also reviewed rlCheckBufferLimit()
6 years ago
Ray
4ec4dc691f
Use stb_vorbis.h as header only
6 years ago
Ray
e48f2f9d43
Delete libraylib.a
6 years ago
Ray
87ad244ee0
Exposed LoadFontFromImage()
6 years ago
Ray
5aea693f69
Update models_obj_viewer.c
6 years ago
Ray
788bb78989
Some tweaks
6 years ago
Ray
6ef1e1d938
new example: shaders_raymarching
6 years ago
Ray
c053de3c7d
new example: models_obj_viewer
6 years ago
Ray
b6d2f96645
Corrected issue
6 years ago
Ray
af33e3848e
Improved BeginScissorMode()
Now rectangle coordinates refer to upper-left corner instead of bottom-left
6 years ago
Ray
49055a9b17
Keep reviewing RPI keyboard input...
6 years ago
Ray
66c360d385
Corrected issue on plane drawing
6 years ago
Ray
a22ee0c0e1
Review RPI keyboard inputs -WIP-
6 years ago
Ray
39c05e30d0
Reviewed rlReadTexturePixels() for OpenGL ES 2.0
Now it should work... but this behaviour could be driver dependant...
6 years ago
Ray
2f56119568
Corrected issue when scaling
6 years ago
Ray
965a91cebb
Support PIC image format loading
6 years ago
Ray
8f95518858
Reviewed some examples to work on RPI
6 years ago
Ray
db96cf4a8b
Corrected bug on OpenGL ES quads drawing
6 years ago
Ray
5a9e03fddf
Avoid example on Android compilation
6 years ago
Ray
f822650a3b
Support externally provided compilation flags
Useful in case raylib compilation want to be automated and compilation config flags provided by command line.
6 years ago
Ray
fe346fa8d8
Added a possible dependency include path for glfw
6 years ago
Ray
f9e4faff09
Review standard lighting sample -WIP-
It's broken.
6 years ago
Ray
7d81e673ed
ADDED: GenMeshPoly()
To generate 2D polygonal shape
6 years ago
Ray
4008a075a8
Added scissor functionality
To draw only in defined area of the screen
ADDED: BeginScissorMode(), EndScissorMode()
6 years ago
Ray
cbbd67ab5a
Some code tweaks
- Reorganized some variables: Not used on OpenGL 1.1
- Now mipmaps can be generated on OpenGL 1.1 backend
- Renamed whiteTexture to defaultTextureId
6 years ago