diff options
| author | Ray <[email protected]> | 2017-03-29 00:35:42 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-03-29 00:35:42 +0200 |
| commit | 080a79f0b03bd40a4ac6dfb8c6f90a3a7379d7ad (patch) | |
| tree | 1bbd9d5d1ed6f1818f0497110f222f1ef5d7a67e /src/raylib.h | |
| parent | 2f65975c5ec6d82d2321ed28d7754edf636da7ec (diff) | |
| download | raylib-080a79f0b03bd40a4ac6dfb8c6f90a3a7379d7ad.tar.gz raylib-080a79f0b03bd40a4ac6dfb8c6f90a3a7379d7ad.zip | |
Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 24d6e1fd..3e6c68ff 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -687,9 +687,10 @@ RLAPI float *MatrixToFloat(Matrix mat); // Converts Ma RLAPI int GetRandomValue(int min, int max); // Returns a random value between min and max (both included) RLAPI Color Fade(Color color, float alpha); // Color fade-in or fade-out, alpha goes from 0.0f to 1.0f -RLAPI void SetConfigFlags(char flags); // Setup some window configuration flags RLAPI void ShowLogo(void); // Activates raylib logo at startup (can be done with flags) -//RLAPI void TraceLog(int logType, const char *text, ...); // Trace log messages showing (INFO, WARNING, ERROR, DEBUG) +RLAPI void SetConfigFlags(char flags); // Setup some window configuration flags +//RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (INFO, WARNING, ERROR, DEBUG) +RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension RLAPI bool IsFileDropped(void); // Check if a file have been dropped into window RLAPI char **GetDroppedFiles(int *count); // Retrieve dropped files into window |
