Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4830 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Jul 11, 2005, 5:43:37 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: implemented aim

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4827 r4830  
    7171  this->argv = NULL;
    7272
     73  this->configFileName = NULL;
     74
    7375}
    7476
     
    7981{
    8082  delete this->iniParser;
     83  delete this->configFileName;
    8184
    8285  delete GraphicsEngine::getInstance(); // deleting the Graphics
     
    116119 * it's path and name into configfilename
    117120*/
    118 const char* Orxonox::getConfigFile (int argc, char** argv)
    119 {
     121const char* Orxonox::getConfigFile ()
     122{
     123  this->configFileName = new char[strlen(DEFAULT_CONFIG_FILE)];
    120124  strcpy (this->configFileName, DEFAULT_CONFIG_FILE);
    121125  this->iniParser = new IniParser(this->configFileName);
     
    133137
    134138  // initialize the Config-file
    135   this->getConfigFile(argc, argv);
     139  this->getConfigFile();
    136140
    137141
     
    351355int startOrxonox(int argc, char** argv)
    352356{
    353   // checking for existence of the configuration-files
     357  // checking for existence of the configuration-files, or if the lock file is still used
    354358  if (showGui ||
    355359      !ResourceManager::isFile(DEFAULT_CONFIG_FILE) ||
Note: See TracChangeset for help on using the changeset viewer.