Changeset 7255 in orxonox.OLD for branches/preferences/src/orxonox.h
- Timestamp:
- Mar 30, 2006, 11:11:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/preferences/src/orxonox.h
r7254 r7255 22 22 inline static Orxonox* getInstance() { if (!singletonRef) singletonRef = new Orxonox(); return singletonRef; }; 23 23 24 int init(int argc, char** argv, const char*name, int port);24 int init(int argc, char** argv, const std::string & name, int port); 25 25 26 26 void restart(); … … 49 49 char** argv; //!< Values of th Arguments of orxonox. 50 50 51 const char* serverName; //!< Name of the Orxonox client if == NULL-> server51 std::string serverName; //!< Name of the Orxonox client if == "" -> server 52 52 int port; //!< number of the network port of the server/client if == -1 no network 53 53 }; … … 59 59 60 60 int startNetworkOrxonox(int argc, char** argv); 61 int startOrxonox(int argc, char** argv, const char*clientName, int port);61 int startOrxonox(int argc, char** argv, const std::string & clientName, int port); 62 62 63 63 #endif /* _ORXONOX_H */
Note: See TracChangeset
for help on using the changeset viewer.