Updates to new netplayer code to default the value to the hostname and not crash if the property is missing from glest.ini. Also added new property to configurator

This commit is contained in:
Mark Vejvoda
2010-03-23 02:37:41 +00:00
parent 5b713bd785
commit 237b76e2f2
9 changed files with 39 additions and 33 deletions

View File

@@ -77,8 +77,8 @@ public:
bool isWritable(bool waitOnDelayedResponse);
bool isConnected();
string getHostName() const;
string getIp() const;
static string getHostName();
static string getIp();
protected:
static void throwException(const string &str);

View File

@@ -81,8 +81,8 @@ public:
bool isWritable(bool waitOnDelayedResponse);
bool isConnected();
string getHostName() const;
string getIp() const;
static string getHostName();
static string getIp();
protected:
static void throwException(const string &str);