Rev 539 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log
Rev 539 | Rev 1537 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | #ifndef __IO_TRD |
31 | #ifndef __IO_TRD |
32 | #define __IO_TRD |
32 | #define __IO_TRD |
33 | 33 | ||
34 | enum ETrdFileName { OK, INVALID_EXTENSION, THREE_LETTER_EXTENSION }; |
34 | enum ETrdFileName { OK, INVALID_EXTENSION, THREE_LETTER_EXTENSION }; |
35 | 35 | ||
36 | int TRD_SaveEmpty(const char* fname, const char label[8]); |
36 | bool TRD_SaveEmpty(const char* fname, const char label[8]); |
37 | ETrdFileName TRD_FileNameToBytes(const char* inputName, byte binName[12], int & nameL); |
37 | ETrdFileName TRD_FileNameToBytes(const char* inputName, byte binName[12], int & nameL); |
38 | int TRD_AddFile(const char* fname, const char* fhobname, int start, int length, int autostart, bool replace, bool addplace); |
38 | bool TRD_AddFile(const char* fname, const char* fhobname, int start, int length, int autostart, bool replace, bool addplace, int lengthMinusVars = -1); |
39 | 39 | ||
40 | /** |
40 | /** |
41 | * @brief Checks TRD file and return absolute offset + length into the raw file. |
41 | * @brief Checks TRD file and return absolute offset + length into the raw file. |
42 | * |
42 | * |
43 | * @param trdname filename of the TRD image (will be passed to GetPath(...)) |
43 | * @param trdname filename of the TRD image (will be passed to GetPath(...)) |