Changeset 4830 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- Jul 11, 2005, 5:43:37 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r4827 r4830 71 71 this->argv = NULL; 72 72 73 this->configFileName = NULL; 74 73 75 } 74 76 … … 79 81 { 80 82 delete this->iniParser; 83 delete this->configFileName; 81 84 82 85 delete GraphicsEngine::getInstance(); // deleting the Graphics … … 116 119 * it's path and name into configfilename 117 120 */ 118 const char* Orxonox::getConfigFile (int argc, char** argv) 119 { 121 const char* Orxonox::getConfigFile () 122 { 123 this->configFileName = new char[strlen(DEFAULT_CONFIG_FILE)]; 120 124 strcpy (this->configFileName, DEFAULT_CONFIG_FILE); 121 125 this->iniParser = new IniParser(this->configFileName); … … 133 137 134 138 // initialize the Config-file 135 this->getConfigFile( argc, argv);139 this->getConfigFile(); 136 140 137 141 … … 351 355 int startOrxonox(int argc, char** argv) 352 356 { 353 // checking for existence of the configuration-files 357 // checking for existence of the configuration-files, or if the lock file is still used 354 358 if (showGui || 355 359 !ResourceManager::isFile(DEFAULT_CONFIG_FILE) ||
Note: See TracChangeset
for help on using the changeset viewer.