screeny05 / openrw.js

RenderWare implementation in TypeScript
https://screeny05.github.io/openrw.js/
GNU General Public License v3.0
11 stars 0 forks source link

Compare TXD Parser across different implementations #12

Open screeny05 opened 7 years ago

screeny05 commented 7 years ago
avail commented 7 years ago

Don't let the 'Texture' type confuse you, it's just a custom type I made to store data I would re-use later.

    class Texture
    {
        public int width { get; set; }
        public int height { get; set; }
        public int compression { get; set; }
        public int offset { get; set; }
        public int conversionOffset { get; set; }
        public int dataSize { get; set; }
        public string difTexName { get; set; }
        public string alphaTexName { get; set; }
        public byte[] data { get; set; }
    }