Removed servers.ini

This commit is contained in:
mathusummut
2018-09-27 00:48:42 +02:00
parent 7bf996e04b
commit e1f52a7ed8
8 changed files with 0 additions and 42 deletions

View File

@@ -1,6 +0,0 @@
; === propertyMap File ===
Initiate_1=94.23.148.250:62001
Initiate_2=94.23.148.250:62012
Initiate_3=94.23.148.250:62023
This computer=127.0.0.1

View File

@@ -767,9 +767,6 @@
<Content Include="..\..\shared\glestkeys.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\shared\servers.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="libzetaglest.vcxproj">

View File

@@ -579,9 +579,6 @@
<Content Include="..\..\shared\glestkeys.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\shared\servers.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="libzetaglest.vcxproj">

View File

@@ -767,9 +767,6 @@
<Content Include="..\..\shared\glestkeys.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\shared\servers.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="libzetaglest.vcxproj">

View File

@@ -579,9 +579,6 @@
<Content Include="..\..\shared\glestkeys.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\..\shared\servers.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="libzetaglest.vcxproj">

View File

@@ -467,7 +467,6 @@ namespace
ignoreBuildings = true;
command[i] = commandType;
}
Game* game = world->getGame();
for (int i = 0; i < selection->getCount(); ++i) {
const Unit * unit = selection->getUnit(i);
const CommandType *commandType = command[i];

View File

@@ -49,8 +49,6 @@ namespace Glest {
const int MenuStateJoinGame::newPrevServerIndex = 1;
const int MenuStateJoinGame::foundServersIndex = 2;
const string MenuStateJoinGame::serverFileName = "servers.ini";
MenuStateJoinGame::MenuStateJoinGame(Program * program,
MainMenu * mainMenu,
bool *
@@ -97,8 +95,6 @@ namespace Glest {
networkManager.end();
networkManager.init(nrClient);
serversSavedFile = serverFileName;
string serverListPath = config.getString("ServerListPath", "");
if (serverListPath != "") {
endPathWithSlash(serverListPath);
@@ -108,18 +104,6 @@ namespace Glest {
if (userData != "") {
endPathWithSlash(userData);
}
serversSavedFile = userData + serversSavedFile;
if (fileExists(serversSavedFile) == true) {
servers.load(serversSavedFile);
} else if (fileExists(serverListPath + serverFileName) == true) {
servers.load(serverListPath + serverFileName);
} else if (fileExists(Properties::getApplicationPath() + serverFileName)
== true) {
servers.load(Properties::getApplicationPath() + serverFileName);
} else if (fileExists(serverFileName) == true) {
servers.load(serverFileName);
}
//buttons
buttonReturn.registerGraphicComponent(containerName, "buttonReturn");
@@ -722,8 +706,6 @@ namespace Glest {
"In [%s::%s] clientInterface->getLaunchGame() - A\n",
__FILE__, __FUNCTION__);
servers.save(serversSavedFile);
if (SystemFlags::
getSystemSettingType(SystemFlags::debugSystem).enabled)
SystemFlags::OutputDebug(SystemFlags::debugSystem,
@@ -961,7 +943,6 @@ namespace Glest {
saveHost += ":" + hostPartsList[1];
}
servers.setString(clientInterface->getServerName(), saveHost);
servers.save(serversSavedFile);
if (SystemFlags::
getSystemSettingType(SystemFlags::debugSystem).enabled)

View File

@@ -44,9 +44,6 @@ namespace Glest {
newPrevServerIndex;
static const int
foundServersIndex;
static const
string
serverFileName;
private:
GraphicButton buttonReturn;
@@ -74,7 +71,6 @@ namespace Glest {
//Console console;
ChatManager chatManager;
string serversSavedFile;
bool abortAutoFind;
bool autoConnectToServer;