* Change options.txt separator from '|' to ':'.

* Move FireTexture.cpp into the correct filter.
This commit is contained in:
iProgramInCpp
2023-08-09 18:44:49 +03:00
parent a6845ca582
commit a7f56c5581
2 changed files with 5 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ std::vector<std::string> AppPlatform_windows::getOptionStrings()
ss << str;
std::string key, value;
if (std::getline(ss, key, '|') && std::getline(ss, value))
if (std::getline(ss, key, ':') && std::getline(ss, value))
{
o.push_back(key);
o.push_back(value);
@@ -230,7 +230,7 @@ void AppPlatform_windows::setOptionStrings(const std::vector<std::string>& str)
os << "#Config file for Minecraft PE. The # at the start denotes a comment, removing it makes it a command.\n\n";
for (int i = 0; i < int(str.size()); i += 2)
os << str[i] << '|' << str[i + 1] << '\n';
os << str[i] << ':' << str[i + 1] << '\n';
}
void AppPlatform_windows::setScreenSize(int width, int height)

View File

@@ -1964,6 +1964,9 @@
<ClCompile Include="..\source\client\renderer\LavaSideTexture.cpp">
<Filter>source\client\renderer</Filter>
</ClCompile>
<ClCompile Include="..\source\client\renderer\FireTexture.cpp">
<Filter>source\client\renderer</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Text Include="..\thirdparty\raknet\CMakeLists.txt">