rimworld-animation-studio/Source/Assets/Scripts/Data/Constants.cs

54 lines
2.3 KiB
C#

using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using UnityEngine;
namespace RimWorldAnimationStudio
{
public static class Constants
{
// Project data
public static string currentVersion = "1.0.4";
public static string projectHome = "https://gitgud.io/AbstractConcept/rimworld-animation-studio";
public static string projectWiki = "https://gitgud.io/AbstractConcept/rimworld-animation-studio/-/wikis/home";
// Actions
public static float actionRepeatSpeed = 0.250f;
// Animation defaults
public static int defaultAnimationClipLength = 600;
public static int minTick = 1;
public static int minAnimationClipLength = 5;
public static int maxAnimationClipLength = 9999;
// Lists
public static Dictionary<string, string> bodyPartAnchorNames = new Dictionary<string, string>()
{
{ "none", "None" },
{ "torso", "Torso"},
{ "head", "Head"},
{ "groin", "Groin"},
{ "left breast", "Breast (left)"},
{ "right breast", "Breast (right)"},
};
// Colors used
public static Color ColorWhite = new Color(1f, 1f, 1f);
public static Color ColorGreen = new Color(0f, 1f, 0f);
public static Color ColorLightGreen = new Color(0.75f, 1f, 0.75f);
public static Color ColorGoldYellow = new Color(1f, 0.85f, 0f);
public static Color ColorDarkGold = new Color(0.75f, 0.64f, 0f);
public static Color ColorLightGrey = new Color(0.9f, 0.9f, 0.9f);
public static Color ColorMidGrey = new Color(0.75f, 0.75f, 0.75f);
public static Color ColorGrey = new Color(0.5f, 0.5f, 0.5f);
public static Color ColorDarkGrey = new Color(0.2f, 0.2f, 0.2f);
public static Color ColorPink = new Color(1.0f, 0.5f, 0.5f);
public static Color ColorOrange = new Color(1.0f, 0.7f, 0.0f);
public static Color ColorRichOrange = new Color(1.0f, 0.4f, 0.1f);
public static Color ColorCyan = new Color(0.0f, 1.0f, 1.0f);
public static Color ColorPurple = new Color(0.85f, 0.0f, 1.0f);
public static Color ColorGhost = new Color(0.5f, 0f, 0f, 0.5f);
public static Color ColorRed = new Color(0.9f, 0f, 0f);
}
}