Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Commit

Permalink
Merge branch 'wolfram-font'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Oct 19, 2016
2 parents 7674eb8 + 7ad618d commit a01804b
Show file tree
Hide file tree
Showing 10 changed files with 1,038 additions and 130 deletions.
34 changes: 31 additions & 3 deletions patch/minecraft.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
From 563ff46aae302fa4587684205966ea6cc63c1efe Mon Sep 17 00:00:00 2001
From 23935209c22d93ce7788b68b795ce11bcb9f1ab2 Mon Sep 17 00:00:00 2001
From: Alexander01998 <[email protected]>
Date: Sun, 16 Oct 2016 17:15:15 +0200
Date: Wed, 19 Oct 2016 18:00:28 +0200
Subject: [PATCH] mod

---
Expand All @@ -12,6 +12,7 @@ Subject: [PATCH] mod
net/minecraft/block/BlockSoulSand.java | 6 +
net/minecraft/client/Minecraft.java | 223 +++++++++++----------
net/minecraft/client/entity/EntityPlayerSP.java | 146 ++++++++++++--
net/minecraft/client/gui/FontRenderer.java | 2 +-
net/minecraft/client/gui/GuiButton.java | 14 +-
net/minecraft/client/gui/GuiDisconnected.java | 87 ++++++++
net/minecraft/client/gui/GuiGameOver.java | 14 +-
Expand Down Expand Up @@ -45,6 +46,7 @@ Subject: [PATCH] mod
.../renderer/texture/TextureAtlasSprite.java | 2 +-
.../client/renderer/texture/TextureManager.java | 2 +-
.../client/renderer/texture/TextureMap.java | 6 +-
.../client/renderer/texture/TextureUtil.java | 2 +-
net/minecraft/client/resources/SkinManager.java | 7 +
net/minecraft/client/settings/KeyBinding.java | 2 +-
net/minecraft/crash/CrashReport.java | 74 ++++++-
Expand All @@ -71,7 +73,7 @@ Subject: [PATCH] mod
net/minecraft/world/chunk/Chunk.java | 2 +-
.../world/gen/structure/MapGenStructure.java | 6 +-
net/minecraft/world/storage/WorldInfo.java | 18 +-
67 files changed, 1263 insertions(+), 431 deletions(-)
69 files changed, 1265 insertions(+), 433 deletions(-)

diff --git a/net/minecraft/block/Block.java b/net/minecraft/block/Block.java
index 25c6330..da46b84 100644
Expand Down Expand Up @@ -995,6 +997,19 @@ index 38f8c49..5864eae 100644
{
if (this.field_189812_cs <= 0 && this.onGround && !this.isSneaking() && !this.isRiding())
{
diff --git a/net/minecraft/client/gui/FontRenderer.java b/net/minecraft/client/gui/FontRenderer.java
index 6439aa9..aae2a1c 100644
--- a/net/minecraft/client/gui/FontRenderer.java
+++ b/net/minecraft/client/gui/FontRenderer.java
@@ -848,7 +848,7 @@ public class FontRenderer implements IResourceManagerReloadListener
/**
* Inserts newline and formatting into a string to wrap it within the specified width.
*/
- String wrapFormattedStringToWidth(String str, int wrapWidth)
+ protected String wrapFormattedStringToWidth(String str, int wrapWidth)
{
int i = this.sizeStringToWidth(str, wrapWidth);

diff --git a/net/minecraft/client/gui/GuiButton.java b/net/minecraft/client/gui/GuiButton.java
index 93eccc5..9ee0d1c 100644
--- a/net/minecraft/client/gui/GuiButton.java
Expand Down Expand Up @@ -3010,6 +3025,19 @@ index 9d91fa2..1a44f27 100644
{
public String call() throws Exception
{
diff --git a/net/minecraft/client/renderer/texture/TextureUtil.java b/net/minecraft/client/renderer/texture/TextureUtil.java
index b0a0490..c5c3031 100644
--- a/net/minecraft/client/renderer/texture/TextureUtil.java
+++ b/net/minecraft/client/renderer/texture/TextureUtil.java
@@ -295,7 +295,7 @@ public class TextureUtil
DATA_BUFFER.position(0).limit(p_110994_2_);
}

- static void bindTexture(int p_94277_0_)
+ public static void bindTexture(int p_94277_0_)
{
GlStateManager.bindTexture(p_94277_0_);
}
diff --git a/net/minecraft/client/resources/SkinManager.java b/net/minecraft/client/resources/SkinManager.java
index 6aee323..73e0c0d 100644
--- a/net/minecraft/client/resources/SkinManager.java
Expand Down
9 changes: 4 additions & 5 deletions src/org/darkstorm/minecraft/gui/theme/simple/SimpleTheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@

import java.awt.Font;

import net.minecraft.client.gui.FontRenderer;

import org.darkstorm.minecraft.gui.theme.AbstractTheme;

import tk.wurst_client.font.UnicodeFontRenderer;
import net.minecraft.client.gui.FontRenderer;
import tk.wurst_client.font.WurstFontRenderer;

public class SimpleTheme extends AbstractTheme
{
private final FontRenderer fontRenderer;

public SimpleTheme()
{
fontRenderer =
new UnicodeFontRenderer(new Font("Trebuchet MS", Font.PLAIN, 15));
fontRenderer = new WurstFontRenderer(
new Font("Trebuchet MS", Font.PLAIN, 15), true, 8);

installUI(new SimpleFrameUI(this));
installUI(new SimplePanelUI(this));
Expand Down
15 changes: 9 additions & 6 deletions src/tk/wurst_client/font/Fonts.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@

public class Fonts
{
public static UnicodeFontRenderer segoe22;
public static UnicodeFontRenderer segoe18;
public static UnicodeFontRenderer segoe15;
public static WurstFontRenderer segoe22;
public static WurstFontRenderer segoe18;
public static WurstFontRenderer segoe15;

public static void loadFonts()
{
segoe22 = new UnicodeFontRenderer(new Font("Segoe UI", Font.PLAIN, 44));
segoe18 = new UnicodeFontRenderer(new Font("Segoe UI", Font.PLAIN, 36));
segoe15 = new UnicodeFontRenderer(new Font("Segoe UI", Font.PLAIN, 30));
segoe22 = new WurstFontRenderer(new Font("Segoe UI", Font.PLAIN, 44),
true, 8);
segoe18 = new WurstFontRenderer(new Font("Segoe UI", Font.PLAIN, 36),
true, 8);
segoe15 = new WurstFontRenderer(new Font("Segoe UI", Font.PLAIN, 30),
true, 8);
}
}
103 changes: 0 additions & 103 deletions src/tk/wurst_client/font/UnicodeFontRenderer.java

This file was deleted.

Loading

0 comments on commit a01804b

Please sign in to comment.