22 #ifndef NUVIE_FILES_NUVIE_IO_FILE_H 23 #define NUVIE_FILES_NUVIE_IO_FILE_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/nuvie/files/nuvie_io.h" 27 #include "common/file.h" 28 #include "common/memstream.h" 29 #include "common/savefile.h" 54 void close()
override;
55 void seek(uint32 new_pos)
override;
57 uint8 read1()
override;
58 uint16 read2()
override;
59 uint32 read4()
override;
61 bool readToBuf(
unsigned char *buf, uint32 buf_size)
override;
64 return _file !=
nullptr;
85 return _file !=
nullptr;
92 void close()
override;
93 void seek(uint32 new_pos)
override;
95 bool write1(uint8 src)
override;
96 bool write2(uint16 src)
override;
97 bool write4(uint32 src)
override;
102 uint32 writeBuf(
const unsigned char *src, uint32 src_size)
override;
103 uint32 write(
NuvieIO *src)
override;
Definition: savefile.h:54
Definition: memstream.h:194
Definition: nuvie_io_file.h:75
Definition: detection.h:27
Definition: nuvie_io_file.h:34
Definition: nuvie_io.h:32
Definition: nuvie_io_file.h:44