diff options
Diffstat (limited to 'app/bin/fileio.h')
-rw-r--r-- | app/bin/fileio.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/app/bin/fileio.h b/app/bin/fileio.h index b5abc78..f574126 100644 --- a/app/bin/fileio.h +++ b/app/bin/fileio.h @@ -57,7 +57,16 @@ int curDemo; wMenuList_p fileList_ml; -void SetCurDir( const char *, const char * ); +#define LAYOUTPATHKEY "layout" +#define BITMAPPATHKEY "bitmap" +#define DXFPATHKEY "dxf" +#define PARTLISTPATHKEY "parts" +#define CARSPATHKEY "cars" +#define PARAMETERPATHKEY "params" +#define IMPORTPATHKEY "import" +#define MACROPATHKEY "macro" + +void SetCurrentPath( const char *, const char * ); void Stripcr( char * ); char * GetNextLine( void ); @@ -80,9 +89,9 @@ char * PutTitle( char * cp ); wBool_t IsParamValid( int ); char * GetParamFileName( int ); void RememberParamFiles( void ); -int LoadParamFile( const char *, const char *, void * ); +int LoadParamFile( int files, char **fileName, void *data ); void ReadParamFiles( void ); -int LoadTracks( const char *, const char *, void * ); +int LoadTracks( int cnt, char **fileName, void *data ); BOOL_T ReadParams( long, const char *, const char * ); typedef void (*doSaveCallBack_p)( void ); |