Beispiel #1
0
 public override void Apply()
 {
     foreach (var singleChar in CharsetData)
     {
         singleChar.Tile.Data.CopyTo(Project.CharSet.Characters[singleChar.Index].Tile.Data);
         Project.CharSet.Characters[singleChar.Index].Tile.CustomColor = singleChar.Tile.CustomColor;
         Project.CharSet.Characters[singleChar.Index].Category         = singleChar.Category;
     }
     Editor.CharsetChanged();
     Editor.SetModified();
 }
        public override void Apply()
        {
            Project.CharSet.Colors.BackgroundColor = BackgroundColor;
            Project.Mode = Mode;
            Project.CharSet.Colors.MultiColor1 = Multicolor1;
            Project.CharSet.Colors.MultiColor2 = Multicolor2;
            Project.CharSet.Colors.BGColor4    = BGColor4;

            Editor.ValuesChanged();
            Editor.SetModified();
        }
 public override void Apply()
 {
     for (int i = 0; i < Width; ++i)
     {
         for (int j = 0; j < Height; ++j)
         {
             Project.Chars[X + i + (Y + j) * Project.ScreenWidth] = ChangedData[i, j];
         }
     }
     Editor.UpdateArea(X, Y, Width, Height);
     Editor.SetModified();
 }
Beispiel #4
0
 public override void Apply()
 {
     Editor.SetScreenSize(Width, Height);
     for (int i = 0; i < Width; ++i)
     {
         for (int j = 0; j < Height; ++j)
         {
             Project.Chars[i + j * Width] = ChangedData[i, j];
         }
     }
     Editor.UpdateArea(0, 0, Width, Height);
     Editor.SetModified();
 }