public static void PostAdd(ImageIdentifier identifier, ImageIdentification selfBase) {
			BackgroundSpecialAnimation self = (BackgroundSpecialAnimation) selfBase;
			if (identifier.TryGetImage(self.AnimationName, out var image)) {
				if (image is Background bg) {
					bg.SpecialAnimations.Add(self);
				}
			}
		}
Exemple #2
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Logo>("Logo", FormatRegex, false);
 }
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <TmbIcon>("Icon", FormatRegex, false);
 }
Exemple #4
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Effect>(
         "Effect", FormatRegex, false);
 }
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <UserInterface>(
         "User Interface", FormatRegex, false);
 }
		public static void Register() {
			ImageIdentifier.RegisterIdentifier<MiscBackground>(
				"Misc Backgrounds", FormatRegex, false);
		}
		public static void Register() {
			ImageIdentifier.RegisterIdentifier<BackgroundI>(
				"BackgroundI", FormatRegex, false);
		}
		public static void Register() {
			ImageIdentifier.RegisterIdentifier<BackgroundSpecialAnimation>(
				"Background Special Animation", FormatRegex, true,
				PostAdd);
		}
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Character>(
         "Character", FormatRegex, false);
 }
Exemple #10
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <MiscChibi>(
         "Misc Chibi", FormatRegex, false);
 }
Exemple #11
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Transition>("Transition", FormatRegex, false);
 }
Exemple #12
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Item>("Item", FormatRegex, false);
 }
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <StoryCGChibi>(
         "CG/Chibi", FormatRegex, false);
 }