About to add 400 events
This commit is contained in:
@@ -24,7 +24,7 @@ public static class Awperative
|
|||||||
|
|
||||||
|
|
||||||
/// <summary> Bottom class of Awperative. Contains the OpenTK Instance. </summary>
|
/// <summary> Bottom class of Awperative. Contains the OpenTK Instance. </summary>
|
||||||
[DebugAttributes.NotNull, MarkerAttributes.UnsafeInternal] private static Base Base;
|
[DebugAttributes.NotNull, MarkerAttributes.UnsafeInternal] public static Base Base;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -93,9 +93,11 @@ public static class Awperative
|
|||||||
|
|
||||||
|
|
||||||
/// <summary> Gets Awperative ready to begin! Compiles Component functions etc. Please call before doing anything Awperative related! </summary>
|
/// <summary> Gets Awperative ready to begin! Compiles Component functions etc. Please call before doing anything Awperative related! </summary>
|
||||||
public static void Start(string moduleManagerPath) {
|
public static void Start() {
|
||||||
if (IsStarted) return;
|
if (IsStarted) return;
|
||||||
IsStarted = true;
|
IsStarted = true;
|
||||||
|
|
||||||
|
Base = new Base();
|
||||||
|
|
||||||
ReflectionManager.ResolveModules(AppDomain.CurrentDomain.GetAssemblies());
|
ReflectionManager.ResolveModules(AppDomain.CurrentDomain.GetAssemblies());
|
||||||
|
|
||||||
@@ -114,7 +116,6 @@ public static class Awperative
|
|||||||
public static void Run() {
|
public static void Run() {
|
||||||
if(!IsStarted && IsRunning) return;
|
if(!IsStarted && IsRunning) return;
|
||||||
IsRunning = true;
|
IsRunning = true;
|
||||||
Base = new Base();
|
|
||||||
Base.Run();
|
Base.Run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
using System.ComponentModel;
|
using System;
|
||||||
|
using System.Collections.Immutable;
|
||||||
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
using OpenTK.Graphics.OpenGL.Compatibility;
|
||||||
using OpenTK.Windowing.Common;
|
using OpenTK.Windowing.Common;
|
||||||
using OpenTK.Windowing.Desktop;
|
using OpenTK.Windowing.Desktop;
|
||||||
|
|
||||||
@@ -49,4 +52,11 @@ public sealed class Base() : GameWindow(GameWindowSettings.Default, new NativeWi
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks> Hooks are unable to receive both Update() and Draw()</remarks>
|
/// <remarks> Hooks are unable to receive both Update() and Draw()</remarks>
|
||||||
protected override void OnRenderFrame(FrameEventArgs __args) { foreach(Scene scene in Awperative._scenes) scene.ChainEvent(3); base.OnRenderFrame(__args); }
|
protected override void OnRenderFrame(FrameEventArgs __args) { foreach(Scene scene in Awperative._scenes) scene.ChainEvent(3); base.OnRenderFrame(__args); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
protected override void OnResize(ResizeEventArgs e) {
|
||||||
|
GL.Viewport(0, 0, e.Width, e.Height);
|
||||||
|
base.OnResize(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -13,7 +13,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("AwperativeKernel")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("AwperativeKernel")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+21747aa062b0a2602d7565f0b233fde393cc54c2")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c215cab014ff2debe4e45bf05947022f1fef3a3a")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("AwperativeKernel")]
|
[assembly: System.Reflection.AssemblyProductAttribute("AwperativeKernel")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("AwperativeKernel")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("AwperativeKernel")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
724a17504a0397b13f88a93dc5710a4c7a348910bcabad50e67ffb6927f0fa03
|
b7d1b14e9a1ac81938a6d0c218c9dab887f6f7a09fb1ffc6cc863c2d552ebcf4
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
17724794171898753
|
17725709888021566
|
||||||
@@ -1 +1 @@
|
|||||||
17724794196898973
|
17725709890112277
|
||||||
Reference in New Issue
Block a user