22#ifndef M4_FILEIO_SYS_FILE_H
23#define M4_FILEIO_SYS_FILE_H
25#include "common/file.h"
26#include "m4/fileio/fileio.h"
27#include "m4/mem/reloc.h"
40 bool hag_flag =
false;
41 bool first_read_flag =
false;
51 AccessMode mode = UNOPENED;
53 bool show_error_flag =
true;
56 uint32 last_head_pos = 0;
60 void open_read_low_level();
61 bool open_hash_file();
67 uint32 key_to_hash_address(
const Common::String &src, uint32 hash_table_size);
84 bool get_local_name_from_hagfile(
Common::String &local_name,
byte hagfile);
122 uint32
read(MemHandle bufferHandle);
123 int32
read(MemHandle bufferHandle, int32 n);
124 int32
read(
byte *bufferHandle, int32 n);
138 int16 readSint16LE() {
146 int32 readSint32LE() {
156void sysfile_init(
bool in_hag_mode);
157void sysfile_shutdown();
Definition: sys_file.h:47
uint32 read(MemHandle bufferHandle)
bool seek_ahead(int32 amount)
Definition: database.h:28
Definition: sys_file.h:39
Definition: sys_file.h:31