Commit Graph

46 Commits

Author SHA1 Message Date
Marco Lizza 932e9dbd09 Fixing logging level configuration API. 2019-01-20 22:24:09 +01:00
Marco Lizza 78904d2bcc Fixing TraceLog function to work on levels. 2019-01-20 22:23:07 +01:00
Ray c93bf336fe Update utils.c 2019-01-15 12:32:41 +01:00
Marco Lizza efcb68ceca Fixing LOG_OTHER missing. 2019-01-14 17:09:41 +01:00
Marco Lizza ce98cc6285 Adding MACRO constant to specify the internal buffer size. 2019-01-14 17:09:17 +01:00
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,
       ^~~~~~~
2018-12-29 17:44:47 +01:00
Ray ec5c9686b3 Improved data export capabilities!
REVIEWED: ExportImage()
REVIEWED: ExportMesh()
ADDED: ExportWave()
REMOVED: Internal funcs: SavePNG(), SaveBMP()

NOTE: These changes break the API (parameters order)
2018-09-17 16:56:02 +02:00
Pablo Marcos Oltra c69f7953c7 Add SetTraceLogCallback to enable users setting custom logging (#597) 2018-07-26 21:57:45 +02:00
Ahmad Fatoum e025e62445 cmake: Fix PLATFORM_WEB build
Did this ever work? Surely, doesn't look like it...
2018-05-21 12:15:39 +02:00
Ahmad Fatoum ad8509732c CMake: Fix (Add?) Android support
Not sure if this ever worked, but now it at least compiles.
2018-05-21 01:08:29 +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
Ray 005f2ffb75 Simplified some code 2018-04-05 19:18:44 +02:00
raysan5 0bd06eec51 Renamed function to SetTraceLog()
I think is clearer this way...
2017-12-24 16:49:54 +01:00
raysan5 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
Ray San 00c34a035c Updated copyright year 2017-12-20 12:37:08 +01:00
Ray a6f9cc5629 Remove rres support
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
Ray San c45eeb8024 Code tweaks and comments for Android 2017-09-29 13:56:37 +02:00
raysan5 9f09f6f550 Rename enum LogType names...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
Ray 0a33fbf8bb Corrected TraceLog issue 2017-04-01 00:48:40 +02:00
Ray 080a79f0b0 Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
2017-03-29 00:35:42 +02:00
Ray b7a8a40e71 Work on configuration flags 2017-03-26 22:49:01 +02:00
Ray 5387b45431 Working on configuration flags 2017-03-25 12:01:01 +01:00
Ray 59652c75b4 Review some comments 2017-03-20 20:34:44 +01:00
raysan5 8f5ff64420 Working on file header comments... 2017-03-19 12:52:58 +01:00
Ray 05cff44d0a Improved modules description -IN PROGRESS-
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
raysan5 61f6b0f707 Removed GetNextPOT(), review TraceLog() 2017-01-15 01:10:23 +01:00
raysan5 e7464d5fc3 Review some formatting and naming
- Renamed WritePNG() to SavePNG() for consistency with other file
loading functions
- Renamed WriteBitmap() to SaveBMP() for consistency with other file
loading functions
- Redesigned SaveBMP() to use stb_image_write
2016-12-27 17:37:35 +01:00
Ray 814507906f Improving rRES custom format support -IN PROGRESS-
Start removing old rRES functions.
2016-12-17 19:05:40 +01:00
raysan5 6d1b712a96 Reviewed modules comments 2016-11-16 18:46:13 +01:00
raysan5 673dcf9436 Comments tweaks 2016-10-31 20:39:03 +01:00
raysan5 5ff9811ea8 Some code tweaks 2016-07-18 17:06:33 +02:00
Ray 29d505c98e Reorganize external libraries - BREAKING CHANGE -
Moved all external libraries used by raylib to external folder inside
raylib src. Makefile has already been update and also the different
includes in raylib modules.
2016-06-06 14:34:43 +02:00
Ray 17878550b1 Review heades usage
This is a first step toward a bigger project. Some modules could be
ported to header-only to be used as standalone.
2016-06-02 01:26:44 +02:00
Ray 8a4e28f81d Support Android internal data storage
Useful to save small data files (configuration and so)
For bigger files, external data storage should be used (SDCard)
2016-05-31 00:01:19 +02:00
raysan5 b804f38150 Small code tweaks 2016-01-02 10:41:37 +01:00
raysan5 34db515acb Reviewed some comments and WritePNG() 2015-10-06 17:13:40 +02:00
raysan5 7834a4e2fc Replaced old mail by twitter user 2015-07-29 21:43:30 +02:00
raysan5 b9e53cd135 Removed useless spaces 2015-02-02 00:53:49 +01:00
raysan5 5104567a24 Some code tweaks 2015-01-18 10:57:30 +01:00
raysan5 905b6ec53d Added full support for HTML5 (emscripten)
Corrected some bugs on the way...
Automatically convert textures to POT on RPI and WEB
2014-12-31 18:03:32 +01:00
raysan5 cfa60ab7e6 Added support for emscripten and more
Added PLATFORM_WEB support (emscripten-webgl)
[audio] Added LoadSoundFromWave()
[textures] Added LoadTextureFromImage() to replace CreateTexture()
Some TraceLogs edited...
2014-12-15 01:08:30 +01:00
raysan5 fc6081fe70 raylib 1.2
This is a huge update. Check CHANGELOG for details
2014-09-16 22:51:31 +02:00
raysan5 d2b98fbb5c Removed useless spaces 2014-09-03 16:51:28 +02:00
raysan5 f06a15ac8b raylib 1.1
View CHANGELOG for a detailed list of changes
2014-04-19 16:36:49 +02:00
raysan5 e6b82cb111 Lots of changes, most of them under testing-review
Added a Tracing/Log system
Added OGG stream music support (DOESN'T WORK)
Added Compressed textures support
* This update is probably very buggy...
2014-04-09 20:25:26 +02:00
raysan5 2cf5fa7765 Updated raylib to version 1.0.4
Lots of changes added, check CHANGELOG for detailed description
2014-01-23 12:36:18 +01:00