public static void Load() { MyTicker.AddTick("GeassLib.OnLevel", 50, 100); MyTicker.AddTick("GeassLib.TrinketBuy", 75, 125); MyTicker.AddTick("GeassLib.Items", 100, 150); Loaded = true; }
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; }
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); }
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); }
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); }
public static void Load() { MyTicker.AddTick("GeassLib.OnLevel", 50, 100); Loaded = true; }