Changeset 6351 in orxonox.OLD for branches/network/src/orxonox.h
- Timestamp:
- Dec 30, 2005, 1:55:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/orxonox.h
r5996 r6351 9 9 #include "base_object.h" 10 10 11 class WorldEntity;12 11 class GameLoader; 13 12 class IniParser; … … 18 17 class Orxonox : public BaseObject { 19 18 19 20 20 public: 21 21 virtual ~Orxonox (); … … 24 24 25 25 int init(int argc, char** argv, const char* name, int port); 26 void start(); 26 27 27 void restart();28 29 void start();30 28 31 29 private: 32 30 Orxonox (); 33 31 32 int initResources (int argc, char** argv); 33 int initVideo (int argc, char** argv); 34 int initSound (int argc, char** argv); 35 int initInput (int argc, char** argv); 36 int initNetworking (int argc, char** argv); 37 int initMisc (int argc, char** argv); 38 34 39 void parseIniFile(const char* fileName); 40 const char* getConfigFile (); 35 41 36 int initResources ();37 int initVideo ();38 int initSound ();39 int initInput ();40 int initNetworking ();41 int initMisc ();42 43 const char* getConfigFile ();44 42 45 43 private: … … 54 52 55 53 const char* serverName; //!< Name of the Orxonox client if == NULL -> server 54 int dedicatedServer; //!< is 1 if the server is a dedicated server, 0 else 56 55 int port; //!< number of the network port of the server/client if == -1 no network 57 56 }; … … 63 62 int showHelp(int argc, char** argv); 64 63 int showLicense(); 65 int startNetworkOrxonox(int argc, char** argv);66 64 int startOrxonox(int argc, char** argv, const char* clientName, int port); 67 65
Note: See TracChangeset
for help on using the changeset viewer.