mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 03:44:00 +02:00
- added another special variable (application path) that can be used for variable substituion in ini file values
This commit is contained in:
@@ -43,9 +43,13 @@ private:
|
||||
PropertyVector propertyVector;
|
||||
PropertyMap propertyMap;
|
||||
string path;
|
||||
static string applicationPath;
|
||||
|
||||
bool applyTagsToValue(string &value);
|
||||
public:
|
||||
static void setApplicationPath(string value) { applicationPath=value; }
|
||||
static string getApplicationPath() { return applicationPath; }
|
||||
|
||||
void clear();
|
||||
void load(const string &path);
|
||||
void save(const string &path);
|
||||
|
Reference in New Issue
Block a user