diff --git a/UPDATE_NOTES.md b/UPDATE_NOTES.md index 0c0e43c..3fa46c1 100644 --- a/UPDATE_NOTES.md +++ b/UPDATE_NOTES.md @@ -9,6 +9,8 @@ * `[PlutoLib]` Made `OutputSplitStream` public as it is now reusable * `[PlutoLib]` Added the `@ConstantExpression` annotation * `[PlutoLib]` The `RAID#getIDOf` method now returns `OptionalInt` to avoid NPEs +* `[PlutoLib]` Added an `equals` implementation to `ResourceAddress` +* `[PlutoStatic]` Added the `ModGLFW` virtual module * `[PlutoLib]` The transitive dependency JOML is now provided by `PlutoLib` instead of `PlutoStatic` * `[PlutoLib]` Created a simple Color API * `[PlutoShader]` Added the 8-bit RGBA `Color` class as a counterpart to AWT's `Color` class diff --git a/plutostatic/src/main/java/cz/tefek/pluto/engine/ModGLFW.java b/plutostatic/src/main/java/cz/tefek/pluto/engine/ModGLFW.java new file mode 100644 index 0000000..3c7b554 --- /dev/null +++ b/plutostatic/src/main/java/cz/tefek/pluto/engine/ModGLFW.java @@ -0,0 +1,16 @@ +package cz.tefek.pluto.engine; + +import org.lwjgl.glfw.GLFW; + +import cz.tefek.pluto.modloader.ModEntry; + +@ModEntry(modid = "modglfw", + version = ModGLFW.VERSION, + author = "The GLFW team", + displayName = "GLFW", + description = "The GLFW library, used for native window creation.", + dependencies = ModLWJGL.class) +public class ModGLFW +{ + public static final String VERSION = GLFW.GLFW_VERSION_MAJOR + "." + GLFW.GLFW_VERSION_MINOR + "." + GLFW.GLFW_VERSION_REVISION; +}