Remove static label from joymnu functions
[kraptor.git] / include / filedata.h
blobed9150fcf288dd1f3c35d8d05057681910ab2a30
1 // --------------------------------------------------------
2 // filedata.h
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 // --------------------------------------------------------
13 #ifndef FILEDATA_H
14 #define FILEDATA_H
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);
22 #endif