示例#1
0
 public GameContent(string[] wadPaths)
 {
     wad       = new Wad(wadPaths);
     palette   = new Palette(wad);
     colorMap  = new ColorMap(wad);
     textures  = new TextureLookup(wad);
     flats     = new FlatLookup(wad);
     sprites   = new SpriteLookup(wad);
     animation = new TextureAnimation(textures, flats);
 }
示例#2
0
        public FinaleRenderer(GameContent content, DrawScreen screen)
        {
            wad     = content.Wad;
            flats   = content.Flats;
            sprites = content.Sprites;

            this.screen = screen;
            scale       = screen.Width / 320;

            cache = new PatchCache(wad);
        }