Changeset 4059 in orxonox.OLD for orxonox/trunk/src/orxonox.cc
- Timestamp:
- May 5, 2005, 2:26:30 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r4057 r4059 49 49 Orxonox::Orxonox () 50 50 { 51 pause = false; 51 this->pause = false; 52 52 53 this->world = NULL; 53 54 this->resources = NULL; … … 292 293 293 294 295 bool showGui = false; 294 296 295 297 /** … … 317 319 if(! strcmp( "--help", argv[i])) return startHelp(); 318 320 else if(! strcmp( "--benchmark", argv[i])) return startBenchmarks(); 319 321 else if(! strcmp( "--gui", argv[i]) || !strcmp("-g", argv[i])) showGui = true; 320 322 else PRINTF(2)("Orxonox does not understand the arguments %s\n", argv[i]); 321 323 } … … 333 335 PRINT(0)(" --benchmark\tstarts the orxonox benchmark\n"); 334 336 PRINT(0)(" --help \tshows this menu\n"); 337 PRINT(0)(" --gui/-g \tDisplays the Gui on startup\n"); 335 338 } 336 339 … … 339 342 { 340 343 // checking for existence of the configuration-files 341 if (!ResourceManager::isFile("~/.orxonox/orxonox.conf") || ResourceManager::isFile("~/.orxonox/orxonox.lock")) 344 if (showGui || 345 !ResourceManager::isFile("~/.orxonox/orxonox.conf") || 346 ResourceManager::isFile("~/.orxonox/orxonox.lock")) 342 347 { 343 348 if (ResourceManager::isFile("~/.orxonox/orxonox.lock"))
Note: See TracChangeset
for help on using the changeset viewer.