22 #ifndef SCUMM_FILE_NES_H 23 #define SCUMM_FILE_NES_H 25 #include "scumm/file.h" 72 bool generateResource(
int res);
76 uint16 fileReadUint16LE();
84 void close()
override;
85 bool eos()
const override {
return _stream->
eos(); }
86 int64
pos()
const override {
return _stream->
pos(); }
87 int64
size()
const override {
return _stream->
size(); }
88 bool seek(int64 offs,
int whence = SEEK_SET)
override {
return _stream->
seek(offs, whence); }
89 uint32
read(
void *dataPtr, uint32 dataSize)
override;
virtual int64 size() const =0
Definition: file_nes.h:29
virtual int64 pos() const =0
virtual bool seek(int64 offset, int whence=SEEK_SET)=0
virtual bool eos() const =0
bool eos() const override
Definition: file_nes.h:85
int64 pos() const override
Definition: file_nes.h:86
uint32 read(void *dataPtr, uint32 dataSize) override
bool seek(int64 offs, int whence=SEEK_SET) override
Definition: file_nes.h:88
int64 size() const override
Definition: file_nes.h:87