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);
				}
			}
		}
Пример #2
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Logo>("Logo", FormatRegex, false);
 }
Пример #3
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <TmbIcon>("Icon", FormatRegex, false);
 }
Пример #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);
 }
Пример #10
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <MiscChibi>(
         "Misc Chibi", FormatRegex, false);
 }
Пример #11
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Transition>("Transition", FormatRegex, false);
 }
Пример #12
0
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <Item>("Item", FormatRegex, false);
 }
 public static void Register()
 {
     ImageIdentifier.RegisterIdentifier <StoryCGChibi>(
         "CG/Chibi", FormatRegex, false);
 }