Exemplo n.º 1
0
        public FFXEditor(bool fileMode = false)
        {
            InitializeComponent();

            if (fileMode)
            {
                // Set up window for file mode
            }
            else
            {
                // Set up window for process mode
                GameMemory.ProcessExited += Close;

                _generalPanel      = new GeneralPanel();
                _partyPanel        = new PartyPanel();
                _aeonsPanel        = new AeonsPanel();
                _itemsPanel        = new ItemsPanel();
                _sphereGridPanel   = new SphereGridPanel();
                _equipmentPanel    = new EquipmentPanel();
                _blitzballPanel    = new BlitzballPanel();
                _monsterArenaPanel = new MonsterArenaPanel();
                _debugPanel        = new DebugPanel();
                _battlePanel       = new BattlePanel();
                _boostersPanel     = new BoostersPanel();
            }

            // Set up general window parameters
            _skillEditorPanel = new SkillEditorPanel();

            (EditorTree.Items[0] as TreeViewItem).IsSelected = true;
        }