Пример #1
0
 public static void Load()
 {
     MyTicker.AddTick("GeassLib.OnLevel", 50, 100);
     MyTicker.AddTick("GeassLib.TrinketBuy", 75, 125);
     MyTicker.AddTick("GeassLib.Items", 100, 150);
     Loaded = true;
 }
Пример #2
0
 public static void Load()
 {
     MyTicker.AddTick("GeassTristana.OrbwalkDelay", 50, 100);
     MyTicker.AddTick("GeassTristana.KSDelay", 100, 150);
     MyTicker.AddTick("GeassTristana.InterrupterDelay", 0, 50);
     MyTicker.AddTick("GeassTristana.GapCloseDelay", 25, 75);
     Loaded = true;
 }
Пример #3
0
        public override void CreateRenderer()
        {
            TickFunction WindowTick = new TickFunction
            {
                TickFunc     = UpdateInput,
                TickPriority = TickFunction.HighPriority,
                CanTick      = true,
            };

            IEngine.Instance.GameThreadTickManager.AddTick(WindowTick);

            RenderStartFunc.TickFunc = RenderStart;
            TickManager.AddTick(RenderStartFunc);

            PreRenderFunc.TickFunc = PreRender;
            TickManager.AddTick(PreRenderFunc);

            SortRendererFunc.TickFunc = SortRenderer;
            TickManager.AddTick(SortRendererFunc);

            DoRenderFunc.TickFunc = RenderAll;
            TickManager.AddTick(DoRenderFunc);

            RenderEndFunc.TickFunc = RenderEnd;
            TickManager.AddTick(RenderEndFunc);

            SDL.SDL_SetHint(SDL.SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "1");
            SDL.SDL_Init(SDL.SDL_INIT_EVERYTHING);
        }
Пример #4
0
        public override void CreateRenderer()
        {
            //SFML doesn't have a seperate renderer.

            RenderStartFunc.TickFunc = RenderStart;
            TickManager.AddTick(RenderStartFunc);

            SortRendererFunc.TickFunc = SortRenderer;
            TickManager.AddTick(SortRendererFunc);

            DoRenderFunc.TickFunc = RenderAll;
            TickManager.AddTick(DoRenderFunc);

            RenderEndFunc.TickFunc = RenderEnd;
            TickManager.AddTick(RenderEndFunc);
        }
Пример #5
0
        public override void CreateRenderer()
        {
            RenderStartFunc.TickFunc = RenderStart;
            TickManager.AddTick(RenderStartFunc);

            PreRenderFunc.TickFunc = PreRender;
            TickManager.AddTick(PreRenderFunc);

            SortRendererFunc.TickFunc = SortRenderer;
            TickManager.AddTick(SortRendererFunc);

            DoRenderFunc.TickFunc = RenderAll;
            TickManager.AddTick(DoRenderFunc);

            RenderEndFunc.TickFunc = RenderEnd;
            TickManager.AddTick(RenderEndFunc);

            Watertight.Input.InputProcessor.RegisterInputSource(VeldridInputSource);
        }
Пример #6
0
 public static void Load()
 {
     MyTicker.AddTick("GeassLib.OnLevel", 50, 100);
     Loaded = true;
 }