mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 18:19:20 +02:00
poprawka ładowania mmd
This commit is contained in:
4
parser.h
4
parser.h
@@ -28,7 +28,7 @@ class cParser //: public std::stringstream
|
||||
buffer_TEXT
|
||||
};
|
||||
// constructors:
|
||||
cParser(std::string const &Stream, buffertype const Type = buffer_TEXT, std::string Path = "", bool const Loadtraction = true, std::vector<std::string> Parameters = std::vector<std::string>() );
|
||||
cParser(std::string const &Stream, buffertype const Type = buffer_TEXT, std::string Path = "", bool const Loadtraction = true, std::vector<std::string> Parameters = std::vector<std::string>(), bool allowRandom = false );
|
||||
// destructor:
|
||||
virtual ~cParser();
|
||||
// methods:
|
||||
@@ -91,7 +91,6 @@ class cParser //: public std::stringstream
|
||||
// returns number of currently processed line in main file, -1 if inside include
|
||||
int LineMain() const;
|
||||
bool expandIncludes = true;
|
||||
bool allowRandomIncludes = false;
|
||||
|
||||
private:
|
||||
// methods:
|
||||
@@ -119,6 +118,7 @@ class cParser //: public std::stringstream
|
||||
std::shared_ptr<cParser> mIncludeParser; // child class to handle include directives.
|
||||
std::vector<std::string> parameters; // parameter list for included file.
|
||||
std::deque<std::string> tokens;
|
||||
bool allowRandomIncludes = false;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user