Beispiel #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();
        }
Beispiel #2
0
 private void fillUnknownTable247264()
 {
     unknownItems247264    = UnknownTable247264.Fill(unknownTable247264, ref data, ref lineColors, ref pointColors);
     unknownTableInfo.Text = unknownItems247264.Count + " items found";
 }