summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-10-26 11:42:55 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2014-10-26 11:42:55 +0000
commita0fceb6f37f283f34ad0290f84878f819f3feb89 (patch)
treebcfd91fda2a539ae37c5747dfb38a1bdfc713cca
parentc8d74887ca522c396c0f0f7b34e42b10ce56fa8c (diff)
downloadnoctis-a0fceb6f37f283f34ad0290f84878f819f3feb89.tar.bz2
retexture the journal
-rw-r--r--src/main/java/net/flarn/noctis/journal/gui/JournalGui.java3
-rw-r--r--src/main/java/net/flarn/noctis/refs/Textures.java2
-rw-r--r--src/main/resources/assets/noctis/textures/gui/journal.pngbin0 -> 10367 bytes
3 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/net/flarn/noctis/journal/gui/JournalGui.java b/src/main/java/net/flarn/noctis/journal/gui/JournalGui.java
index 9ea0f18..f17c83d 100644
--- a/src/main/java/net/flarn/noctis/journal/gui/JournalGui.java
+++ b/src/main/java/net/flarn/noctis/journal/gui/JournalGui.java
@@ -5,6 +5,7 @@ import net.flarn.noctis.journal.JournalContentModel;
import net.flarn.noctis.journal.JournalDayEntry;
import net.flarn.noctis.journal.JournalEntry;
import net.flarn.noctis.knowledge.KnowledgeVisibility;
+import net.flarn.noctis.refs.Textures;
import net.flarn.noctis.utils.TimeHelper;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
@@ -23,7 +24,7 @@ public class JournalGui extends GuiScreen {
private long updateCount;
/* We're borrowing a non-trivial amount of stuff from Minecraft's book implementation for now */
- private static final ResourceLocation bookGuiTextures = new ResourceLocation("textures/gui/book.png");
+ private static final ResourceLocation bookGuiTextures = new ResourceLocation(Textures.JOURNAL_GUI);
private final int bookImageWidth = 192;
private final int bookImageHeight = 192;
diff --git a/src/main/java/net/flarn/noctis/refs/Textures.java b/src/main/java/net/flarn/noctis/refs/Textures.java
index 1eeb747..6919bf4 100644
--- a/src/main/java/net/flarn/noctis/refs/Textures.java
+++ b/src/main/java/net/flarn/noctis/refs/Textures.java
@@ -2,4 +2,6 @@ package net.flarn.noctis.refs;
public class Textures {
public static final String RESOURCE_PREFIX = Refs.MOD_ID.toLowerCase() + ":";
+ public static final String TEXTURE_PREFIX = RESOURCE_PREFIX + "textures/";
+ public static final String JOURNAL_GUI = TEXTURE_PREFIX + "gui/journal.png";
}
diff --git a/src/main/resources/assets/noctis/textures/gui/journal.png b/src/main/resources/assets/noctis/textures/gui/journal.png
new file mode 100644
index 0000000..dfd93d0
--- /dev/null
+++ b/src/main/resources/assets/noctis/textures/gui/journal.png
Binary files differ