mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
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:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user