mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-12 15:08:26 +00:00
Fix Build
This commit is contained in:
@@ -29,7 +29,7 @@ const Options::Option Options::Option::options[18] =
|
||||
Options::Option(L"options.difficulty", false, false),
|
||||
Options::Option(L"options.graphics", false, false),
|
||||
Options::Option(L"options.ao", false, true),
|
||||
Options::Option(L"options.MipmapsBlend", false, false),
|
||||
Options::Option(L"options.mipmapsBlend", false, false),
|
||||
Options::Option(L"options.guiScale", false, false),
|
||||
Options::Option(L"options.fov", true, false),
|
||||
Options::Option(L"options.gamma", true, false),
|
||||
@@ -121,7 +121,7 @@ void Options::init()
|
||||
advancedOpengl = false;
|
||||
framerateLimit = 0;
|
||||
fancyGraphics = true;
|
||||
MipmapsBlend = false;
|
||||
mipmapsBlend = false;
|
||||
ambientOcclusion = true;
|
||||
renderClouds = true;
|
||||
skin = L"Default";
|
||||
@@ -253,7 +253,7 @@ void Options::set(const Options::Option *item, float fVal)
|
||||
}
|
||||
if (item == Option::MIPMAPS_BLEND)
|
||||
{
|
||||
MipmapsBlend = fVal;
|
||||
mipmapsBlend = fVal;
|
||||
}
|
||||
if (item == Option::AMBIENT_OCCLUSION)
|
||||
{
|
||||
@@ -302,7 +302,7 @@ void Options::toggle(const Options::Option *option, int dir)
|
||||
}
|
||||
if (option == Option::MIPMAPS_BLEND)
|
||||
{
|
||||
MipmapsBlend = !MipmapsBlend;
|
||||
mipmapsBlend = !mipmapsBlend;
|
||||
minecraft->textures->reloadAll();
|
||||
}
|
||||
|
||||
@@ -320,7 +320,7 @@ float Options::getProgressValue(const Options::Option *item)
|
||||
if (item == Option::RENDER_DISTANCE) return viewDistance;
|
||||
if (item == Option::GRAPHICS) return fancyGraphics;
|
||||
if (item == Option::AMBIENT_OCCLUSION) return ambientOcclusion;
|
||||
if (item == Option::MIPMAPS_BLEND) return MipmapsBlend;
|
||||
if (item == Option::MIPMAPS_BLEND) return mipmapsBlend;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -474,7 +474,7 @@ void Options::load()
|
||||
if (cmds[0] == L"difficulty") difficulty = _fromString<int>(cmds[1]);
|
||||
if (cmds[0] == L"fancyGraphics") fancyGraphics = cmds[1]==L"true";
|
||||
if (cmds[0] == L"ao") ambientOcclusion = cmds[1]==L"true";
|
||||
if (cmds[0] == L"betterWater") betterWater = cmds[1]==L"false";
|
||||
if (cmds[0] == L"mipmapsBlend") mipmapsBlend = cmds[1]==L"false";
|
||||
if (cmds[0] == L"clouds") renderClouds = cmds[1]==L"true";
|
||||
if (cmds[0] == L"advancedTooltips") advancedTooltips = cmds[1]==L"false";
|
||||
if (cmds[0] == L"skin") skin = cmds[1];
|
||||
@@ -533,7 +533,7 @@ void Options::save()
|
||||
dos.writeChars(L"difficulty:" + std::to_wstring(difficulty));
|
||||
dos.writeChars(L"fancyGraphics:" + wstring(fancyGraphics ? L"true" : L"false"));
|
||||
dos.writeChars(ambientOcclusion ? L"ao:true" : L"ao:false");
|
||||
dos.writeChars(betterWater ? L"betterWater:true" : L"betterWater:false");
|
||||
dos.writeChars(mipmapsBlend ? L"mipmapsBlend:true" : L"mipmapsBlend:false");
|
||||
dos.writeChars(renderClouds ? L"clouds:true" : L"clouds:false");
|
||||
dos.writeChars(advancedTooltips ? L"advancedTooltips:true" : L"advancedTooltips:false");
|
||||
dos.writeChars(L"skin:" + skin);
|
||||
|
||||
Reference in New Issue
Block a user