// Large-degree changes to make the lighting better mimic the way it is in the game. private void CreateLevelPalettes() { Logger.Info("Creating per-height palettes"); PaletteCollection palettes = _theater.GetPalettes(); for (int i = 0; i < 19; i++) { Palette isoHeight = palettes.IsoPalette.Clone(); isoHeight.ApplyLighting(_lighting, i); isoHeight.IsShared = true; isoHeight.Name = string.Format("{0} lvl.{1}", isoHeight.Name, i); _palettePerLevel.Add(isoHeight); _palettesToBeRecalculated.Add(isoHeight); } }