Exemple #1
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var text = (TextData)other;

            Text = text.Text.ToDictionary(p => p.Key, p => p.Value);
        }
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (RecolorEntry)other;

            OtherNames = new List <string>(source.OtherNames);
            Parameters = (PaletteParameters)source.Parameters.Clone();
        }
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (PaletteEntry)other;

            Value  = source.Value;
            Weight = source.Weight;
            Remap  = source.Remap;
        }
Exemple #4
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (Battle_Animation_Association_Set)other;

            Key     = source.Key;
            DataSet = source.DataSet
                      .ToDictionary(p => p.Key, p => new Battle_Animation_Association_Data(p.Value));
        }
Exemple #5
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var config = (ConfigData)other;

            Actor       = new ActorConfig(config.Actor);
            BattleScene = new BattleSceneConfig(config.BattleScene);
            Bgm         = new BgmConfig(config.Bgm);
        }
Exemple #6
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var config = (ActorConfig)other;

            ActorNameDelimiter = config.ActorNameDelimiter;
            BuildNameDelimiter = config.BuildNameDelimiter;

            HpMax          = config.HpMax;
            PrimaryStatMax = config.PrimaryStatMax;
            HpValue        = config.HpValue;
            LuckCap        = config.LuckCap;
            LowHealthRate  = config.LowHealthRate;

            LvlCap                        = config.LvlCap;
            Tier0LvlCap                   = config.Tier0LvlCap;
            PromotionLvl                  = config.PromotionLvl;
            LowestTier                    = config.LowestTier;
            ResetLevelOnPromotion         = config.ResetLevelOnPromotion;
            PromotionSelectionMenu        = config.PromotionSelectionMenu;
            ExpToLvl                      = config.ExpToLvl;
            ExpPerEnemy                   = config.ExpPerEnemy;
            ExpPerEnemyKillException      = config.ExpPerEnemyKillException;
            ConserveWastedGrowths         = config.ConserveWastedGrowths;
            ConservedGrowthMaxPerStat     = config.ConservedGrowthMaxPerStat;
            ActorGainedHpHeal             = config.ActorGainedHpHeal;
            CitizensGainExp               = config.CitizensGainExp;
            SemifixedLevelsAtPreparations = config.SemifixedLevelsAtPreparations;
            SemifixedFirstLevelUp         = config.SemifixedFirstLevelUp;
            NoEmptyLevels                 = config.NoEmptyLevels;

            GenericRandomLevelPercent    = config.GenericRandomLevelPercent;
            GenericRandomLevelMax        = config.GenericRandomLevelMax;
            GenericAutoWexp              = config.GenericAutoWexp;
            GenericActorRandomAffinities = config.GenericActorRandomAffinities;

            StatLabelColoring     = config.StatLabelColoring;
            StatColorsOnlyInPrep  = config.StatColorsOnlyInPrep;
            OnlyPcStatColors      = config.OnlyPcStatColors;
            GrowthAverageColorMin = config.GrowthAverageColorMin;
            GrowthAverageColorMed = config.GrowthAverageColorMed;
            GrowthAverageColorMax = config.GrowthAverageColorMax;

            ChildWeaponTypeAllowsParent = config.ChildWeaponTypeAllowsParent;
            ParentWeaponTypeAllowsChild = config.ParentWeaponTypeAllowsChild;
            ShowAllActorWeaponTypes     = config.ShowAllActorWeaponTypes;

            NumItems     = config.NumItems;
            AllowUnequip = config.AllowUnequip;
            OneSRank     = config.OneSRank;
            SRankBonus   = config.SRankBonus;

            CasualModeLives = config.CasualModeLives;
        }
Exemple #7
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (RecolorData)other;

            Name     = source.Name;
            Recolors = source.Recolors.ToDictionary(
                p => p.Key,
                p => (RecolorEntry)p.Value.Clone());
        }
Exemple #8
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (PaletteGenerator)other;

            _Specularity   = source._Specularity;
            _BaseLightness = source._BaseLightness;
            _ShadowAmount  = source._ShadowAmount;
            _BlackLevel    = source._BlackLevel;
        }
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (SpritePalette)other;

            Name             = source.Name;
            IsIndexedPalette = source.IsIndexedPalette;
            Palette          = source.Palette.Select(x => (PaletteEntry)x.Clone()).ToList();
            Ramps            = source.Ramps.Select(x => (PaletteRamp)x.Clone()).ToList();
            _DarkestColor    = source._DarkestColor;
        }
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (PaletteParameters)other;

            BaseColor         = source.BaseColor;
            YellowLight       = source.YellowLight;
            BlueShadow        = source.BlueShadow;
            OriginalLightness = source.OriginalLightness;
            ReducedDepth      = source.ReducedDepth;
        }
Exemple #11
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (PaletteRamp)other;

            Name                  = source.Name;
            _BaseColorIndex       = source._BaseColorIndex;
            _Colors               = new List <Color>(source._Colors);
            _Adjustments          = new List <ColorVector>(source._Adjustments);
            Generator             = (PaletteGenerator)source.Generator.Clone();
            BlueYellowAdjustments = source.BlueYellowAdjustments;
        }
Exemple #12
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var config = (BgmConfig)other;

            TitleTheme             = config.TitleTheme;
            PreparationsTheme      = config.PreparationsTheme;
            ChapterTransitionTheme = config.ChapterTransitionTheme;
            ArenaBattleTheme       = config.ArenaBattleTheme;
            StaffTheme             = config.StaffTheme;
            AttackStaffTheme       = config.AttackStaffTheme;
            DanceTheme             = config.DanceTheme;
            PromotionTheme         = config.PromotionTheme;
            VictoryTheme           = config.VictoryTheme;
            GameOverTheme          = config.GameOverTheme;
            AllyDeathTheme         = config.AllyDeathTheme;
        }
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var source = (Battle_Animation_Association_Data)other;

            Idle        = new List <int>(source.Idle);
            Avoid       = new List <int>(source.Avoid);
            AvoidReturn = new List <int>(source.AvoidReturn);
            GetHit      = new List <int>(source.GetHit);
            GetCrit     = new List <int>(source.GetCrit);
            Dance       = new List <int>(source.Dance);
            DanceHold   = new List <int>(source.DanceHold);
            DanceReturn = new List <int>(source.DanceReturn);
            PreFight    = new List <int>(source.PreFight);

            AttackAnimations = source.AttackAnimations
                               .Select(x => new Battle_Animation_Attack_Set(x))
                               .ToList();
        }
Exemple #14
0
        public override void CopyFrom(TactileDataContent other)
        {
            CheckSameClass(other);

            var config = (BattleSceneConfig)other;

            HpCounterValues       = config.HpCounterValues;
            StatusHpCounterValues = config.StatusHpCounterValues;
            MaxHpRows             = config.MaxHpRows;
            HpTabsPerRow          = config.HpTabsPerRow;
            HpGaugeTabWidth       = config.HpGaugeTabWidth;
            HpGaugeTabHeight      = config.HpGaugeTabHeight;

            BattleTransitionTime  = config.BattleTransitionTime;
            BattlerMinScale       = config.BattlerMinScale;
            BattleBgAlwaysVisible = config.BattleBgAlwaysVisible;

            ActionBackgroundToneWeight = config.ActionBackgroundToneWeight;
            ActionPlatformToneWeight   = config.ActionPlatformToneWeight;
            ActionBattlerToneWeight    = config.ActionBattlerToneWeight;

            ArenaBgTime   = config.ArenaBgTime;
            ArenaBgFrames = config.ArenaBgFrames;
        }