private void SetExtraAdditionalFilesFromSettings(IGameFile iwad, ISourcePort sourcePort)
        {
            m_iwadAdditionalFiles.Clear();
            m_sourcePortAdditionalFiles.Clear();

            if (iwad != null)
            {
                if (!iwad.Equals(m_gameFile))
                {
                    m_iwadAdditionalFiles = GetAdditionalFiles(AddFilesType.IWAD, iwad, sourcePort);
                }
                m_sourcePortAdditionalFiles = GetAdditionalFiles(AddFilesType.SourcePort, iwad, sourcePort);
            }
        }
Example #2
0
        public void InitializeComplete()
        {
            IGameFile gameIwad = SelectedIWad;

            if (gameIwad != null && gameIwad.Equals(GameFile))
            {
                cmbIwad.Enabled = false;
            }

            ctrlFiles.SetDataSource(m_handler.GetCurrentAdditionalFiles());
            AddExtraAdditionalFiles();

            m_init = false;
        }