Ejemplo n.º 1
0
 public FrameResourceTool(FileInfo info)
 {
     InitializeComponent();
     Localise();
     SceneData.ScenePath = info.DirectoryName;
     fileLocation        = info;
     SceneData.BuildData();
     PopulateForm();
     ShowDialog();
 }
Ejemplo n.º 2
0
        private void HandleSDSMap(FileInfo info, bool forceBigEndian = false)
        {
            //make sure to load materials.
            MaterialData.Load();


            //we now build scene data from GameExplorer rather than d3d viewer.
            SceneData.ScenePath = info.DirectoryName;
            SceneData.BuildData(forceBigEndian);

            //d3d viewer expects data inside scenedata.
            D3DForm d3dForm = new D3DForm(info);

            d3dForm.Dispose();
        }