Changeset 4044 in orxonox.OLD for orxonox/branches/guiMerge/src/orxonox.cc
- Timestamp:
- May 4, 2005, 7:17:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/guiMerge/src/orxonox.cc
r4042 r4044 26 26 27 27 #include "orxonox.h" 28 29 #include "orxonox_gui.h" 28 30 29 31 #include "world.h" … … 337 339 if (ResourceManager::isFile("~/.orxonox/orxonox.lock")) 338 340 ResourceManager::deleteFile("~/.orxonox/orxonox.lock"); 339 char* guiExec = new char[strlen(argv[0])+20]; 340 sprintf(guiExec,"%sGui --gui", argv[0]); 341 system(guiExec); 342 delete guiExec; 343 return 0; 341 // char* guiExec = new char[strlen(argv[0])+20]; 342 // sprintf(guiExec,"%sGui --gui", argv[0]); 343 OrxonoxGui* gui = new OrxonoxGui(argc, argv); 344 delete gui; 345 // delete guiExec; 346 // return 0; 344 347 } 345 348
Note: See TracChangeset
for help on using the changeset viewer.