public MPDSEditor(BMAP BoardData, BMAP SystemData)
 {
     this.BoardData  = BoardData;
     this.SystemData = SystemData;
     this.InitializeComponent();
     this.simpleOpenGlControl1.InitializeContexts();
     this.simpleOpenGlControl1.MouseWheel += new MouseEventHandler(this.simpleOpenGlControl1_MouseWheel);
 }
Exemple #2
0
        private void CourseSelector_Load(object sender, EventArgs e)
        {
            BMAP bmap = new BMAP(Compression.LZ77Decompress(this.Rom.Root.GetFileByPath("\\data\\UK\\mpd_050_bmap_name_LZ.bin").Content));

            this.listView1.Items.Add("bmap_00");
            for (int index = 0; (long)index < (long)bmap.NrFiles; ++index)
            {
                this.listView1.Items.Add(new string(Encoding.Unicode.GetChars(bmap.Files[index].Data)));
            }
        }