Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3301 in orxonox.OLD for orxonox/branches


Ignore:
Timestamp:
Dec 27, 2004, 4:28:47 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/updater: now also works in non-gui-mode

Location:
orxonox/branches/updater/src/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui.cc

    r3300 r3301  
    133133  if ((c == 'y' || c == 'Y' || c== 10) && exec->shouldsave())
    134134    exec->writeToFile (Window::mainWindow);
    135    
     135  OrxonoxGuiExec::startOrxonox(NULL, exec);
    136136#endif /* HAVE_GTK2 */
    137137    }
  • orxonox/branches/updater/src/gui/orxonox_gui_exec.cc

    r3300 r3301  
    337337{
    338338  OrxonoxGuiExec* exec = (OrxonoxGuiExec*)data;
    339   COUT(3) << "Starting Orxonox" <<endl;
     339  PRINT(3)("Starting Orxonox\n");
    340340  if (exec->shouldsave())
    341341    exec->writeToFile (Window::mainWindow);
     342  system("cd ..;./orxonox"); //!< \todo fix this. should execute orxonox for real (coded not over the shell)
    342343}
    343344/**
     
    351352{
    352353  OrxonoxGuiExec* exec = (OrxonoxGuiExec*)data;
    353   COUT(3) << "Quiting Orxonox" <<endl;
     354  PRINT(3)("Quiting Orxonox");
    354355  if (exec->shouldsave())
    355356    exec->writeToFile (Window::mainWindow);
Note: See TracChangeset for help on using the changeset viewer.