Exemple #1
0
        private void LoadAsTexture(uint textureId, uint?paletteOverride)
        {
            m_decorationType = DecorationType.Texture;
            EmbeddedFile file = TextureLoader.Instance.LoadTextureFile(textureId);

            m_texture = new ACTexture(file, paletteOverride);
            m_texture.ReadTexture();
        }
Exemple #2
0
        public ACTexture LoadTexture(uint id)
        {
            EmbeddedFile file = LoadTextureFile(id);

            if (file == null)
            {
                return(null);
            }
            ACTexture texture = new ACTexture(file, null);

            texture.ReadTexture();
            return(texture);
        }