Beispiel #1
0
        private static void AppendFogSetValues(StringBuilder fogCsv, string stageName, SALT.PARAMS.ParamFile lightSet)
        {
            StringBuilder fogValues = new StringBuilder(stageName + ",");

            for (int i = 0; i < 16; i++)
            {
                for (int j = 0; j < 3; j++)
                {
                    var value = GetParamValue(lightSet, 2, i, j);
                    fogValues.Append(value + ",");
                }
            }
            fogCsv.AppendLine(fogValues.ToString());
        }
Beispiel #2
0
        private static void AppendUnknownValues(StringBuilder unkCsv, string stageName, SALT.PARAMS.ParamFile lightSet)
        {
            StringBuilder unkValues = new StringBuilder(stageName + ",");

            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 2; j++)
                {
                    var value = GetParamValue(lightSet, 3, i, j);
                    unkValues.Append(value + ",");
                }
            }
            unkCsv.AppendLine(unkValues.ToString());
        }