Пример #1
0
        public Status(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.ControllerStatus;

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Пример #2
0
        public Calculator(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.ControllerCalc;

            ox.OnEvent += new OxEventHandler(ox_OnEvent);
        }
Пример #3
0
        public Terrain(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderTerrain;

            dir = Path.Combine(Path.Combine(Ox.Paths.Application, "media"), "terrain");
        }
Пример #4
0
Файл: Sea.cs Проект: yooyke/work
        public Sea(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderSea;

            dir = Path.Combine(Path.Combine(Ox.Paths.Application, "media"), "sea");
        }
Пример #5
0
        public TitlePhotoAlbum(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.Render + 1;

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Пример #6
0
        public Fade(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderFade;

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Пример #7
0
        public TilePicker(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderPick;
            Ox.OnEvent += new OxEventHandler(Ox_OnEvent);

            dir = Path.Combine(Path.Combine(Ox.Paths.Application, "media"), "picker");
        }
Пример #8
0
        public Prim(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderPrim;

            ox.OnEvent += new OxEventHandler(ox_OnEvent);
            dir = Path.Combine(Path.Combine(Ox.Paths.Application, "media"), "test");
        }
Пример #9
0
        public Avatar(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderAvatar;

            Ox.OnEvent += new OxEventHandler(ox_OnEvent);
            dir = Path.Combine(Path.Combine(Ox.Paths.Application, "media"), "model_default");
        }
Пример #10
0
        public Render(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.Render -1;

            new Collision(Ox);
            plugins = new PluginManager<IOxRenderComponentPlugin>(Ox.Paths.Application);
            plugins.Load(new object[] { Ox, this });

            Ox.OnEvent += new OxEventHandler(Ox_OnEvent);
        }
Пример #11
0
        public Controller(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.Controller;

            Ox.OnEvent += new OxEventHandler(Ox_OnEvent);
            Ox.OnFunction += new OxEventHandler(Ox_OnFunction);

            protocol = new Protocol(Ox);
            status = new Status(Ox);
            progress = new Progress(Ox);
        }
Пример #12
0
        public Protocol(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.ControllerProtocol;

            Ox.OnEvent += new OxEventHandler(Ox_OnEvent);

            threadAssetFactory = new Thread(AssetFactory);
            threadAssetFactory.Start();

            threadMeshFactory = new Thread(MeshFactory);
            threadMeshFactory.Start();
        }
Пример #13
0
        public ProgressBar(Ox ox)
            : base(ox)
        {
            Control c = Form.FromHandle(Ox.Handle);
            progress = new System.Windows.Forms.ProgressBar();
            progress.Step = 1;
            progress.Maximum = StatusData.PROGRESS_MAX;
            progress.MarqueeAnimationSpeed = 10;
            progress.Size = new Size((int)c.Size.Width, 12);
            progress.Location = new Point((c.Size.Width / 2) - (progress.Size.Width / 2), c.Size.Height - progress.Size.Height);
            progress.Style = ProgressBarStyle.Continuous;
            progress.Visible = false;

            c.Controls.Add(progress);

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Пример #14
0
 public OxRenderComponentPlugin(Ox ox, Render render)
     : base(ox)
 {
     this.render = render;
 }
Пример #15
0
 public OxComponent(Ox ox)
 {
     this.ox = ox;
     Ox.Component.Add(this);
 }
Пример #16
0
 public OxRenderTilePickerPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginTilePicker), this);
 }
Пример #17
0
 public OxRenderAvatarPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginAvatar), this);
 }
Пример #18
0
 public OxRenderPrimPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginPrim), this);
 }
Пример #19
0
 public OxRenderTerrainPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginTerrain), this);
 }
Пример #20
0
 public FileIOManager(Ox ox)
     : base(ox)
 {
     Priority = (int)PriorityBase.IO;
 }
Пример #21
0
 public OxRenderObjectPlugin(Ox ox, Render render)
     : base(ox, render)
 {
 }
Пример #22
0
Файл: Fps.cs Проект: yooyke/work
 public Fps(Ox ox, Render render)
     : base(ox, render)
 {
 }
Пример #23
0
 public Camera(Ox ox, Render render)
     : base(ox, render)
 {
     Priority = (int)PriorityBase.RenderCamera;
 }
Пример #24
0
 public SettingWindow(Ox ox)
     : base(ox)
 {
 }
Пример #25
0
 public OxMenu(Ox ox)
     : base(ox)
 {
 }
Пример #26
0
 public Lighting(Ox ox, Render render)
     : base(ox, render)
 {
 }
Пример #27
0
 public Information(Ox ox, Render view)
     : base(ox, view)
 {
 }
Пример #28
0
 public Progress(Ox ox)
     : base(ox)
 {
     Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
 }
Пример #29
0
 public AboutWindow(Ox ox)
     : base(ox)
 {
 }
Пример #30
0
 public OxViewerPlugin(Ox ox)
     : base(ox)
 {
 }