Esempio n. 1
0
        public Status(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.ControllerStatus;

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Esempio n. 2
0
        public Calculator(Ox ox)
            : base(ox)
        {
            Priority = (int)PriorityBase.ControllerCalc;

            ox.OnEvent += new OxEventHandler(ox_OnEvent);
        }
Esempio n. 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");
        }
Esempio n. 4
0
File: Sea.cs Progetto: 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");
        }
Esempio n. 5
0
        public TitlePhotoAlbum(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.Render + 1;

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Esempio n. 6
0
File: Fade.cs Progetto: yooyke/work
        public Fade(Ox ox, Render render)
            : base(ox, render)
        {
            Priority = (int)PriorityBase.RenderFade;

            Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
        }
Esempio n. 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");
        }
Esempio n. 8
0
File: Prim.cs Progetto: yooyke/work
        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");
        }
Esempio n. 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");
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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();
        }
Esempio n. 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);
        }
Esempio n. 14
0
 public OxRenderComponentPlugin(Ox ox, Render render)
     : base(ox)
 {
     this.render = render;
 }
Esempio n. 15
0
 public OxComponent(Ox ox)
 {
     this.ox = ox;
     Ox.Component.Add(this);
 }
Esempio n. 16
0
 public OxRenderTilePickerPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginTilePicker), this);
 }
Esempio n. 17
0
 public OxRenderAvatarPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginAvatar), this);
 }
Esempio n. 18
0
 public OxRenderPrimPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginPrim), this);
 }
Esempio n. 19
0
 public OxRenderTerrainPlugin(Ox ox, Render render)
     : base(ox, render)
 {
     Ox.Service.Add(typeof(IOxRenderPluginTerrain), this);
 }
Esempio n. 20
0
 public FileIOManager(Ox ox)
     : base(ox)
 {
     Priority = (int)PriorityBase.IO;
 }
Esempio n. 21
0
 public OxRenderObjectPlugin(Ox ox, Render render)
     : base(ox, render)
 {
 }
Esempio n. 22
0
File: Fps.cs Progetto: yooyke/work
 public Fps(Ox ox, Render render)
     : base(ox, render)
 {
 }
Esempio n. 23
0
 public Camera(Ox ox, Render render)
     : base(ox, render)
 {
     Priority = (int)PriorityBase.RenderCamera;
 }
Esempio n. 24
0
 public SettingWindow(Ox ox)
     : base(ox)
 {
 }
Esempio n. 25
0
 public OxMenu(Ox ox)
     : base(ox)
 {
 }
Esempio n. 26
0
 public Lighting(Ox ox, Render render)
     : base(ox, render)
 {
 }
Esempio n. 27
0
 public Information(Ox ox, Render view)
     : base(ox, view)
 {
 }
Esempio n. 28
0
 public Progress(Ox ox)
     : base(ox)
 {
     Ox.OnEvent += new OxLoader.OxEventHandler(Ox_OnEvent);
 }
Esempio n. 29
0
 public AboutWindow(Ox ox)
     : base(ox)
 {
 }
Esempio n. 30
0
 public OxViewerPlugin(Ox ox)
     : base(ox)
 {
 }