diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-30 00:58:57 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-30 00:58:57 +0100 |
| commit | e53faffaead15f0aa6c323d0b0dbed05eaf5b4d4 (patch) | |
| tree | 3938ab7b707e5ef9485b2b77f7baa7f0c9d6ebdc /Source/System.h | |
| parent | 67cfc8b2c23177f036eda97f3423d062ba0c3e90 (diff) | |
* Menu.c: when 1Player/2Player buttons are pressed, level list is now shown.
* System.c/System.h: new prototype SystemGetFileBasename().
Diffstat (limited to 'Source/System.h')
| -rw-r--r-- | Source/System.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/System.h b/Source/System.h index 6938d6a..e2d22dc 100644 --- a/Source/System.h +++ b/Source/System.h @@ -130,6 +130,10 @@ void SystemCalculateSine(void); unsigned char SystemGetSineValue(void); +// Fills str with only file name and extension given input file path. +// For example: "FOLDER\\FOLDER\\MYFILE.EXT;1" -> "MYFILE.EXT" +void SystemGetFileBasename(const char* fileName, char* str, size_t sz); + /* ************************************** * Global Variables * * **************************************/ |
