Exemple #1
0
        public MusicExplorerWindow()
        {
            InitializeComponent();
            explorer = new Explorer(this, UI_FilterField, UI_FilterOverlay, UI_FilterCheckTimer, UI_FileCount_Label, UI_FileList, new string[] { "ogg", "mp3" }, "MEW_N_{0}", true);
            explorer.Initialize();

            UI_MultiWindows_Field.Checked = Program.Settings.AllowMultipleSoundPlayers;
        }
Exemple #2
0
        public ArtExplorerWindow()
        {
            InitializeComponent();
            explorer = new Explorer(this, UI_FilterField, UI_FilterOverlay, UI_FilterTimer, UI_FileCount_Label, UI_FileList, new string[] { "blp" }, "AEW_N_{0}", true);

            EventManager.CASCLoadStart += OnCASCLoadStart;
            EventManager.FileExtractComplete += OnFileExtractComplete;

            explorer.Initialize();
        }
Exemple #3
0
        public DBCViewer()
        {
            InitializeComponent();
            cancelCallback = CancelCallback;
            explorer = new Explorer(this, null, null, null, UI_FilesFound, UI_FileList, new string[] { "dbc" }, "DBC_SCAN_{0}", false);

            EventManager.CASCLoadStart += OnCASCLoadStart;
            EventManager.FileExtractComplete += OnFileExtractComplete;

            explorer.Initialize();
        }
Exemple #4
0
        public ModelViewer()
        {
            InitializeComponent();

            meshes = new List<Mesh>();

            explorer = new Explorer(this, UI_FilterField, UI_FilterOverlay, UI_FilterTime, UI_FileCount_Label, UI_FileList, new string[] { "m2", "mdx" }, "M2_V_{0}", true);
            explorer.rootFolders = new string[] { "character", "creature" };
            explorer.Initialize();

            cancelCallback = CancelLoad;
            EventManager.FileExtractComplete += EventManager_FileExtractComplete;
            EventManager.CASCLoadStart += EventManager_CASCLoadStart;
            EventManager.ModelViewerBackgroundChanged += EventManager_ModelViewerBackgroundChanged;
        }
Exemple #5
0
        public WMOViewer()
        {
            InitializeComponent();
            groupFiles = new Dictionary<string, List<CASCFile>>();

            meshes = new List<Mesh>();

            EventManager.CASCLoadStart += OnCASCLoadStart;
            EventManager.FileExtractComplete += OnFileExtractComplete;
            EventManager.ModelViewerBackgroundChanged += EventManager_ModelViewerBackgroundChanged;

            explorer = new Explorer(this, UI_FilterField, UI_FilterOverlay, UI_FilterTime, UI_FileCount_Label, UI_FileList, new string[] { "wmo" }, "WMO_V_{0}", true);
            explorer.IgnoreFilter = ignoreFilter;
            explorer.ExploreHitCallback = OnExploreHit;
            explorer.Initialize();

            cancelCallback = CancelExtraction;

            texManager = new TextureManager(openGLControl.OpenGL);
        }
Exemple #6
0
        public MapViewerWindow()
        {
            InitializeComponent();

            maps = new Dictionary<string, List<CASCFile>>();
            mapStartPoints = new Dictionary<string, Point>();
            overlay = new Overlay(256, 256);

            explorer = new Explorer(this, "^World\\Minimaps\\", null, UI_FilterTimer, null, null, new string[] { "blp" }, "MVT_N_{0}", true);
            explorer.ExploreHitCallback = OnExploreHit;
            explorer.ExploreDoneCallback = OnExploreDone;

            EventManager.MapExportDone += OnMapExportDone;
            EventManager.MapExportDone2D += OnMapExportDone2D;
            EventManager.CASCLoadStart += OnCASCLoadStart;
            EventManager.MinimapTileDone += OnMinimapTileDone;
            explorer.Initialize();

            exportCancelCallback = CancelExport;
            imageExportCancelCallback = Cancel2DExport;
        }