22 #ifndef SCUMM_FILE_NES_H 23 #define SCUMM_FILE_NES_H 25 #include "scumm/file.h" 26 #include "common/array.h" 65 NES_TITLE2_SPARKLECHR,
66 NES_TITLE2_SPARKLEPAL,
100 bool generateIndex();
101 bool generateResource(
int res);
106 uint16 fileReadUint16LE();
112 bool openSubFile(
const Common::Path &filename)
override;
114 void close()
override;
115 bool eos()
const override {
return _stream->
eos(); }
116 int64
pos()
const override {
return _stream->
pos(); }
117 int64
size()
const override {
return _stream->
size(); }
118 bool seek(int64 offs,
int whence = SEEK_SET)
override {
return _stream->
seek(offs, whence); }
119 uint32
read(
void *dataPtr, uint32 dataSize)
override;
virtual int64 size() const =0
Definition: file_nes.h:30
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:115
int64 pos() const override
Definition: file_nes.h:116
uint32 read(void *dataPtr, uint32 dataSize) override
bool seek(int64 offs, int whence=SEEK_SET) override
Definition: file_nes.h:118
int64 size() const override
Definition: file_nes.h:117
Definition: file_nes.h:70