Commit Graph

3807 Commits

Author SHA1 Message Date
Ray 0a25b9d39b
Update README.md 2020-04-06 13:30:32 +02:00
raysan5 5fb6155eea Removed unused Duck model. 2020-04-06 11:37:47 +02:00
Louis Johnson 4f40f8bc47
added log warning for unsupported file extension for music stream (#1176)
* added log warning for unsupported file extension for music stream

* updated error log message for music stream when file format isn't supported
2020-04-06 11:26:09 +02:00
Ray 8d0888afef
Update SPONSORS.md 2020-04-05 23:26:32 +02:00
Benjamin Stigsen 2d6303e9fe
Allow for empty replacement string (#1178) 2020-04-05 22:42:59 +02:00
raysan5 90fb53bccc Review android_fopen() to support SDCard access 2020-04-05 17:51:27 +02:00
raysan5 4ceb4d3bf3 Some code tweaks, comments and defines 2020-04-05 17:50:37 +02:00
Benjamin Stigsen 9c280bc7af
TextReplace changes (#1172)
- Added NULL return if the replacement string (`by`) is empty
- Reordered sanity checks since there's no need to initialize variables if the strings are invalid.
2020-04-04 14:25:57 +02:00
SasLuca 8444c3f705
Fixed offset check in GenImageFontAtlas (#1171)
* Fixed offset check in GenImageFontAtlas

* Fixed code formatting to follow raylib notation rules
2020-04-02 23:53:29 +02:00
Ray 7ef114d1da
Set build type to Release only #1164 2020-04-01 11:07:01 +02:00
raysan5 adb20569be Review shared library building 2020-04-01 11:06:05 +02:00
Ray 07f3a65a96
Update ROADMAP.md 2020-03-31 23:00:48 +02:00
Ray 6a8b1079c1 Update project version for release 2020-03-30 23:42:17 +02:00
Ray 703850b341
Update README.md 2020-03-30 23:28:38 +02:00
raysan5 8da6307456 Get icons back on shell.html
It seems there is some related issue on emscripten side... but I'll keep the icons here despite not displayed properly for the moment.
2020-03-30 21:34:45 +02:00
raysan5 e469f4ebf7 Update config.h, enable some file-formats by default 2020-03-30 17:42:42 +02:00
raysan5 8941cf3e66 Update textures.c 2020-03-30 17:42:19 +02:00
raysan5 68cad30646 Remove useless files 2020-03-30 17:27:03 +02:00
raysan5 fc7ec5e907 Update raylib.h 2020-03-30 17:11:35 +02:00
Dani Martin 1a948849f3
[cppcheck] Fix minor warnings in models.c and raudio.c (#1162)
Errores fixes:
models.c,2843 Either the condition 'fileData!=NULL' is redundant or there is possible null pointer dereference: fileData.
raudio.c,805, 806, 807, 808, %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
2020-03-30 17:08:01 +02:00
Ray bba10504e2
Update HISTORY.md 2020-03-30 16:30:34 +02:00
Ray ff11a6fbe8
Update CHANGELOG 2020-03-30 16:25:59 +02:00
Ray 27ebe78313
Update CHANGELOG 2020-03-30 16:23:37 +02:00
raysan5 44961d1975 Update core_basic_window.c 2020-03-30 16:09:09 +02:00
raysan5 e8a8d544c5 Review formating and signegness issues 2020-03-30 14:38:16 +02:00
Dani Martin 62cdb2299b
[cppcheck] Improvements in SaveStorageValue() in core.c (#1160)
* [cppcheck] Improvements in SaveStorageValue() in core.c

in file core.c cppcheck shows errors only in function SaveStorageValue():

* Common realloc mistake: 'fileData' nulled but not freed upon failure
* Memory pointed to by 'fileData' is freed twice.

Validation:
* Tested examples/core/core_storage_values.c
* Launched Unit Test for this function
* Rerun CPPCHECK afer fix

* [cppcheck] Change functions header to accept only positive position in files

Changes:
* Functions SaveStorageValue(), LoadStorageValue() (core.c)
* Functions LoadFileData(), SaveFileData() (utils.c)
* Headers in raylib.h

Validation:
* Tested examples/core/core_storage_values.c
* Launched Unit Test for these functions
* Rerun CPPCHECK afer fix
2020-03-30 13:51:36 +02:00
Ray 9b66883e0b
Update README.md 2020-03-30 13:29:05 +02:00
Ray d1b0d6a6dc
Update README.md 2020-03-30 13:28:30 +02:00
Ray c47ba58494
Update README.md 2020-03-30 13:23:20 +02:00
Valentin Lemière 41582f0448
Fix "variable is reassigned before use" linter warning on raymath.h (#1158) 2020-03-29 22:03:10 +02:00
raysan5 3e76d3a3d3 Added example: shaders_spotlight 2020-03-29 14:25:09 +02:00
raysan5 733ed972f7 Reorganize image functions 2020-03-29 13:37:33 +02:00
raysan5 5d7050bdf9 Reorganize image/texture functions for consistency 2020-03-29 13:31:12 +02:00
Rob Loach a025636fa1
Update ImageDraw*() functions to match arguments of Draw*() (#1156)
* Update ImageDraw*() functions to match arguments of Draw*()

Updated draw functions:
ImageDrawPixel()
ImageDrawPixelV()
ImageDrawCircle()
ImageDrawCircleV()
ImageDrawLine()
ImageDrawLineV()
ImageDrawRectangle()
ImageDrawRectangleV()
ImageDrawRectangleRec()

* [nodepadpp] Update Notepad++ ImageDraw defintions

This updates the Notepad++ definitions with the updated ImageDraw methods.

* [examples] Add ImageDraw calls to textures_image_drawing

* Update ImageDraw*() methods
2020-03-29 12:43:34 +02:00
Ray 3c3dfde3f9
Added binding: raylib-zig 2020-03-28 19:35:20 +01:00
Ray 5829fdb73e
Added binding: raylib-ats2 2020-03-28 19:30:00 +01:00
Ray 9b74c40fc2
Update HISTORY.md 2020-03-28 19:17:51 +01:00
raysan5 66e0d774bd Revert "Update compilation warning flags (#1151)"
This reverts commit 2528854664.
2020-03-28 18:39:56 +01:00
raysan5 a5e1aff99b [example] Integrate virtual mouse in main example 2020-03-28 18:36:30 +01:00
raysan5 e333eb415b Update window rc 2020-03-28 18:27:56 +01:00
Ray 02df366a7a
Update HISTORY.md 2020-03-27 20:40:00 +01:00
Ray 976a10c891
Update CHANGELOG 2020-03-27 20:31:20 +01:00
raysan5 d28e73849b Review TRACELOG() messages 2020-03-27 18:49:21 +01:00
raysan5 d7b15ac1cf Review TRACELOG() categories 2020-03-27 18:45:37 +01:00
raysan5 c0c775e45d [rlgl] Review TRACELOG() messages, categorized 2020-03-27 18:31:36 +01:00
raysan5 b5842434c2 Corrected missing semicolon 2020-03-27 18:31:16 +01:00
raysan5 c7e9951795 [core] Review TRACELOG() messages, categorized 2020-03-27 18:06:09 +01:00
raysan5 70ed975b99 [models] Review TRACELOG() messages, categorized 2020-03-27 17:43:51 +01:00
raysan5 7e2b1b4ff0 [textures] Review TRACELOG() messages 2020-03-27 17:43:38 +01:00
raysan5 915b5f370b [raudio] Review TRACELOG() messages, categorized 2020-03-27 17:43:24 +01:00