Example #1
0
        public MapForm(ref byte[] bytes, Atlas atlas, string outFilename)
        {
            this.atlas       = atlas;
            this.outFilename = outFilename;

            InitializeComponent();

            canvasBox.DoubleBuffered(true);

            initColors();
            EntityTable.Init(entityTable);
            ColumnTable.Init(columnTable);
            BlockTexTable.Init(blockTexTable);
            UnknownTable247264.Init(unknownTable247264);
            UnknownTable358222.Init(unknownTable358222);

            data = bytes;
            findHeightExtremes();
            fillEntityTable();
            fillColumnTable();
            fillBlockTexTable();
            fillUnknownTable247264();
            fillUnknownTable358222();
            draw();
        }