aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
AgeCommit message (Collapse)Author
2019-06-19Define some globalsRay
2019-04-28Some formatting reviewraysan5
2019-04-27Review UWP implementationraysan5
Basically, formating review and some variables naming to follow raylib conventions.
2019-04-27UWP Support Overhaul (#819)Reece Mackie
* Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Working build * Fix build again, stop deleting files * Hotfix crash, needs investigating * Remove VS2015.UWP, I cannot update the project * Lots of UWP work, added keyboard and mouse press support. Still need to finish scroll wheel, mouse position and cursor hiding, plus other stuff that I haven't seen yet. * Implemented a ton more things, added BaseApp.h to provide common code to UWP apps. * Remove constant window dimensions * Enable and Disable cursor support. * Actually use mouse delta * Gamepad Support * Cleaning and small tweaks * Restore original example. * Update comment * Use 'Messages' to handle the cursor functions so code is more portable. * Comment * Comment unused message fields and use vector for mouse pos instead. * Move messages to utils.h and use messages for everything. No more plat-specific code in raylib.h * Tested some desktop stuff and added projection matrix updates for window resizing. * Fixed big bad mouse bug * Fix alt buttons and add hack to combat flickery key presses (far from perfect) * Remove debug code * Final commit * Well, so I thought * Wow, i am bad * Remove packages folder * Remove useless include * Apply requested changes and fix linux build * Try to stop packages folder * Have we fixed the formatting properly? * Third time's the charm? * Where did this come from? * Re-fix * Autoformat is gonna kill * Fixed XBOX ONE Support * Fix tabs
2019-04-23Support custom memory management macrosRay
Users can define their custom memory management macros. NOTE: Most external libraries support custom macros in the same way, raylib should redefine those macros to raylib ones, to unify custom memory loading. That redefinition is only implemented as example for stb_image.h in [textures] module.
2019-04-07Happy new year 2019ChillerDragon
2019-03-12Support external config flagsRay
2019-01-29Update utils.cRay
2019-01-29Corrected log namingRay
2019-01-21Review last PR formattingRay
2019-01-21Changing enums, now referenced as int.Marco Lizza
2019-01-20Adding function to control the "exit-on-error" behaviour.Marco Lizza
2019-01-20Fixing logging level configuration API.Marco Lizza
2019-01-20Fixing `TraceLog` function to work on levels.Marco Lizza
2019-01-15Update utils.cRay
2019-01-14Fixing `LOG_OTHER` missing.Marco Lizza
2019-01-14Adding MACRO constant to specify the internal buffer size.Marco Lizza
2018-12-29utils: declare funopen only on AndroidBasem Abughallya
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-09-17Improved data export capabilities!Ray
REVIEWED: ExportImage() REVIEWED: ExportMesh() ADDED: ExportWave() REMOVED: Internal funcs: SavePNG(), SaveBMP() NOTE: These changes break the API (parameters order)
2018-07-26Add SetTraceLogCallback to enable users setting custom logging (#597)Pablo Marcos Oltra
2018-05-21cmake: Fix PLATFORM_WEB buildAhmad Fatoum
Did this ever work? Surely, doesn't look like it...
2018-05-21CMake: Fix (Add?) Android supportAhmad Fatoum
Not sure if this ever worked, but now it at least compiles.
2018-04-07Refactor all #define SUPPORT_* into a config.hAhmad Fatoum
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-05Simplified some codeRay
2017-12-24Renamed function to SetTraceLog()raysan5
I think is clearer this way...
2017-12-24Added function SetTraceLogTypes()raysan5
Trace log messages could be configured with this function to select wich ones are shown
2017-12-20Updated copyright yearRay San
2017-12-11Remove rres supportRay
Let the user choose if using rres external library
2017-09-29Code tweaks and comments for AndroidRay San
2017-07-02Rename enum LogType names...raysan5
...to avoid possible conflicting symbols
2017-04-01Corrected TraceLog issueRay
2017-03-29Added IsFileExtension()Ray
Replaced old GetExtension() function Make IsFileExtension() public to the API
2017-03-26Work on configuration flagsRay
2017-03-25Working on configuration flagsRay
2017-03-20Review some commentsRay
2017-03-19Working on file header comments...raysan5
2017-02-16Improved modules description -IN PROGRESS-Ray
Working in modules configuration flags...
2017-01-15Removed GetNextPOT(), review TraceLog()raysan5
2016-12-27Review some formatting and namingraysan5
- 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-17Improving rRES custom format support -IN PROGRESS-Ray
Start removing old rRES functions.
2016-11-16Reviewed modules commentsraysan5
2016-10-31Comments tweaksraysan5
2016-07-18Some code tweaksraysan5
2016-06-06Reorganize external libraries - BREAKING CHANGE -Ray
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-02Review heades usageRay
This is a first step toward a bigger project. Some modules could be ported to header-only to be used as standalone.
2016-05-31Support Android internal data storageRay
Useful to save small data files (configuration and so) For bigger files, external data storage should be used (SDCard)
2016-01-02Small code tweaksraysan5
2015-10-06Reviewed some comments and WritePNG()raysan5
2015-07-29Replaced old mail by twitter userraysan5
2015-02-02Removed useless spacesraysan5