Minor fixes
This commit is contained in:
parent
3082e88be9
commit
0a3026e3d9
|
@ -1,3 +1,6 @@
|
|||
## 22.2.0.0-alpha.2
|
||||
* `[PlutoSpritesheet]` Renamed `TemporalSprite#getSideCount` to `getFrameCount`
|
||||
|
||||
## 22.2.0.0-alpha.1
|
||||
* `[PlutoGUI]` **Added support for bitmap fonts**
|
||||
* `[PlutoGUI]` Generalized the font renderer API
|
||||
|
|
|
@ -225,7 +225,6 @@ public class AudioLoader
|
|||
|
||||
this.channels = info.channels();
|
||||
this.sampleRate = info.sample_rate();
|
||||
|
||||
}
|
||||
|
||||
this.samplesLength = STBVorbis.stb_vorbis_stream_length_in_samples(this.handle);
|
||||
|
|
|
@ -94,7 +94,7 @@ public final class ModLoader extends PlutoLocalComponent
|
|||
|
||||
if (modInterface == null)
|
||||
{
|
||||
Logger.logf(SmartSeverity.MODULE_WARNING, "Cannot create a mod from the class '%s', it is not annotated with @%s%n".formatted(modClass.getCanonicalName(), ModEntry.class.getName()));
|
||||
Logger.logf(SmartSeverity.MODULE_WARNING, "Cannot create a mod from the class '%s', it is not annotated with @%s%n", modClass.getCanonicalName(), ModEntry.class.getName());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ public class TemporalSprite implements Sprite<RectangleTexture>
|
|||
this.recomputeFromIndex(index);
|
||||
}
|
||||
|
||||
public int getSideCount()
|
||||
public int getFrameCount()
|
||||
{
|
||||
return this.frames.length;
|
||||
}
|
||||
|
|
|
@ -2,17 +2,16 @@ package org.plutoengine.graphics.texture;
|
|||
|
||||
import org.lwjgl.opengl.GL33;
|
||||
import org.lwjgl.system.MemoryUtil;
|
||||
import org.plutoengine.logger.Logger;
|
||||
import org.plutoengine.logger.SmartSeverity;
|
||||
import org.plutoengine.tpl.ImageABGR;
|
||||
import org.plutoengine.tpl.ImageLoader;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.plutoengine.logger.Logger;
|
||||
import org.plutoengine.logger.SmartSeverity;
|
||||
import org.plutoengine.tpl.ImageABGR;
|
||||
import org.plutoengine.tpl.ImageLoader;
|
||||
|
||||
public abstract class Texture implements AutoCloseable
|
||||
{
|
||||
protected int glID;
|
||||
|
|
|
@ -233,7 +233,7 @@ glyphs:
|
|||
cp: 8734 # ∞ - infinity
|
||||
sprite:
|
||||
x: 112
|
||||
y: 0
|
||||
y: 8
|
||||
w: 8
|
||||
h: 8
|
||||
leftBearing: 0
|
||||
|
|
Loading…
Reference in New Issue