Want more features on Pastebin? Sign Up, it's FREE!
Guest

ENB Min/Max Values

By: icelaglace on Jul 17th, 2011  |  syntax: POV-Ray  |  size: 18.77 KB  |  views: 3,381  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. {
  2.   int v0; // eax@1
  3.   char v1; // cl@2
  4.   int v2; // eax@3
  5.   char v3; // cl@4
  6.   unsigned int v4; // esi@5
  7.   int v5; // eax@7
  8.   char v6; // cl@8
  9.   long double v7; // st7@24
  10.   int result; // eax@28
  11.   char v9[512]; // [sp+110h] [bp-250h]@1
  12.   int v10; // [sp+310h] [bp-50h]@3
  13.   char v11[64]; // [sp+320h] [bp-40h]@3
  14.  
  15.   v0 = 0;
  16.   memset(v9, 0, sizeof(v9));
  17.   do
  18.   {
  19.     v1 = byte_1002F978[v0];
  20.     v9[v0++] = v1;
  21.   }
  22.   while ( v1 );
  23.   v10 = 0;
  24.   sub_1001A8A0("PROXY", "EnableProxyLibrary", (int)&dword_100B5E40, 0);
  25.   sub_1001A8A0("PROXY", "InitProxyFunctions", (int)&dword_100B3FD8, 1);
  26.   sub_1001AFD0("PROXY", "ProxyLibrary", byte_100B5A28, (int)&unk_1002F945);
  27.   sub_1001AFD0("GLOBAL", "AdditionalConfigFile", v11, (int)"iceconfig2.ini");
  28.   v2 = 0;
  29.   memset(v9, 0, sizeof(v9));
  30.   do
  31.   {
  32.     v3 = byte_1002F978[v2];
  33.     v9[v2++] = v3;
  34.   }
  35.   while ( v3 );
  36.   v10 = 0;
  37.   v4 = 0;
  38.   do
  39.   {
  40.     if ( v4 == 1 )
  41.     {
  42.       v5 = 0;
  43.       memset(v9, 0, sizeof(v9));
  44.       do
  45.       {
  46.         v6 = v11[v5];
  47.         v9[v5++] = v6;
  48.       }
  49.       while ( v6 );
  50.       v10 = 1;
  51.     }
  52.     sub_1001A8A0("GLOBAL", "UseEffect", (int)&dword_100B5E30, 1);
  53.     sub_1001A8A0("GLOBAL", "ForceNVidiaCard", (int)&dword_100B40AC, 0);
  54.     sub_1001A8A0("GLOBAL", "ForceNVidiaCaps", (int)&dword_100B5EE4, 0);
  55.     sub_1001A8A0("GLOBAL", "CyclicConfigReading", (int)&dword_100B5F64, 0);
  56.     sub_1001A8A0("ENGINE", "ForceDisplaySize", (int)&dword_100B5C74, 0);
  57.     sub_1001A8A0("ENGINE", "ForceDisplayRefreshRate", (int)&dword_100B5EB4, 0);
  58.     sub_1001A8A0("ENGINE", "ForceAntialiasing", (int)&dword_100B5EAC, 0);
  59.     sub_1001A8A0("ENGINE", "ForceAnisotropicFiltering", (int)&dword_100B5EB0, 0);
  60.     sub_1001AAF0("ENGINE", "MaxAnisotropy", (int)&dword_100B4038, 8, 0, 16);
  61.     sub_1001AAF0("ENGINE", "AntialiasingQuality", (int)&dword_100B4300, 2, -1, 2);
  62.     if ( dword_100B4300 == 2 )
  63.     {
  64.       dword_100B42FC = 4;
  65.     }
  66.     else
  67.     {
  68.       if ( dword_100B4300 == 1 )
  69.       {
  70.         dword_100B42FC = 4;
  71.       }
  72.       else
  73.       {
  74.         if ( dword_100B4300 )
  75.         {
  76.           if ( dword_100B4300 == -1 )
  77.             dword_100B42FC = 16;
  78.         }
  79.         else
  80.         {
  81.           dword_100B42FC = 9;
  82.         }
  83.       }
  84.     }
  85.     if ( dword_100B5EAC )
  86.     {
  87.       if ( dword_100B5EAC == 1 )
  88.         dword_100B5C74 = 1;
  89.     }
  90.     else
  91.     {
  92.       dword_100B42FC = 1;
  93.     }
  94.     sub_1001AD00("ENGINE", "AntialiasingUpScale", (int)&dword_100B4304, 1.0, 0.25, 1.0);
  95.     if ( !dword_100B5EAC )
  96.       dword_100B4304 = 1065353216;
  97.     v7 = (double)(unsigned int)dword_100B42FC;
  98.     if ( !dword_100B42FC || (unsigned int)dword_100B42FC > 0x10 || v7 < 1.0 )
  99.       v7 = 1.0;
  100.     flt_100B3F04 = sqrt(v7) * *(float *)&dword_100B4304;
  101.     sub_1001AAF0("ENGINE", "DisplayRefreshRateHz", (int)&dword_100B403C, 60, 0, 240);
  102.     sub_1001AAF0("ENGINE", "DisplayWidth", (int)&dword_100B3F08, 1024, 16, 32768);
  103.     sub_1001AAF0("ENGINE", "DisplayHeight", (int)&cy, 768, 16, 32768);
  104.     dword_100B4148 = 0;
  105.     dword_100B5EFC = 0;
  106.     sub_1001A8A0("EFFECT", "EnableBloom", (int)&dword_100B3FB4, 1);
  107.     sub_1001A8A0("EFFECT", "EnableAmbientOcclusion", (int)&dword_100B3FB0, 0);
  108.     sub_1001A8A0("EFFECT", "EnableSkyLighting", (int)&dword_100B3FB8, 1);
  109.     sub_1001A8A0("EFFECT", "UseOriginalPostProcessing", (int)&dword_100B5E38, 0);
  110.     sub_1001AAF0("INPUT", "KeyUseEffect", (int)&dword_100B5E50, 123, 0, 255);
  111.     sub_1001AAF0("INPUT", "KeyAmbientOcclusion", (int)&dword_100B5E48, 121, 0, 255);
  112.     sub_1001AAF0("INPUT", "KeyCombination", (int)&vKey, 16, 0, 255);
  113.     sub_1001AAF0("INPUT", "KeyScreenshot", (int)&dword_100B5E60, 44, 0, 255);
  114.     sub_1001AAF0("INPUT", "KeyShowFPS", (int)&dword_100B5E64, 106, 0, 255);
  115.     sub_1001AD00("BLOOD", "ReflectionAmount", (int)&flt_100B41EC, 2.0, 0.0, 1000.0);
  116.     sub_1001AD00("BLOOD", "SpecularPower", (int)&dword_100B41F0, 0.800000011920929, 0.0, 1.0);
  117.     sub_1001AD00("TREE", "LeavesReflectionAmount", (int)&dword_100B41F4, 0.1500000059604645, 0.0, 100.0);
  118.     sub_1001AD00("TREE", "LeavesSpecularPower", (int)"-¦L>-¦L>-¦L>-¦L?-¦L?", 0.2000000029802322, 0.0, 1000.0);
  119.     sub_1001AD00("TREE", "LeavesAmbientAmount", (int)&aLLLL_L_[8], 0.4000000059604645, 0.0, 1000.0);
  120.     sub_1001AD00("TREE", "LeavesColorMultiplier", (int)&aLLLL_L_[12], 1.200000047683716, 0.0, 1000.0);
  121.     sub_1001AD00("TREE", "LeavesColorPow", (int)&aLLLL_L_[16], 0.800000011920929, 0.0, 100.0);
  122.     sub_1001AD00("TREE", "LeavesColorFilterR", (int)&aLLLL_L_[20], 1.0, 0.0, 100.0);
  123.     sub_1001AD00("TREE", "LeavesColorFilterG", (int)&dword_100B4210, 1.0, 0.0, 100.0);
  124.     sub_1001AD00("TREE", "LeavesColorFilterB", (int)&dword_100B4214, 1.0, 0.0, 100.0);
  125.     sub_1001AD00("BUILDING", "WindowLightIntensity", (int)"ffª?", 1.299999952316284, 0.0, 1000.0);
  126.     sub_1001A8A0("LIGHTSPRITE", "UseExternalTexture", (int)&dword_100B419C, 1);
  127.     sub_1001AD00("LIGHTSPRITE", "Intensity", (int)&dword_100B41A0, 3.0, 0.0, 1000.0);
  128.     sub_1001AD00("LIGHTSPRITE", "IntensityInReflection", (int)&dword_100B41A4, 3.0, 0.0, 1000.0);
  129.     sub_1001A8A0("LIGHTSPRITE", "UseRays", (int)&dword_100B41A8, 1);
  130.     sub_1001AAF0("LIGHTSPRITE", "RaysNumber", (int)&dword_100B41B4, 1, 0, 100);
  131.     sub_1001AD00("LIGHTSPRITE", "RaysIntensity", (int)&dword_100B41AC, 1.0, -1000.0, 1000.0);
  132.     sub_1001AD00("LIGHTSPRITE", "RaysRateOfChange", (int)&dword_100B41B0, 10.0, 0.0, 1000.0);
  133.     sub_1001AD00("LIGHTSPRITE", "RaysLength", (int)&dword_100B41B8, 1.0, 0.0, 1000.0);
  134.     sub_1001AD00("LIGHT1", "LightIntensity", (int)"ÜÖÖ?", 1.25, 0.0, 1000.0);
  135.     sub_1001AD00("LIGHT1", "LightCurve", (int)&aSs_[4], 1.0, -100.0, 100.0);
  136.     sub_1001AD00("LIGHT1", "LightAOAmount", (int)&dword_100B5F1C, 1.399999976158142, 0.0, 100.0);
  137.     sub_1001AD00("LIGHT1", "LightILAmount", (int)&dword_100B5F24, 0.0, 0.0, 100.0);
  138.     sub_1001AD00("LIGHT1", "EdgeLighteningAmount", (int)&dword_100B5F20, 0.0, 0.0, 100.0);
  139.     sub_1001AD00("LIGHT1", "ColorPow", (int)&dword_100B4180, 2.0, 0.0, 100.0);
  140.     sub_1001AD00("LIGHT2", "LightIntensity", (int)&dword_100B4184, 3.0, 0.0, 1000.0);
  141.     sub_1001AD00("LIGHT2", "LightCurve", (int)&dword_100B4188, 1.0, -100.0, 100.0);
  142.     sub_1001AD00("LIGHT2", "LightAOAmount", (int)&dword_100B5F28, 1.399999976158142, 0.0, 100.0);
  143.     sub_1001AD00("LIGHT2", "LightILAmount", (int)&dword_100B5F30, 0.0, 0.0, 100.0);
  144.     sub_1001AD00("LIGHT2", "EdgeLighteningAmount", (int)&dword_100B5F2C, 0.0, 0.0, 100.0);
  145.     sub_1001AD00("LIGHT2", "ColorPow", (int)&dword_100B418C, 2.0, 0.0, 100.0);
  146.     sub_1001AD00("LIGHT2", "ColorFilterR", (int)&dword_100B4190, 1.0, 0.0, 100.0);
  147.     sub_1001AD00("LIGHT2", "ColorFilterG", (int)&dword_100B4194, 1.0, 0.0, 100.0);
  148.     sub_1001AD00("LIGHT2", "ColorFilterB", (int)&dword_100B4198, 1.0, 0.0, 100.0);
  149.     sub_1001AD00("CARHEADLIGHT", "LightIntensity", (int)&flt_100B41C0, 1.0, 0.0, 100.0);
  150.     sub_1001AD00("CARHEADLIGHT", "EmissiveMuliplier", (int)&dword_100B41BC, 7.0, 0.0, 1000.0);
  151.     sub_1001AD00("LIGHT3", "LightIntensity", (int)&dword_100B41C4, 3.0, 0.0, 1000.0);
  152.     sub_1001AD00("LIGHT3", "LightCurve", (int)&dword_100B41C8, 1.0, -100.0, 100.0);
  153.     sub_1001AD00("LIGHT3", "LightAOAmount", (int)&dword_100B5F34, 1.399999976158142, 0.0, 100.0);
  154.     sub_1001AD00("LIGHT3", "LightILAmount", (int)&dword_100B5F3C, 0.0, 0.0, 100.0);
  155.     sub_1001AD00("LIGHT3", "EdgeLighteningAmount", (int)&dword_100B5F38, 0.0, 0.0, 100.0);
  156.     sub_1001AD00("LIGHT3", "ColorPow", (int)&dword_100B41CC, 2.0, 0.0, 100.0);
  157.     sub_1001AD00("LIGHT4", "LightIntensity", (int)&dword_100B41D0, 3.0, 0.0, 1000.0);
  158.     sub_1001AD00("LIGHT4", "LightCurve", (int)&dword_100B41D4, 1.0, -100.0, 100.0);
  159.     sub_1001AD00("LIGHT4", "LightAOAmount", (int)&dword_100B5F40, 1.399999976158142, 0.0, 100.0);
  160.     sub_1001AD00("LIGHT4", "LightILAmount", (int)&dword_100B5F48, 0.0, 0.0, 100.0);
  161.     sub_1001AD00("LIGHT4", "EdgeLighteningAmount", (int)&dword_100B5F44, 0.0, 0.0, 100.0);
  162.     sub_1001AD00("LIGHT4", "ColorPow", (int)&dword_100B41D8, 2.0, 0.0, 100.0);
  163.     sub_1001AD00("LIGHT5", "LightIntensity", (int)"ÜÖÖ?", 1.25, 0.0, 1000.0);
  164.     sub_1001AD00("LIGHT5", "LightCurve", (int)&aSs__0[4], 1.0, -100.0, 100.0);
  165.     sub_1001AD00("LIGHT5", "LightAOAmount", (int)&dword_100B5F04, 1.399999976158142, 0.0, 100.0);
  166.     sub_1001AD00("LIGHT5", "LightILAmount", (int)&dword_100B5F0C, 0.0, 0.0, 100.0);
  167.     sub_1001AD00("LIGHT5", "EdgeLighteningAmount", (int)&dword_100B5F08, 0.0, 0.0, 100.0);
  168.     sub_1001AD00("LIGHT5", "ColorPow", (int)&dword_100B4168, 2.0, 0.0, 100.0);
  169.     sub_1001AD00("LIGHT6", "LightIntensity", (int)"ÜÖÖ?", 1.25, 0.0, 1000.0);
  170.     sub_1001AD00("LIGHT6", "LightCurve", (int)&aSs__1[4], 1.0, -100.0, 100.0);
  171.     sub_1001AD00("LIGHT6", "LightAOAmount", (int)&dword_100B5F10, 1.399999976158142, 0.0, 100.0);
  172.     sub_1001AD00("LIGHT6", "LightILAmount", (int)&dword_100B5F18, 0.0, 0.0, 100.0);
  173.     sub_1001AD00("LIGHT6", "EdgeLighteningAmount", (int)&dword_100B5F14, 0.0, 0.0, 100.0);
  174.     sub_1001AD00("LIGHT6", "ColorPow", (int)&dword_100B4174, 2.0, 0.009999999776482582, 100.0);
  175.     sub_1001AD00("CARWINDOWGLASS", "ReflectionAmount", (int)&dword_100B4228, 1.0, 0.0, 1000.0);
  176.     sub_1001AD00("CARWINDOWGLASS", "SpecularPower", (int)&dword_100B4230, 1.0, 0.0, 1000.0);
  177.     sub_1001AD00("CARWINDOWGLASS", "SpecularAmount", (int)&dword_100B4234, 1.0, 0.0, 1000.0);
  178.     sub_1001AD00("CARWINDOWGLASS", "OpacityMultiplier", (int)&dword_100B4238, 1.0, 0.0, 1000.0);
  179.     sub_1001AD00("CHROME", "ReflectionFront", (int)&dword_100B423C, 4.0, 0.0, 1000.0);
  180.     sub_1001AD00("CHROME", "ReflectionSide", (int)&dword_100B4240, 0.5, 0.0, 1000.0);
  181.     sub_1001AD00("CHROME", "SpecularPower", (int)&dword_100B4244, 1.0, 0.0, 1000.0);
  182.     sub_1001AD00("CHROME", "SideFade", (int)&dword_100B4248, 1.0, 0.0, 1000.0);
  183.     sub_1001AD00("CHROME", "MetallicAmount", (int)"-¦L=", 0.05000000074505806, 0.0, 1000.0);
  184.     sub_1001AD00("WHEELS", "ReflectionFront", (int)&dword_100B4254, 4.0, 0.0, 1000.0);
  185.     sub_1001AD00("WHEELS", "ReflectionSide", (int)&dword_100B4258, 0.5, 0.0, 1000.0);
  186.     sub_1001AD00("WHEELS", "SpecularPower", (int)&dword_100B425C, 1.0, 0.0, 1000.0);
  187.     sub_1001AD00("WHEELS", "SideFade", (int)&dword_100B4260, 1.0, 0.0, 1000.0);
  188.     sub_1001AD00("WHEELS", "MetallicAmount", (int)"-¦L=", 0.05000000074505806, 0.0, 1000.0);
  189.     sub_1001AD00("REFLECTION1", "ReflectionFront", (int)&dword_100B426C, 2.0, 0.0, 1000.0);
  190.     sub_1001AD00("REFLECTION1", "ReflectionSide", (int)&dword_100B4270, 0.5, 0.0, 1000.0);
  191.     sub_1001AD00("REFLECTION1", "SpecularPower", (int)&dword_100B4274, 1.0, 0.0, 1000.0);
  192.     sub_1001AD00("REFLECTION1", "SideFade", (int)&dword_100B4278, 1.0, 0.0, 1000.0);
  193.     sub_1001AD00("REFLECTION1", "MetallicAmount", (int)"-¦L=", 0.05000000074505806, 0.0, 1000.0);
  194.     sub_1001AD00("REFLECTION2", "ReflectionFront", (int)&asc_100B427C[4], 2.0, 0.0, 1000.0);
  195.     sub_1001AD00("REFLECTION2", "ReflectionSide", (int)&dword_100B4284, 1.399999976158142, 0.0, 1000.0);
  196.     sub_1001AD00("REFLECTION2", "SpecularPower", (int)&dword_100B4288, 1.0, 0.0, 1000.0);
  197.     sub_1001AD00("REFLECTION2", "SideFade", (int)&dword_100B428C, 1.0, 0.0, 1000.0);
  198.     sub_1001AD00("REFLECTION3", "ReflectionFront", (int)&dword_100B4290, 5.0, 0.0, 1000.0);
  199.     sub_1001AD00("REFLECTION3", "ReflectionSide", (int)&dword_100B4294, 0.5, 0.0, 1000.0);
  200.     sub_1001AD00("REFLECTION3", "SpecularPower", (int)&dword_100B4298, 1.0, 0.0, 1000.0);
  201.     sub_1001AD00("REFLECTION3", "SideFade", (int)&dword_100B429C, 1.0, 0.0, 1000.0);
  202.     sub_1001AAF0("BLOOM", "BloomQuality", (int)&dword_100B5E7C, 0, 0, 2);
  203.     sub_1001AD00("BLOOM", "BlueShiftAmount", (int)&dword_100B4224, 1.0, 0.0, 100.0);
  204.     sub_1001AD00("BLOOM", "Radius1", (int)&aFfj_[4], 4.0, 0.0, 100.0);
  205.     sub_1001AD00("BLOOM", "Radius2", (int)&dword_100B4220, 4.0, 0.0, 100.0);
  206.     sub_1001AD00("BLOOM", "Contrast", (int)&dword_100B5F5C, 1.0, 0.0, 1.0);
  207.     sub_1001A8A0("SSAO_SSIL", "ApplyAntialiasing", (int)&dword_100B5F4C, 0);
  208.     sub_1001AAF0("SSAO_SSIL", "SamplingQuality", (int)&dword_100B5E6C, 1, -1, 2);
  209.     sub_1001AD00("SSAO_SSIL", "SamplingRange", (int)&flt_100B41E4, 1.0, 0.1000000014901161, 3.0);
  210.     sub_1001AD00("SSAO_SSIL", "SizeScale", (int)&flt_100B41DC, 1.0, 0.0625, 2.0);
  211.     sub_1001AD00("SSAO_SSIL", "SourceTexturesScale", (int)&flt_100B41E0, 0.5, 0.0625, 1.0);
  212.     sub_1001AAF0("SSAO_SSIL", "FilterQuality", (int)&dword_100B5E70, 1, 0, 2);
  213.     sub_1001AD00("SSAO_SSIL", "AOAmount", (int)&dword_100B5F50, 1.399999976158142, -1000.0, 1000.0);
  214.     sub_1001AD00("SSAO_SSIL", "ILAmount", (int)&dword_100B5F58, 0.0, -1000.0, 1000.0);
  215.     sub_1001AD00("SSAO_SSIL", "EdgeLighteningAmount", (int)&dword_100B5F54, 5.0, -1000.0, 1000.0);
  216.     sub_1001AAF0("SKYLIGHTING", "FilterQuality", (int)&dword_100B42C8, 1, 0, 2);
  217.     sub_1001AD00("SKYLIGHTING", "AmbientSunMix", (int)&dword_100B42CC, 1.0, 0.0, 100.0);
  218.     sub_1001AD00("SKYLIGHTING", "AmbientSkyMix", (int)&dword_100B42D0, 1.0, 0.0, 100.0);
  219.     sub_1001AD00("SKYLIGHTING", "AmbientContrast", (int)&dword_100B42D8, 1.0, 0.0, 8.0);
  220.     sub_1001AD00("SKYLIGHTING", "AmbientMinLevel", (int)&dword_100B5F60, 0.2000000029802322, 0.0, 1.0);
  221.     LODWORD(dword_100B42D4) = 1065353216;
  222.     sub_1001A8A0("ADAPTATION", "ForceMinMaxValues", (int)&dword_100B5F00, 0);
  223.     sub_1001AD00("ADAPTATION", "AdaptationTime", (int)&dword_100B414C, 1.0, 0.0, 100.0);
  224.     sub_1001AD00("ADAPTATION", "AdaptationMin", (int)&dword_100B4150, 0.300000011920929, 0.0, 1000.0);
  225.     sub_1001AD00("ADAPTATION", "AdaptationMax", (int)&dword_100B4154, 1.200000047683716, 0.0, 1000.0);
  226.     sub_1001AD00("ADAPTATION", "AdaptationMinMultiplier", (int)&dword_100B4158, 1.0, 0.0, 1000.0);
  227.     sub_1001AD00("ADAPTATION", "AdaptationMaxMultiplier", (int)&dword_100B415C, 1.0, 0.0, 1000.0);
  228.     sub_1001AD00("ENVIRONMENT", "DirectLightingIntensity", (int)&dword_100B42A0, 1.0, 0.0, 1000.0);
  229.     sub_1001AD00("ENVIRONMENT", "NightLightingIntensity", (int)&dword_100B42A4, 1.0, 0.0, 1000.0);
  230.     sub_1001AD00("ENVIRONMENT", "DirectLightingCurve", (int)&dword_100B42A8, 1.0, -100.0, 100.0);
  231.     sub_1001AD00("ENVIRONMENT", "ReflectionAmountMultiplier", (int)&dword_100B42AC, 1.0, 0.0, 1000.0);
  232.     sub_1001AD00("ENVIRONMENT", "SpecularAmountMultiplier", (int)&dword_100B42B0, 1.0, 0.0, 1000.0);
  233.     sub_1001AD00("ENVIRONMENT", "SpecularPowerMultiplier", (int)&dword_100B42B4, 1.0, 0.0, 1000.0);
  234.     sub_1001AD00("ENVIRONMENT", "ColorPow", (int)&dword_100B41E8, 2.0, 0.1000000014901161, 10.0);
  235.     sub_1001AD00("ENVIRONMENT", "AmbientSunMultiplier", (int)&dword_100B42B8, 1.0, 0.0, 1000.0);
  236.     sub_1001AD00("ENVIRONMENT", "AmbientSkyMultiplier", (int)&dword_100B42BC, 1.0, 0.0, 1000.0);
  237.     sub_1001AD00("ENVIRONMENT", "AmbientSunSaturation", (int)&dword_100B42C0, 1.0, -1.0, 10.0);
  238.     sub_1001AD00("ENVIRONMENT", "AmbientSkySaturation", (int)&dword_100B42C4, 1.0, -1.0, 10.0);
  239.     sub_1001AAF0("SHADOW", "FilterQuality", (int)&dword_100B4040, 1, 0, 2);
  240.     sub_1001AD00("SHADOW", "CharacterShadowMultiplier", (int)&dword_100B4044, 1.0, 0.0, 100.0);
  241.     sub_1001AD00("SHADOW", "CarShadowMultiplier", (int)&flt_100B4048, 1.0, 0.0, 100.0);
  242.     sub_1001A8A0("SKY", "Enable", (int)&dword_100B40B4, 1);
  243.     sub_1001AD00("SKY", "AzimuthHeight", (int)&dword_100B40B8, 1.0, 0.009999999776482582, 100.0);
  244.     sub_1001AD00("SKY", "AzimuthMultiplier", (int)&dword_100B40BC, 1.0, 0.009999999776482582, 100.0);
  245.     sub_1001AD00("SKY", "AzimuthSunAffectPower", (int)&dword_100B4118, 2.0, 0.2000000029802322, 100.0);
  246.     sub_1001AD00("SKY", "AzimuthSunAffectAmount", (int)&dword_100B411C, 0.699999988079071, 0.0, 100.0);
  247.     sub_1001AD00("SKY", "TopColorMultiplier", (int)&dword_100B40C0, 1.0, 0.009999999776482582, 1000.0);
  248.     sub_1001AD00("SKY", "ColorSaturation", (int)&dword_100B5EF0, 0.0, -1.0, 1.0);
  249.     sub_1001AD00("SKY", "ColorPower", (int)&dword_100B40C4, 1.0, 0.009999999776482582, 10.0);
  250.     sub_1001AD00("SKY", "SunIntensity", (int)&flt_100B40C8, 1.0, 0.001000000047497451, 100.0);
  251.     sub_1001AD00("SKY", "SunMaxBrightness", (int)&flt_100B40CC, 50.0, 0.001000000047497451, 100000.0);
  252.     sub_1001AD00("SKY", "SunColorFilterR", (int)&dword_100B40D0, 1.0, 0.0, 1.0);
  253.     sub_1001AD00("SKY", "SunColorFilterG", (int)&dword_100B40D4, 1.0, 0.0, 1.0);
  254.     sub_1001AD00("SKY", "SunColorFilterB", (int)&dword_100B40D8, 1.0, 0.0, 1.0);
  255.     sub_1001AD00("SKY", "SunColorFilterCurve", (int)&dword_100B40DC, 1.0, 0.1000000014901161, 16.0);
  256.     sub_1001AD00("SKY", "SunCoronaCurve", (int)&dword_100B40E0, 0.8999999761581421, 0.009999999776482582, 10.0);
  257.     sub_1001AD00("SKY", "SunCoronaIntensity", (int)&dword_100B40E4, 1.5, 0.001000000047497451, 100.0);
  258.     sub_1001AD00("SKY", "SunDesaturation", (int)&flt_100B5EF4, 0.800000011920929, 0.0, 1.0);
  259.     sub_1001AD00("SKY", "OverallPower", (int)&dword_100B40E8, 1.0, 0.009999999776482582, 100.0);
  260.     sub_1001AD00("SKY", "OverallIntensity", (int)&dword_100B40EC, 1.0, 0.009999999776482582, 100.0);
  261.     sub_1001AD00("SKY", "BrightnessUpperLimitMultiplier", (int)&dword_100B4138, 1.0, 0.0, 1000.0);
  262.     sub_1001A8A0("SKY", "CloudsUseCustomTexture", (int)&dword_100B40F0, 1);
  263.     sub_1001AD00("SKY", "CloudsCurve", (int)&dword_100B40F4, 1.200000047683716, 0.1000000014901161, 8.0);
  264.     sub_1001AD00("SKY", "CloudsIntensity", (int)&flt_100B40F8, 1.0, 0.001000000047497451, 100.0);
  265.     sub_1001AD00("SKY", "CloudsDesaturation", (int)&flt_100B5EF8, 0.800000011920929, 0.0, 1.0);
  266.     sub_1001AD00("SKY", "CloudsEdgeClamp", (int)&flt_100B40FC, 0.5, 0.0, 8.0);
  267.     sub_1001AD00("SKY", "CloudsEdgeIntensity", (int)&dword_100B4100, 8.0, 0.0, 1000.0);
  268.     sub_1001AD00("SKY", "CloudsEdgeRange", (int)&dword_100B4104, 8.0, 0.5, 32.0);
  269.     sub_1001A8A0("SKY", "StarsUseCustomTexture", (int)&dword_100B4108, 1);
  270.     sub_1001AD00("SKY", "StarsAmount", (int)&dword_100B410C, 2.0, 0.0, 64.0);
  271.     sub_1001AD00("SKY", "StarsIntensity", (int)&dword_100B4110, 4.0, 0.0, 1000.0);
  272.     sub_1001AD00("SKY", "StarsBrightness", (int)&dword_100B4114, 3.0, 0.0, 1000.0);
  273.     sub_1001AD00("SKY", "MoonIntensity", (int)&dword_100B4120, 1.0, 0.0, 1000.0);
  274.     sub_1001AD00("SKY", "MoonGamma", (int)&dword_100B4124, 1.0, 0.1000000014901161, 10.0);
  275.     sub_1001AD00("SKY", "MoonSize", (int)"-¦L=", 0.07999999821186066, 0.000009999999747378752, 1.0);
  276.     sub_1001AD00("SKY", "MoonLightingCurve", (int)&dword_100B4134, 0.5, 0.05000000074505806, 10.0);
  277.     sub_1001AD00("SKY", "NightCloudsEdgeClamp", (int)&flt_100B413C, 3.5, 0.1000000014901161, 8.0);
  278.     sub_1001AD00("SKY", "NightCloudsEdgeIntensity", (int)&dword_100B4140, 11.0, 0.0, 1000.0);
  279.     sub_1001AD00("SKY", "NightCloudsEdgeRange", (int)&dword_100B4144, 7.0, 0.5, 32.0);
  280.     sub_1001A8A0("PARTICLE", "SoftParticlesEnable", (int)&dword_100B42DC, 1);
  281.     sub_1001AD00("PARTICLE", "SoftParticlesEdgeRange", (int)&dword_100B42E0, 4.0, 0.0, 1000.0);
  282.     sub_1001A8A0("DETAIL", "DetailMapEnable", (int)&dword_100B42E8, 1);
  283.     result = sub_1001A8A0("COLORCORRECTION", "UsePaletteTexture", (int)&dword_100B4074, 1);
  284.     ++v4;
  285.   }
  286.   while ( v4 < 2 );
  287.   if ( dword_100B5E38 == 1 )
  288.     dword_100B5F00 = 0;
  289.   return result;
  290. }
clone this paste RAW Paste Data