Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4044 in orxonox.OLD for orxonox/branches/guiMerge/src/orxonox.cc


Ignore:
Timestamp:
May 4, 2005, 7:17:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/guiMerge: merged the Gui into the orxonox-binary, but it does not finish nicely (yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/guiMerge/src/orxonox.cc

    r4042 r4044  
    2626
    2727#include "orxonox.h"
     28
     29#include "orxonox_gui.h"
    2830
    2931#include "world.h"
     
    337339      if (ResourceManager::isFile("~/.orxonox/orxonox.lock"))
    338340        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;
    344347    }
    345348 
Note: See TracChangeset for help on using the changeset viewer.