diff options
author | David Eriksson | 2004-01-05 11:58:20 +0000 |
---|---|---|
committer | David Eriksson | 2004-01-05 11:58:20 +0000 |
commit | c21e5d797cbcd19a949eed9a94ebee283af90a24 (patch) | |
tree | 54ab54fc138cd668b57f206f75e1ce9c810ee205 /queen/resource.h | |
parent | 8dabcaaef10227cc87c62a84598df87e814357dc (diff) | |
download | scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.tar.gz scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.tar.bz2 scummvm-rg350-c21e5d797cbcd19a949eed9a94ebee283af90a24.zip |
At last - credits!
svn-id: r12155
Diffstat (limited to 'queen/resource.h')
-rw-r--r-- | queen/resource.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/queen/resource.h b/queen/resource.h index d4b9f0f319..04b360f2f7 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -61,6 +61,17 @@ struct GameVersion { uint32 dataFileSize; }; +class LineReader { + +public: + LineReader(char *buffer); + ~LineReader(); + char* nextLine(); + +private: + char *_buffer; + int _current; +}; class Resource { @@ -81,7 +92,6 @@ public: uint8 compression() const { return _compression; } const char *JASVersion() const { return _versionString; } Language getLanguage() const; - char *getJAS2Line(); bool writeSave(uint16 slot, const byte *saveData, uint32 size); bool readSave(uint16 slot, byte *&ptr); @@ -94,8 +104,6 @@ public: protected: File *_resourceFile; - char *_JAS2Ptr; - uint32 _JAS2Pos; uint8 _compression; const Common::String _datafilePath; char _versionString[6]; |