Esempio n. 1
0
 protected override void OnStartup(System.Windows.StartupEventArgs e)
 {
     SpectreEngine.xrCoreInit();
     SpectreEngine.xrEngineInit();
     SpectreEngine.xrRenderInit();
     base.OnStartup(e);
 }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();

            // Init Spectre System and UI Parser
            SpectreEngine.xrCoreInit("Post Process Editor");
            UIParser = new XRay.xrManagedUILib.UIXMLParser();

            XRay.Log.Info("LayOut Editor inited!");
        }
Esempio n. 3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SpectreEngine.xrCoreInit("Post Process Editor");
            using (var engine = new EditorEngine())
            {
                var mainDialog = new MainDialog();
                mainDialog.Initialize(engine);
                Application.Run(mainDialog);
            }
            //Core.Destroy();
        }
Esempio n. 4
0
        protected override void OnStartup(System.Windows.StartupEventArgs e)
        {
            base.OnStartup(e);

            SpectreEngine.xrCoreInit("Layout Editor", "fsgame.ltx");
        }