[PlutoStatic] Added the GLFW virtual module

This commit is contained in:
Tefek 2021-01-16 17:53:39 +01:00
parent 9fe85b3ca5
commit 6cb650a3e0
2 changed files with 18 additions and 0 deletions

View File

@ -9,6 +9,8 @@
* `[PlutoLib]` Made `OutputSplitStream` public as it is now reusable * `[PlutoLib]` Made `OutputSplitStream` public as it is now reusable
* `[PlutoLib]` Added the `@ConstantExpression` annotation * `[PlutoLib]` Added the `@ConstantExpression` annotation
* `[PlutoLib]` The `RAID#getIDOf` method now returns `OptionalInt` to avoid NPEs * `[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]` The transitive dependency JOML is now provided by `PlutoLib` instead of `PlutoStatic`
* `[PlutoLib]` Created a simple Color API * `[PlutoLib]` Created a simple Color API
* `[PlutoShader]` Added the 8-bit RGBA `Color` class as a counterpart to AWT's `Color` class * `[PlutoShader]` Added the 8-bit RGBA `Color` class as a counterpart to AWT's `Color` class

View File

@ -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;
}