static LevelBuilder() { Palette.LoadPalette(0); var dt1 = DT1.Load(Application.streamingAssetsPath + "/ds1edit.dt1", mpq: false); specialTiles.Add(dt1.tiles); }
static LevelBuilder() { var palette = Palette.GetPalette(PaletteType.Act1); var dt1 = DT1.Load(Application.streamingAssetsPath + "/ds1edit.dt1", palette, mpq: false); specialTiles.Add(dt1.tiles); }
private void InitTileSampler() { tileSampler = new DT1.Sampler(); if (info != null) { foreach (var dt1Filename in info.type.dt1Files) { var dt1 = DT1.Load(dt1Filename); tileSampler.Add(dt1.tiles); } } }