Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6392 in orxonox.OLD for branches/preferences/src/orxonox.cc


Ignore:
Timestamp:
Jan 3, 2006, 11:29:18 AM (19 years ago)
Author:
rennerc
Message:

orxonox.cc in main(): reading command line
cmd_line_prefs_reader: should work now

File:
1 edited

Legend:

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

    r6142 r6392  
    5757
    5858#include "network_manager.h"
     59
     60#include "lib/parser/preferences/cmd_line_prefs_reader.h"
    5961
    6062#include <string.h>
     
    398400int main(int argc, char** argv)
    399401{
    400   int i;
     402  CmdLinePrefsReader prefs(argc, argv);
     403
     404  /*int i;
    401405  for(i = 1; i < argc; ++i)
    402406  {
     
    411415    else if(!strcmp( "--license", argv[i])  || !strcmp("-s", argv[i]))
    412416      return PRINT(0)(ORXONOX_LICENSE_SHORT);
    413   }
    414 
    415   return startOrxonox(argc, argv, NULL, -1);
     417}
     418
     419  return startOrxonox(argc, argv, NULL, -1);*/
     420  return 0;
    416421}
    417422
Note: See TracChangeset for help on using the changeset viewer.