|
int | cfile_init (const char *exe_dir, const char *cdrom_dir) |
| Initialize the cfile system. Called once at application start. More...
|
|
void | cfile_refresh () |
|
int | cfile_push_chdir (int type) |
| Push current directory onto a 'stack' and change to a new directory. More...
|
|
int | cfile_chdir (const char *dir) |
| Change to the specified directory. More...
|
|
int | cfile_pop_dir () |
|
int | cfile_flush_dir (int dir_type) |
|
char * | cf_add_ext (const char *filename, const char *ext) |
|
int | cf_delete (const char *filename, int path_type) |
| Delete the specified file. More...
|
|
int | cf_access (const char *filename, int dir_type, int mode) |
|
int | cf_exists (const char *filename, int dir_type) |
|
int | cf_exists_full (const char *filename, int dir_type) |
|
int | cf_exists_full_ext (const char *filename, int dir_type, const int num_ext, const char **ext_list) |
|
int | cf_rename (const char *old_name, const char *name, int dir_type) |
|
void | cf_create_directory (int dir_type) |
|
int | game_cd_changed () |
|
CFILE * | _cfopen (const char *source, int line, const char *file_path, const char *mode, int type, int dir_type, bool localize) |
|
CFILE * | _cfopen_special (const char *source, int line, const char *file_path, const char *mode, const int size, const int offset, int dir_type) |
|
CFILE * | ctmpfile () |
|
int | cfclose (CFILE *cfile) |
|
int | cf_is_valid (CFILE *cfile) |
|
| if (cfile_block_index==-1) |
|
| cf_init_lowlevel_read_code (cfp, 0, 0, 0) |
|
int | cf_get_dir_type (CFILE *cfile) |
|
void * | cf_returndata (CFILE *cfile) |
|
void | cf_set_version (CFILE *cfile, int version) |
|
void | cf_set_max_read_len (CFILE *cfile, size_t len) |
|
float | cfread_float (CFILE *file, int ver, float deflt) |
|
int | cfread_int (CFILE *file, int ver, int deflt) |
|
uint | cfread_uint (CFILE *file, int ver, uint deflt) |
|
short | cfread_short (CFILE *file, int ver, short deflt) |
|
ushort | cfread_ushort (CFILE *file, int ver, ushort deflt) |
|
ubyte | cfread_ubyte (CFILE *file, int ver, ubyte deflt) |
|
void | cfread_vector (vec3d *vec, CFILE *file, int ver, vec3d *deflt) |
|
void | cfread_angles (angles *ang, CFILE *file, int ver, angles *deflt) |
|
char | cfread_char (CFILE *file, int ver, char deflt) |
|
void | cfread_string (char *buf, int n, CFILE *file) |
|
void | cfread_string_len (char *buf, int n, CFILE *file) |
| Read a fixed length string that is not null-terminated, with the length stored in file. More...
|
|
int | cfwrite_float (float f, CFILE *file) |
|
int | cfwrite_int (int i, CFILE *file) |
|
int | cfwrite_uint (uint i, CFILE *file) |
|
int | cfwrite_short (short s, CFILE *file) |
|
int | cfwrite_ushort (ushort s, CFILE *file) |
|
int | cfwrite_ubyte (ubyte b, CFILE *file) |
|
int | cfwrite_vector (vec3d *vec, CFILE *file) |
|
int | cfwrite_angles (angles *ang, CFILE *file) |
|
int | cfwrite_char (char b, CFILE *file) |
|
int | cfwrite_string (const char *buf, CFILE *file) |
|
int | cfwrite_string_len (const char *buf, CFILE *file) |
| Write a fixed length string (not including its null terminator), with the length stored in file. More...
|
|
int | cfilelength (CFILE *cfile) |
|
int | cfwrite (const void *buf, int elsize, int nelem, CFILE *cfile) |
|
int | cfputc (int c, CFILE *cfile) |
|
int | cfputs (const char *str, CFILE *cfile) |
|
int | cfgetc (CFILE *cfile) |
|
char * | cfgets (char *buf, int n, CFILE *cfile) |
|
ushort | cf_add_chksum_short (ushort seed, ubyte *buffer, int size) |
|
uint | cf_add_chksum_long (uint seed, ubyte *buffer, int size) |
|
int | cf_chksum_pack (const char *filename, uint *chk_long, bool full) |
|
int | cf_chksum_short (const char *filename, ushort *chksum, int max_size, int cf_type) |
|
int | cf_chksum_short (CFILE *file, ushort *chksum, int max_size) |
|
int | cf_chksum_long (const char *filename, uint *chksum, int max_size, int cf_type) |
|
int | cf_chksum_long (CFILE *file, uint *chksum, int max_size) |
|
int | cflush (CFILE *cfile) |
|