Additional Laptop files (by sun_alf).

Example file: https://github.com/sun-alf/BRAINMOD-o/blob/master/Data-BRAINMOD/TableData/Laptop/AdditionalFiles.xml

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9363 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2022-04-13 10:43:49 +00:00
parent 186a722519
commit 67d5aeadb0
11 changed files with 503 additions and 143 deletions
+3 -3
View File
@@ -37,10 +37,10 @@ namespace vfs
{
static const vfs::size_t BUFFER_SIZE = 1024;
public:
CReadLine(vfs::tReadableFile& rFile);
CReadLine(vfs::tReadableFile& rFile, bool autoControlFile = true);
~CReadLine();
bool fillBuffer();
bool fillBuffer(bool refill = false);
bool fromBuffer(std::string& line);
bool getLine(std::string& line);
private:
@@ -49,7 +49,7 @@ namespace vfs
vfs::size_t _bytes_left;
vfs::size_t _buffer_pos;
vfs::size_t _buffer_last;
bool _eof;
bool _auto_ctrl_file; // if false the object user checks for EOF and closes file
void operator=(CReadLine const& rl);
};