mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
- added another special variable (application path) that can be used for variable substituion in ini file values
This commit is contained in:
@@ -210,6 +210,7 @@ MainWindow::MainWindow( std::pair<string,vector<string> > unitToLoad,
|
||||
wxSize(Renderer::windowW, Renderer::windowH)), model(NULL), glCanvas(NULL), renderer(NULL), initTextureManager(true), timer(NULL)
|
||||
{
|
||||
this->appPath = appPath;
|
||||
Properties::setApplicationPath(extractDirectoryPathFromFile(appPath));
|
||||
|
||||
Config &config = Config::getInstance();
|
||||
//getGlPlatformExtensions();
|
||||
|
Reference in New Issue
Block a user