Changeset 5829 in orxonox.OLD for branches/network/src/orxonox.h
- Timestamp:
- Nov 30, 2005, 9:43:05 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/orxonox.h
r5207 r5829 23 23 inline static Orxonox* getInstance() { if (!singletonRef) singletonRef = new Orxonox(); return singletonRef; }; 24 24 25 int init (int argc, char** argv);25 int init(int argc, char** argv, const char* name, int port); 26 26 27 27 void restart(); 28 28 29 29 void start(); 30 31 //void graphicsHandler (SDL_Event* event);32 30 33 31 private: … … 43 41 int initMisc (); 44 42 45 46 43 const char* getConfigFile (); 47 44 … … 55 52 unsigned int argc; //!< Count of Arguments of orxonox 56 53 char** argv; //!< Values of th Arguments of orxonox. 54 55 const char* clientName; //!< Name of the Orxonox client if == NULL -> server 56 int port; //!< number of the network port of the server/client if == -1 no network 57 57 }; 58 58 … … 61 61 // Start-up functions // 62 62 //////////////////////// 63 int startHelp(int argc, char** argv); 64 int startOrxonox(int argc, char** argv); 63 int showHelp(int argc, char** argv); 64 int showLicense(); 65 int startNetworkOrxonox(int argc, char** argv); 66 int startOrxonox(int argc, char** argv, const char* clientName, int port); 65 67 66 68 #endif /* _ORXONOX_H */
Note: See TracChangeset
for help on using the changeset viewer.