Exemplo n.º 1
0
 protected override void OnStartup(System.Windows.StartupEventArgs e)
 {
     SpectreEngine.xrCoreInit();
     SpectreEngine.xrEngineInit();
     SpectreEngine.xrRenderInit();
     base.OnStartup(e);
 }
Exemplo 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!");
        }
Exemplo 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();
        }
Exemplo n.º 4
0
        protected override void OnStartup(System.Windows.StartupEventArgs e)
        {
            base.OnStartup(e);

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