diff options
| author | Ray <[email protected]> | 2017-05-11 16:24:40 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-05-11 16:24:40 +0200 |
| commit | 35fe34ba0f4a8de97e0854a64c52eca88bab98cf (patch) | |
| tree | cb31f78b16a0c85a59a975483f77573e07d079ad /src/raylib.h | |
| parent | 27bccdbd5096280fe6c900b0e941a8b90707dcc3 (diff) | |
| download | raylib-35fe34ba0f4a8de97e0854a64c52eca88bab98cf.tar.gz raylib-35fe34ba0f4a8de97e0854a64c52eca88bab98cf.zip | |
Added some useful functions
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index e49081b5..a3276d8e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -711,9 +711,12 @@ RLAPI Color Fade(Color color, float alpha); // Color fade- RLAPI void ShowLogo(void); // Activate raylib logo at startup (can be done with flags) RLAPI void SetConfigFlags(char flags); // Setup window configuration flags (view FLAGS) RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (INFO, WARNING, ERROR, DEBUG) -RLAPI void TakeScreenshot(void); // Takes a screenshot and saves it in the same folder as executable -RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension +RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (saved a .png) +RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension +RLAPI const char *GetDirectoryPath(const char *fileName); // Get directory for a given fileName (with path) +RLAPI const char *GetWorkingDirectory(void); // Get current working directory +RLAPI bool ChangeDirectory(const char *dir); // Change working directory, returns true if success RLAPI bool IsFileDropped(void); // Check if a file has been dropped into window RLAPI char **GetDroppedFiles(int *count); // Get dropped files names RLAPI void ClearDroppedFiles(void); // Clear dropped files paths buffer |
