Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7256 in orxonox.OLD for trunk/src/orxonox.h


Ignore:
Timestamp:
Mar 30, 2006, 11:45:31 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the preferences back to the trunk
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/preferences . -r7233:HEAD
no conflicts… nice work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/orxonox.h

    r7221 r7256  
    1111class WorldEntity;
    1212class GameLoader;
    13 class IniParser;
    1413
    1514//! orxonox core singleton class
     
    2322  inline static Orxonox* getInstance() { if (!singletonRef) singletonRef = new Orxonox();  return singletonRef; };
    2423
    25   int init(int argc, char** argv, const char* name, int port);
     24  int init(int argc, char** argv, const std::string & name, int port);
    2625
    2726  void restart();
     
    3130 private:
    3231  Orxonox ();
    33 
    34   void parseIniFile(const std::string& fileName);
    3532
    3633  int initResources ();
     
    4643  static Orxonox*   singletonRef;            //!< singleton reference to orxonox
    4744
    48   IniParser*        iniParser;               //!< Reference to the ini-parser used in orxonox
    4945  std::string       configFileName;          //!< Filename of the configuration-file.
    5046  GameLoader*       gameLoader;              //!< The gameLoader
     
    5349  char**            argv;                    //!< Values of th Arguments of orxonox.
    5450
    55   const char*       serverName;              //!< Name of the Orxonox client if == NULL -> server
     51  std::string       serverName;              //!< Name of the Orxonox client if == "" -> server
    5652  int               port;                    //!< number of the network port of the server/client if == -1 no network
    5753};
     
    6157// Start-up functions //
    6258////////////////////////
    63 int showHelp(int argc, char** argv);
    64 int showLicense();
     59
    6560int startNetworkOrxonox(int argc, char** argv);
    66 int startOrxonox(int argc, char** argv, const char* clientName, int port);
     61int startOrxonox(int argc, char** argv, const std::string & clientName, int port);
    6762
    6863#endif /* _ORXONOX_H */
Note: See TracChangeset for help on using the changeset viewer.