Removed some old DOS code, unified (for gcc) the handling of file paths.
Probably fixed some linux issues there. Fixed the filename search by typing in Save/load. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@196 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
11
io.h
11
io.h
@@ -17,3 +17,14 @@ int read_word_be(FILE *Fichier, word *Dest);
|
||||
int write_word_be(FILE *Fichier, word Mot);
|
||||
int read_dword_be(FILE *Fichier, dword *Dest);
|
||||
int write_dword_be(FILE *Fichier, dword Mot);
|
||||
|
||||
void Extraire_nom_fichier(char *Destination, const char *Source);
|
||||
void Extraire_chemin(char *Destination, const char *Source);
|
||||
|
||||
char * Position_dernier_slash(const char * Chaine);
|
||||
|
||||
#ifdef __linux__
|
||||
#define SEPARATEUR_CHEMIN "/"
|
||||
#else
|
||||
#define SEPARATEUR_CHEMIN "\\"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user