1 // --------------------------------------------------------
3 // --------------------------------------------------------
4 // Copyright (c) Kronoman
5 // En memoria de mi querido padre
6 // --------------------------------------------------------
7 // This file is used as a wrapper for load_datafile
8 // I use this for reach the datafile searching in common paths
9 // Is specially useful for datafiles in Windows, because most
10 // of the time Windows don't start the program in the executable path,
11 // and the program is unable to find the datafile.
12 // --------------------------------------------------------
16 char *where_is_the_filename(char *buffer
, const char *filename
);
18 DATAFILE
*krono_load_datafile(const char *filename
);
19 DATAFILE
*krono_load_datafile_callback(const char *filename
, void (*callback
)(DATAFILE
*d
));
20 DATAFILE
*krono_load_datafile_object(const char *filename
, const char *objectname
);