Пример #1
0
 // ------------------------------------------------ BORDER OF FUNCTION ---------------------------------------------------------- //
 private void refreshAllValue()
 {
     setupENB = FuncSettings.checkENB();
     FuncSettings.physicsFPS();
     FuncSettings.restoreENBAdapter();
     FuncSettings.restoreENBBorderless();
     FuncSettings.restoreENBVSync();
     if (!setupENB || FuncSettings.checkENBoost())
     {
         FuncMisc.refreshButton(button_AO, "", "", "", null, false);
         FuncMisc.refreshButton(button_DOF, "", "", "", null, false);
         FuncMisc.refreshButton(button_EAA, "", "", "", null, false);
         FuncMisc.refreshButton(button_SAA, "", "", "", null, false);
         FuncMisc.refreshButton(button_TAA, "", "", "", null, false);
         if (!File.Exists(FormMain.pathDataFolder + "GameText9.bsa"))
         {
             FuncMisc.unpackArhive(FormMain.pathSystemFolder + "GameText9", true);
         }
     }
     else
     {
         refreshAO();
         refreshDOF();
         refreshEAA();
         refreshSAA();
         refreshTAA();
         FuncFiles.deleteAny(FormMain.pathDataFolder + "GameText9.bsa");
     }
     refreshAF();
     refreshAutoDetect();
     refreshCompressMemory();
     refreshFPS();
     refreshMemory();
     refreshExpandMemory();
 }
Пример #2
0
 //////////////////////////////////////////////////////ГРАНИЦА ФУНКЦИИ//////////////////////////////////////////////////////////////
 private void refreshSettings()
 {
     refreshScreenResolution();
     refreshScreenIndex();
     refreshTextures();
     refreshDecals();
     refreshShadow();
     refreshWaterReflect();
     refreshWaterReflectSky();
     refreshWaterReflectLand();
     refreshWaterReflectObjects();
     refreshWaterReflectTrees();
     refreshWindow();
     refreshVsync();
     refreshGrass();
     refreshValueLabelPapyrus();
     refreshObjects();
     refreshActors();
     refreshLights();
     refreshLODObjects();
     refreshItems();
     refreshPredictFPS();
     refreshGrassDistance();
     refreshShadowRange();
     refreshHideObjects();
     if (FuncSettings.checkENB())
     {
         comboBoxAFTAB.Enabled = false;
         if (!FuncSettings.checkENBoost())
         {
             comboBoxAATAB.Enabled  = false;
             button_FXAATAB.Enabled = false;
         }
         else
         {
             refreshFXAA();
             refreshAA();
         }
     }
     else
     {
         refreshFXAA();
         refreshAA();
         refreshAF();
     }
 }
Пример #3
0
 //////////////////////////////////////////////////////ГРАНИЦА ФУНКЦИИ//////////////////////////////////////////////////////////////
 private void refreshAllValue()
 {
     setupENB = FuncSettings.checkENB();
     if (!FuncSettings.checkENBoost())
     {
         refreshEAA();
         refreshSAA();
         refreshTAA();
         refreshDOF();
     }
     refresAutoDetect();
     refresbuttonExpandMemory();
     refresCompressMemory();
     refreshAF();
     refreshFPS();
     refreshMemory();
     restoreAllValue();
 }