e4d7bbec1e
Make MatrixToFloat and Vector3ToFloat reentrant
...
Besides making it thread-safe, it suppresses a GCC warning
when making them static inline in an upcoming patch.
2018-02-24 15:37:37 +01:00
077bef4286
Support 4 components mesh.tangent data
...
Added struct Vector4 for convenience
2018-02-24 12:31:32 +01:00
4492a70a4b
Support UTF8 basic characters on ImageTextEx()
...
Supported UTF8 range equivalent to [128..255] (80h..FFh)
Exposed and renamed text function GetGlyphIndex()
Renamed spriteFont parameter name to simply font
Small security check on transmission mission ending screen
2018-02-18 18:07:57 +01:00
36750ffb9a
BREAKING CHANGE: Renamed function for consistency
...
Rename: GetHexValue() renamed to ColorToInt()
Added: ColorToHSV()
2018-02-12 11:55:22 +01:00
4d5d1e0434
Added function LoadShaderCode()
...
Allows loading of shader from text code string directly
2018-02-05 01:03:13 +01:00
3a11cc5e31
Incremeted version to align with CMake
2018-02-04 13:44:41 +01:00
6dc2f979cc
Updated raylib version
...
Note that this version is under development and could be buggy on some
platforms...
2018-02-04 12:33:46 +01:00
70e0070a85
Reviewed window initialization
...
In case graphic device could not be created it returns false instead of
failing with an error tracelog (and consequently closing the program).
Window initialization success could be checked with new function
IsWindowReady()
2018-02-04 12:26:28 +01:00
26c9176a14
Return false from InitWindow if glfwInit or glfwCreateWindow fails
...
You can't do much with raylib if glfwInit or glfwCreateWindow fails,
currently it just exits by means of TraceLog(LOG_ERROR.
User code, however, might want to fall back to a text-only UI
or display a warning if raylib can't be used.
2018-02-03 14:53:58 +01:00
d1ef6869a9
Added function DrawRectangleLinesEx()
2018-02-02 11:01:38 +01:00
58346414f7
Corrected typo
2018-01-31 15:32:40 +01:00
44c95af463
Added missing keys definitions
2018-01-31 14:08:08 +01:00
ce9f191f1b
Added function: ImageMipmaps()
2018-01-18 00:23:45 +01:00
c8e97df233
Reviewed function GenImagePerlinNoise()
...
Added support for noise image offset
2018-01-17 00:43:30 +01:00
278d8575bd
Added new function: ImageAlphaCrop()
2018-01-11 10:22:32 +01:00
e4be917d1b
Added new image functions
...
- Added: ImageAlphaClear()
- Added: ImageAlphaPremultiply()
- Reorganized some functions
2018-01-07 00:51:26 +01:00
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
1f0f8c33fa
Added function declaration
2018-01-06 02:51:28 +01:00
7fa2861160
Added function: GetPixelDataSize()
...
Just found I need that function...
2018-01-06 02:50:20 +01:00
1a82e1ab26
Added function GetFileName()
...
Review comments
2018-01-02 02:26:05 +01:00
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
b19e155b34
Support UNCOMPRESSED_R32G32B32A32 texture format
2017-12-28 17:58:37 +01:00
0bd06eec51
Renamed function to SetTraceLog()
...
I think is clearer this way...
2017-12-24 16:49:54 +01:00
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
b63ffcfa0f
Some code tweaks
...
Audio module requires a complete formatting review....
2017-12-20 00:34:31 +01:00
5290390494
Expose GetTime() function to users
...
Monotonic time since InitWindow() could be retrieved with this function.
2017-12-19 14:06:54 +01:00
53ad53d051
Manually review previous PR
2017-12-15 13:44:31 +01:00
2affac820e
make raylib not clash with windows-header
2017-12-14 11:52:45 +01:00
48d0c93ace
make GetTime available to user of library
2017-12-14 11:50:35 +01:00
b872de951b
fix for GetMatrixModelview (former cl)
2017-12-14 11:49:31 +01:00
a6f9cc5629
Remove rres support
...
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
acbfba9250
Updated library features and dependencies
2017-12-05 13:22:26 +01:00
9d0ee6c2f6
Merge pull request #413 from mackron/dr/mini_al
...
mini_al integration
2017-12-05 11:23:16 +01:00
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
60d7215b2a
mini_al: Unify the buffer system for Sounds and AudioStreams.
2017-11-18 08:42:14 +10:00
88d2810fa3
Bug fixes for Music with mini_al.
2017-11-14 21:15:50 +10:00
ac4c911ad7
Work on porting Music to mini_al.
2017-11-12 21:55:24 +10:00
68bf6c9701
Initial work on porting AudioStream to use mini_al.
2017-11-12 20:59:16 +10:00
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
02dd4d32b5
Allow custom distortion shader - IN PROGRESS -
2017-11-12 11:00:28 +01:00
b0852002b8
Rename SoundInternal to SoundData for consistency with MusicData.
2017-11-12 14:54:37 +10:00
75433a670e
Initial work on adding support for mini_al.
2017-11-12 14:17:05 +10:00
879c2f484b
SetShaderValue take const pointer
2017-11-05 21:57:29 +01:00
9e0105a1a3
Corrected function name
2017-11-04 16:57:20 +01:00
539a9ca50e
Corrected ImageTextEx()
...
- Added new function: GenImageColor()
ImageDraw() should be reviewed... specially alpha blending...
2017-10-25 01:24:17 +02:00
7057d08369
Review VR functionality
...
To be more generic and configurable
2017-10-17 13:32:15 +02:00
8928248c71
Review comments about raylib
2017-10-12 14:07:31 +02:00
399d4b5f46
Check to avoid bool redefinition
2017-10-11 13:29:01 +02:00
b2789949ee
Working on Makefiles...
2017-10-02 14:12:03 +02:00
4f9de9527f
Review gradient rectangle drawing
...
Added: DrawRectangleGradientV()
Added: DrawRectangleGradientH()
2017-09-30 00:46:31 +02:00